Fatal error caused by includes/Elements/Style.php
-
includes/Elements/Style.php line 249 causes the site to crash.
commenting out this line, fixes the site.
I did var_dump($value) and it outputs an array. It seems the file is trying to add 1 to an array. As soon as I remove the + 1, the site does not crash.
line 249
$compiled_css .= sprintf( '-webkit-box-ordinal-group: %s; -ms-flex-order: %s; order: %s;', $value + 1, $value, $value );
line 253
$compiled_css .= sprintf( '-webkit-box-ordinal-group: %s; -ms-flex-order: %s; order: %s;', $value + 1, $value, $value );
I replaced
$value + 1
with$value[1]
and that prevents the site from crashing. I’m not sure what the intended purpose of the +1 is.
- The topic ‘Fatal error caused by includes/Elements/Style.php’ is closed to new replies.