Description of the need
Since 1.27.0 added the 'wrapper_attributes' parameter in the $variable array in core/includes/theme.inc > function theme_item_list($variables). We should check the existence of this parameter if we want backward compatibility for the contrib modules.
Proposed solution
Now:
function theme_item_list($variables) {
...
$wrapper_attributes = $variables['wrapper_attributes'];
Fixed:
$wrapper_attributes = isset($variables['wrapper_attributes']) ? $variables['wrapper_attributes'] : array();
Additional information
Similar situation with the 'empty' parameter since 1.21.0.
$empty= isset($variables['empty']) ? $variables['empty'] : '';
GitHub Issue #:
6398
Recent comments
@themetman Good to hear your solution. May be helpful for others in the future.
Write Permission Problems on files, ../private and /tmp on my Laptop
It was the ProtectHome setting in the apache service which was the problem. I did this: systemctl edit apache2.service Then added this: [Service] ProtectHome=no...
Write Permission Problems on files, ../private and /tmp on my Laptop
I don't have leaflet, but I have experienced random disappearances of the bar over the years. I quit spending time on it, but not before adjusting the css spacing, which did reduce the number of...
Disappearing administration bar. Is this a Leaflet or a Backdrop bug?