Tagged: ,

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

    Guten Tag zusammen,

    Wir laufen auf unserem NGINX-Server seit ein paar Wochen auf PHP 7.4.1. Wir haben Enfold sehr häufig bei Kunden von uns installiert, aber zwei Seiten machen Probleme. Folgende Fehlermeldung habe bekomme ich auch nicht deaktiviert. Sie wird immer angezeigt.

    Es scheint Probleme bei Enfold irgendwo zu geben? Habt ihr eine Idee?
    Vielen Dank.

    Deprecated: Unparenthesized a ? b : c ? d : e is deprecated. Use either (a ? b : c) ? d : e or a ? b : (c ? d : e) in /srv/http/DOMAIN.de/wp-content/themes/enfold/functions-enfold.php on line 332 Warning: Cannot modify header information – headers already sent by (output started at /srv/http/DOMAIN.de/wp-content/themes/enfold/functions-enfold.php:332) in /srv/http/DOMAIN.de/wp-content/themes/enfold/includes/helper-privacy.php on line 264


    Hey Julian,

    Thank you for the inquiry.

    Try to edit the functions-enfold.php file and look for this code around line 332:

    $post_type = $image ? "" : get_post_format($post->ID) != "" ? get_post_format($post->ID) : "standard";

    Replace it with:

    $post_type = $image ? "" : ( get_post_format($post->ID) != "" ? get_post_format($post->ID) : "standard" );

    Best regards,


    don’t know if it happens only caused by enfold. https://wordpress.org/support/topic/php-7-4-support-deprecated-unparenthesized/
    Some plugins will cause this too.



    Thanks for reporting this. Probems caused by Enfold will be fixed in next release – but there are also warnings caused by other plugins like e.g. layerslider.

    Best regards,


    I have the same problem on an old site where the php version has been updated

    Versione di WordPress 5.6.2
    Tema corrente: Enfold (versione 4.4.1)
    Versione PHP 8.2.11

    Dettagli dell’errore
    Un errore di E_COMPILE_ERROR è stato causato nella linea 313 del file /home/priula/public_html/wp-content/themes/enfold/functions-enfold.php. Messaggio di errore: Unparenthesized a ? b : c ? d : e is not supported. Use either (a ? b : c) ? d : e or a ? b : (c ? d : e)

    The problem is that I cannot login and therefore update the versions of wordpress and enfold in any way!
    I tried uploading enfold via ftp, but it still won’t let me log in.

    Can you help me? Thanks


    Hey @seremot,

    It looks like you’re using Enfold 4.4.1. Updating Enfold to 5.6.8 should fix the issue: https://kriesi.at/documentation/enfold/theme-update/.


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