Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1088132

    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.

    #1088298

    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):

    PHP versions supported

    Best regards,
    Günter

    • This reply was modified 5 years, 7 months ago by Günter.
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.