Closed operatorone closed 5 years ago
Yeah, that looks like a incompatibility with PHP 7.1+ in combination with another extension setting a backend stylesheet as a simple string (which is wrong) instead of adding another array item.
I never got this error in contao 4.4, 4.5 on PHP 7.0, 7.1 and 7.2..
You should look on the other extensions you installed and search for the one setting the $GLOBALS['BE_MOD']['content']['article']['stylesheet']
as string.
Got an error on cache warmup on a Contao 4.4.24.
SOLUTION: Change line 23 $GLOBALS['BE_MOD']['content']['article']['stylesheet'][]= 'bundles/agoatdeferredimages/style.css'; and 29 $GLOBALS['BE_MOD']['content']['news']['stylesheet'][] = 'bundles/agoatdeferredimages/style.css';
to 23 $GLOBALS['BE_MOD']['content']['article']['stylesheet'] = 'bundles/agoatdeferredimages/style.css'; and 29 $GLOBALS['BE_MOD']['content']['news']['stylesheet'] = 'bundles/agoatdeferredimages/style.css';