Problem/Motivation
On Drupal 10.2.2 after clearing cache these messages appeared.
WARNING: TRYING TO ACCESS ARRAY OFFSET ON VALUE OF TYPE NULL IN DRUPAL\COMPONENTS\TEMPLATE\COMPONENTSREGISTRY->FINDNAMESPACES() (LINE 326 OF MODULES/CONTRIB/COMPONENTS/SRC/TEMPLATE/COMPONENTSREGISTRY.PHP).
WARNING: FOREACH() ARGUMENT MUST BE OF TYPE ARRAY|OBJECT, NULL GIVEN IN DRUPAL\COMPONENTS\TEMPLATE\COMPONENTSREGISTRY->FINDNAMESPACES() (LINE 326 OF MODULES/CONTRIB/COMPONENTS/SRC/TEMPLATE/COMPONENTSREGISTRY.PHP).
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | adminimal_theme-3418463-2.patch | 866 bytes | saurabhkanva |
| Screenshot 2024-01-31 at 11.40.20 AM.png | 303.63 KB | cesarcasg | |
| Screenshot 2024-01-31 at 11.40.12 AM.png | 281.38 KB | cesarcasg | |
| Screenshot 2024-01-31 at 11.40.02 AM.png | 308.9 KB | cesarcasg | |
| Screenshot 2024-01-31 at 11.39.45 AM.png | 173.18 KB | cesarcasg |
Issue fork adminimal_theme-3418463
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
saurabhkanva commentedThis patch will resolve the issue but it is to be noted that the issue is with module https://www.drupal.org/project/components