
Problem/Motivation
After install this module in Drupal 9.2 version, I'm receive the following errors in front page:
Notice: Trying to access array offset on value of type null in business_preprocess_page() (line 47 of themes/contrib/business/business.theme).
Warning: array_flip(): Can only flip STRING and INTEGER values! in Drupal\Core\Entity\EntityStorageBase->loadMultiple() (line 261 of core/lib/Drupal/Core/Entity/EntityStorageBase.php).
Notice: Trying to access array offset on value of type null in business_preprocess_page() (line 47 of themes/contrib/business/business.theme).
Warning: array_flip(): Can only flip STRING and INTEGER values! in Drupal\Core\Entity\EntityStorageBase->loadMultiple() (line 261 of core/lib/Drupal/Core/Entity/EntityStorageBase.php).
Notice: Trying to access array offset on value of type null in business_preprocess_page() (line 47 of themes/contrib/business/business.theme).
Warning: array_flip(): Can only flip STRING and INTEGER values! in Drupal\Core\Entity\EntityStorageBase->loadMultiple() (line 261 of core/lib/Drupal/Core/Entity/EntityStorageBase.php).
Notice: Trying to access array offset on value of type null in business_preprocess_page() (line 47 of themes/contrib/business/business.theme).
Warning: array_flip(): Can only flip STRING and INTEGER values! in Drupal\Core\Entity\EntityStorageBase->loadMultiple() (line 261 of core/lib/Drupal/Core/Entity/EntityStorageBase.php).
Notice: Trying to access array offset on value of type null in business_preprocess_page() (line 47 of themes/contrib/business/business.theme).
Warning: array_flip(): Can only flip STRING and INTEGER values! in Drupal\Core\Entity\EntityStorageBase->loadMultiple() (line 261 of core/lib/Drupal/Core/Entity/EntityStorageBase.php).
Steps to reproduce
Install and enable the theme in Drupal 9.2.0 version.
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#3 | 3224536-3.patch | 562 bytes | larisse |
Comments
Comment #2
larisse CreditAttribution: larisse at CI&T commentedComment #3
larisse CreditAttribution: larisse at CI&T commentedI created a patch to solve this issue.
Comment #5
gauravvvv CreditAttribution: gauravvvv at OpenSense Labs commentedThank you for working on this issue. Committed e8c3fae on 8.x-1.x
Comment #6
gauravvvv CreditAttribution: gauravvvv at OpenSense Labs commentedComment #7
larisse CreditAttribution: larisse at CI&T commentedThank you Gauravmahlawat.