Problem/Motivation
When opening http://klipal/admin/structure/block-content/manage/basic/fields/block_co...
[Sat Jan 27 20:47:09.220440 2024] [php:notice] [pid 568] [client 192.168.1.57:48314] Uncaught PHP Exception TypeError: "array_unshift(): Argument #1 ($array) must be of type array, null given" at /home/oturpin/equiresa/web/modules/contrib/ui_patterns_settings/ui_patterns_settings.module line 91, referer: http://klipal/admin/structure/block-content/manage/basic/fields
Steps to reproduce
After activating
Machine name: ui_patterns_settings
Version : 8.x-2.2-alpha1
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork ui_patterns_settings-3417535
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
oturpin commentedComment #3
pdureau commentedComment #4
pdureau commentedComment #7
julien tekrane commentedComment #8
julien tekrane commentedComment #9
duaelfrLooks like this is a duplicate of #3409221: Fix TypeError: array_unshift(): Argument #1 ($array) must be of type array, null given in array_unshift() Caused by Deprecated Hooks in Drupal ~10.2.0 which seem more advanced.