The uswds_register_theme_hooks() hook implementation makes an assumption that the theme registry entries contain process functions or preprocess functions array elements defined. However, these elements are present only if corresponding callbacks have been defined for a given hook. As such, uswds_register_theme_hooks() runs into a NULL pointer exception when executing the code on line 125:
!in_array($callback, $entry["$type functions"].
I am experiencing this on Drupal 11.2, so maybe there are changes in Drupal API related to this.
Issue fork uswds-3538447
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 #3
euk commentedComment #5
jrglasgow commentedI just ran into this same problem. I have a commit made and pushed, will release a new version of the theme later today
Comment #6
jrglasgow commented