Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1071568

    Please help!! I ran the latest Enfold theme update and now I am receiving a fatal error. I am completely locked out of my wordpress admin. my homepage appears to be working yet none of the other pages are working. How can I fix this?

    Fatal error: Can’t use function return value in write context in /home3/smilingt/public_html/new/wp-content/themes/enfold/includes/helper-post-format.php on line 213

    home page is here: https://smilingtoad.com/
    page example where error can be seen is here: https://smilingtoad.com/our-process/

    #1071572

    I was able to connect to FTP and open the helper-post-format.php. below is the code located around line 213.

    /**
    * Backwards comp. to checkbox prior v4.5.3 (now selectbox with ” or ‘1’)
    */
    $hide_featured_image = empty( get_post_meta(get_the_ID(), ‘_avia_hide_featured_image’, true ) ) ? false : true;
    if( is_single( get_the_ID() ) && $hide_featured_image )
    {
    $current_post[‘before_content’] = ”;
    }

    return avia_default_title_filter($current_post);
    }
    }

    #1071910

    just following up on my issue. should the code provided above be updated somehow?

    to provide more background, I updated to WordPress 5.1 first and everything was OK. I then ran Enfold 4.5.4 update and that’s when the fatal error happened.

    #1072317

    just letting you know I was able to figure this out. site is back online after updating to php 7.1

    #1072935

    Hi,

    Great, I’m glad you managed to get it working and thanks for the update. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.