Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #928383

    Hi!
    http://www.hotelladdict.se/
    I got this error when I updated to the latest child theme:

    Fatal error: Can’t use function return value in write context in /home/d8737/hotelladdict.se/wp-content/themes/enfold/header.php on line 6

    Can’t access the site.

    The text on line 6 in the header.php
    $avia_config[‘use_standard_lightbox’] = empty( avia_get_option( ‘lightbox_active’ ) ) || ( ‘lightbox_active’ == avia_get_option( ‘lightbox_active’ ) ) ? ‘lightbox_active’ : ‘disabled’;
    /**

    What is wrong?
    Charlotte

    #928469

    I have re-installed both Enfold and Enfold child theme but still get the same error.

    What is wrong? It worked perfectly fine before the update of the child theme.

    I have added login to ftp / wordpress. Please have a look, thanks!

    Thanks
    Charlotte

    #928629

    No help from the support this time ! :(

    Finally I found this post – https://kriesi.at/support/topic/fatal-error-cant-use-function-return-value-enfold-header-php-on-line-6/#post-922937
    and I was able to solve it my self BUT you clearly have a problem with the latest version of the child theme when error like this happens and after an update not able to view your site.

    :(

    #928630

    Hi Charlotte,

    Sorry for the problems. Please try this solution.

    Best regards,
    Rikard

    #928633

    Rikard!
    That is the link I mention in my previous post…
    Why do you post it as well?

    #928888

    Hi,

    You posted that 2 minutes before I posted my reply, so I didn’t see it.

    Best regards,
    Rikard

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