Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1082580

    After the last update of the enfold theme, these error occured

    Text shown:
    Fatal error: Can’t use function return value in write context in /var/www/web304/html/wp-content/themes/enfold/includes/helper-post-format.php on line 213

    best regards Robert

    #1083224

    Hey Robert,

    Which version of php are you running?

    Please check this thread
    https://kriesi.at/support/topic/fatal-error-54/

    Best regards,
    Victoria

    #1083464
    This reply has been marked as private.
    #1084253

    Hi Robert,

    Please post us your login credentials (in the “private data” field), so we can take a look at your backend.

    1. Install and activate ” Temporary Login Without Password “.
    2. Go to ” Users > Temporary Logins ” on the left-side menu.
    3. Click ” Create New “.
    4. Add the email address for the account ( you can use (Email address hidden if logged out) ), as well as the ” Role ” making that the highest possible and the expiry about four days
      ( do be sure that we have enough time to debug ).
    5. Click ” Submit “.
    6. You’ll now have a temporary account. Please provide us here in the private section the URL, so we can login and help you out.

    When your issue is fixed, you can always remove the plugin!
    If you prefer to not use the plugin, you can manually create an admin user and post the login credentials in the “private data” field.

    Best regards,
    Victoria

    #1084543
    This reply has been marked as private.
    #1085208

    Hi,

    Thanks for the update.

    Can you access your file server? Edit the includes > helper-post-format.php file and then look for the following code around 213.

    $hide_featured_image = empty( get_post_meta( get_the_ID(), '_avia_hide_featured_image', true ) );
    

    Replace it with:

    $hide_featured_image = get_post_meta( get_the_ID(), '_avia_hide_featured_image', true );
    $hide_featured_image = empty( $hide_featured_image ) ? false : true;
    

    Best regards,
    Ismael

    #1086101
    This reply has been marked as private.
    #1086172

    Hi,

    Your backend is back again.

    You must be using a very old PHP version (< 5.5.0). This bug is fixed in Enfold 4.5.5, so you are safe to update. But you should talk to your hoster to upgrade your PHP version for security reasons (minimum 7.1).

    PHP-Versions

    Best regards,
    Günter

    #1086584
    This reply has been marked as private.
    #1087501

    Hi,

    We flushed or resaved the permalinks. The sub pages are accessible again. (see private field)

    Best regards,
    Ismael

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