
-
AuthorPosts
-
July 2, 2020 at 5:04 pm #1227547
Jürgen Steinbach
GuestHallo,
beim Versuch die PHP-Version beim Provider auf eine aktuelle 7.2 bzw. 7.4 umzustellen, funktioniert unsere Startseite nicht mehr richtig, es erscheinen oben die folgenden Fehlermeldungen.
Es wurde alles aktualisiert, alle Plugins und WordPress auf 5.4.2.
Ein Scann mit einem PHP Checker bringt hier auch keine Hilfe.
Vielleicht hat jemand eine Idee?Die Meldungen:
PHP 7.2
Deprecated: Function create_function() is deprecated in /homepages/20/d212609549/htdocs/web2016/wp-content/themes/enfold/config-layerslider/LayerSlider/wp/widgets.php on line 4Warning: Cannot modify header information – headers already sent by (output started at /homepages/20/d212609549/htdocs/web2016/wp-content/themes/enfold/config-layerslider/LayerSlider/wp/widgets.php:4) in /homepages/20/d212609549/htdocs/web2016/wp-includes/pluggable.php on line 1281
Warning: Cannot modify header information – headers already sent by (output started at /homepages/20/d212609549/htdocs/web2016/wp-content/themes/enfold/config-layerslider/LayerSlider/wp/widgets.php:4) in /homepages/20/d212609549/htdocs/web2016/wp-includes/pluggable.php on line 1284
PHP 7.4
Deprecated: Unparenthesizeda ? b : c ? d : e
is deprecated. Use either(a ? b : c) ? d : e
ora ? b : (c ? d : e)
in /homepages/20/d212609549/htdocs/web2016/wp-content/themes/enfold/functions-enfold.php on line 265Warning: session_start(): Cannot start session when headers already sent in /homepages/20/d212609549/htdocs/web2016/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries.php on line 32
Warning: session_start(): Cannot start session when headers already sent in /homepages/20/d212609549/htdocs/web2016/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/portfolio.php on line 27
Warning: Cannot modify header information – headers already sent by (output started at /homepages/20/d212609549/htdocs/web2016/wp-content/themes/enfold/functions-enfold.php:265) in /homepages/20/d212609549/htdocs/web2016/wp-content/plugins/http-security/include/http-headers.php on line 23
Warning: Cannot modify header information – headers already sent by (output started at /homepages/20/d212609549/htdocs/web2016/wp-content/themes/enfold/functions-enfold.php:265) in /homepages/20/d212609549/htdocs/web2016/wp-content/plugins/http-security/include/http-headers.php on line 51
Warning: Cannot modify header information – headers already sent by (output started at /homepages/20/d212609549/htdocs/web2016/wp-content/themes/enfold/functions-enfold.php:265) in /homepages/20/d212609549/htdocs/web2016/wp-content/plugins/http-security/include/http-headers.php on line 75
Warning: Cannot modify header information – headers already sent by (output started at /homepages/20/d212609549/htdocs/web2016/wp-content/themes/enfold/functions-enfold.php:265) in /homepages/20/d212609549/htdocs/web2016/wp-content/plugins/http-security/include/http-headers.php on line 84
Warning: Cannot modify header information – headers already sent by (output started at /homepages/20/d212609549/htdocs/web2016/wp-content/themes/enfold/functions-enfold.php:265) in /homepages/20/d212609549/htdocs/web2016/wp-content/plugins/http-security/include/http-headers.php on line 85
Warning: Cannot modify header information – headers already sent by (output started at /homepages/20/d212609549/htdocs/web2016/wp-content/themes/enfold/functions-enfold.php:265) in /homepages/20/d212609549/htdocs/web2016/wp-content/plugins/http-security/include/http-headers.php on line 86
Deprecated: Function create_function() is deprecated in /homepages/20/d212609549/htdocs/web2016/wp-content/themes/enfold/config-layerslider/LayerSlider/wp/widgets.php on line 4
Warning: Cannot modify header information – headers already sent by (output started at /homepages/20/d212609549/htdocs/web2016/wp-content/themes/enfold/config-layerslider/LayerSlider/wp/widgets.php:4) in /homepages/20/d212609549/htdocs/web2016/wp-includes/pluggable.php on line 1281
Warning: Cannot modify header information – headers already sent by (output started at /homepages/20/d212609549/htdocs/web2016/wp-content/themes/enfold/config-layerslider/LayerSlider/wp/widgets.php:4) in /homepages/20/d212609549/htdocs/web2016/wp-includes/pluggable.php on line 1284
Der PHP Checker meldet:
Name: BackWPupThe plugin/theme was skipped as it was too large to scan before the server killed the process.
Name: Cachify
PHP 7.3 compatible.
Name: Classic Editor
PHP 7.3 compatible.
Name: Contact Form 7
PHP 7.3 compatible.
Name: Cookie Notice
PHP 7.3 compatible.
Name: Custom Fonts
PHP 7.3 compatible.
Name: Enfold
The plugin/theme was skipped as it was too large to scan before the server killed the process.
Name: GA Google Analytics
PHP 7.3 compatible.
Name: Google Analytics Opt-Out (DSGVO / GDPR)
PHP 7.3 compatible.
Name: HTTP Headers
PHP 7.3 compatible.
Name: HTTP headers to improve web site security
PHP 7.3 compatible.
Name: Language Fallback
PHP 7.3 compatible.
Name: Loco Translate
The plugin/theme was skipped as it was too large to scan before the server killed the process.
Name: Remove Google Fonts References
PHP 7.3 compatible.
Name: Say What?
PHP 7.3 compatible.
Name: Version Control for jQuery
PHP 7.3 compatible.
Name: WP Simple Mail Sender
PHP 7.3 compatible.
Grüße
Jürgen SteinbachJuly 4, 2020 at 7:51 am #1227883Hallo Jürgen,
Sorry for the problem. I see that you are running an old version of the theme, could you try to update to the latest version (4.7.5) to see if that helps please? The update to 4.7.x has to be done manually from the version you are running, please refer to my replies in this thread: https://kriesi.at/support/topic/enfold-4-5-theme-update-update-failed-download-failed-a-valid-url-was-not-pro/#post-1021541
You can either update manually via FTP: https://kriesi.at/documentation/enfold/how-to-install-enfold-theme/#theme-update, or use a plugin to upload the theme zip file: https://wordpress.org/plugins/update-theme-and-plugins-from-zip-file/
If that doesn’t work then please try to delete the whole theme folder, then replace it with the new version. Make sure that you have backups of the site before starting updating.
Also please read this after you have updated: https://kriesi.at/documentation/enfold/theme-registration/
LG,
RikardJuly 17, 2020 at 12:02 pm #1231206Jürgen Steinbach
GuestHallo Rikard,
vielen Dank für deinen Tipp. Ich habe die aktuelle Version gekauft, registriert und vom Envato-Themeforest heruntergeladen. Danach den alten enfold-Ordner umbenannt und aus der neuen Version den enfold-Ordner übertragen. Vorher habe ich noch die Theme-Einstellungen exportiert und in der neuen Version importiert um unser altes Design wieder herzustellen. Dann noch die Registrierung bei Envato erstellt um den Personal Token für neuere Updates zu erhalten. Hat alle perfekt geklappt, auch die Umstellung beim Provider auf PHP 7.4 lief danach problemlos, es kamen keine Fehlermeldungen mehr.
In der neuen Version 4.7.5 des Enfold-Themes, waren erfreulicherweise auch neue Funktionen z.B. diese Datenschutz Cookie-Abfrage, die sehr gelegen kam, da wir genau jetzt diese Funktion für unsere Webseite benötigt haben um den neuen Vorgaben des DSGVO gerecht zu werden.
Vielen Dank nochmals für die Unterstützung.
Ich hoffe diese Beitrag kann auch anderen helfen, die ähnliche Probleme mit der PHP-Version 7.x haben.Viele Grüße
JürgenJuly 19, 2020 at 5:44 am #1231519 -
AuthorPosts
- You must be logged in to reply to this topic.