Closed (fixed)
Project:
Solo
Version:
1.0.36
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
13 Oct 2026 at 21:23 UTC
Updated:
28 Oct 2026 at 00:25 UTC
Jump to comment: Most recent
The issue initially reported in #3609300 is still present in 1.0.36:
Uncaught PHP Exception TypeError: "str_contains(): Argument #1 ($haystack) must be of type string, array given" at .../drupal11/web/themes/solo/src/Hook/SoloThemePreprocessHooks.php line 1040
Attached is a proposed fix.
| Comment | File | Size | Author |
|---|---|---|---|
| solo_filebrowser_compat.patch | 544 bytes | lpsolit |
Comments
Comment #4
flashwebcenterHello,
Thank you for the report and the patch. You were right: this is a regression of #3609300. The fix from 1.0.35 was
lost when the theme code moved into hook classes for Drupal 12.
It is fixed in 1.0.x-dev now, with a test so it cannot come back. The fix also handles an empty or keyed array,
which the [0] patch would not. It will be in the next release, 1.0.38.
Best wishes,
Alaa