Ever since I updated to the latest version of Enfold, it has been giving me problems.
when I try to go to my site, I am getting the message below
Fatal error: Can’t use function return value in write context in D:\Hosting\11821231\html\wp-content\themes\enfold\css\dynamic-css.php on line 1020
in the dynamic-css.php at line 100 is the following line of code:
if( ! empty( avia_get_option( ‘quick_css’ ) ) )
b/c of all this, I can’t even get to my wordpress admin page.
I just want my website live again.
Hey Kevinhvan,
Thank you for using Enfold.
This is caused by an outdated php version (< 5.6).
Please replace in css\dynamic-css.php on line 1020:
if( ! empty( avia_get_option( ‘quick_css’ ) ) )
with
$quick_css = avia_get_option( 'quick_css' );
if( ! empty( $quick_css ) )
I added that fix for the next update.
But you should consider upgrading to a newer php version (also for security reasons):
Best regards,
Günter