Adam Jansch Newcomer
@adamjansch · Joined 7 years ago · 2 posts · 1 topics · 1 reputation
Badges
✏️ First Post
💬 Conversation Starter
Recent posts
-
PHP exception "Unsupported operand types" on addCss() call with media queries
· 7 years ago
Worked this out. I had to move the priority value into the options array, using the priority key: {% do assets.addCss('theme://css/customizer-min-width-480.css', {'media':'only screen and (min-width:
-
PHP exception "Unsupported operand types" on addCss() call with media queries
· 7 years ago
I've just updated a Grav install from 1.5.10 to 1.6.3 (on PHP 7.2.14) and I'm getting a PHP exception "Unsupported operand types". The stack trace doesn't highlight where in my code the problem lies,