Tagged: PHP7
-
AuthorPosts
-
November 2, 2016 at 9:04 am #707013
Hallo zusammen,
wie sieht es eigentlich mit der Kompatibilität zu PHP7 aus? Folgende Meldungen habe ich erhalten, als ich WordPress auf Kompatibilität zu PHP7 getestet habe.
FILE: /xxx/themes/enfold/config-layerslider/LayerSlider/wp/shortcodes.php
——————————————————————————————————————————————————–
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
——————————————————————————————————————————————————–
15 | WARNING | Method name “LS_Shortcode::__contruct” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
——————————————————————————————————————————————————–FILE: /xxx/themes/enfold/config-layerslider/LayerSlider/helpers/phpQuery.php
——————————————————————————————————————————————————————–
FOUND 1 ERROR AND 4 WARNINGS AFFECTING 5 LINES
——————————————————————————————————————————————————————–
2231 | WARNING | Method name “phpQueryObject::__pseudoClassParam” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
2467 | WARNING | Method name “phpQueryObject::__loadSuccess” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
2631 | WARNING | Method name “phpQueryObject::___wrapAllCallback” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
4207 | ERROR | The use of function split is discouraged from PHP version 5.3 and forbidden from PHP version 7.0; use preg_split instead
4275 | WARNING | Method name “phpQueryObject::__dumpTree” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
——————————————————————————————————————————————————————–FILE: /xxx/themes/enfold/config-layerslider/LayerSlider_old/wp/shortcodes.php
——————————————————————————————————————————————————–
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
——————————————————————————————————————————————————–
15 | WARNING | Method name “LS_Shortcode::__contruct” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
——————————————————————————————————————————————————–FILE: /xxx/themes/enfold/config-layerslider/LayerSlider_old/helpers/phpQuery.php
——————————————————————————————————————————————————————–
FOUND 1 ERROR AND 4 WARNINGS AFFECTING 5 LINES
——————————————————————————————————————————————————————–
2231 | WARNING | Method name “phpQueryObject::__pseudoClassParam” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
2467 | WARNING | Method name “phpQueryObject::__loadSuccess” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
2631 | WARNING | Method name “phpQueryObject::___wrapAllCallback” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
4207 | ERROR | The use of function split is discouraged from PHP version 5.3 and forbidden from PHP version 7.0; use preg_split instead
4275 | WARNING | Method name “phpQueryObject::__dumpTree” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
——————————————————————————————————————————————————————–November 2, 2016 at 4:25 pm #707212Die selbe Frage wollte ich auch gerade stellen.
November 2, 2016 at 4:27 pm #707214Hallo!
Ja, Enfold Theme Kompatibilität mit PHP7.
Please make sure that you are using the latest version of the theme which is currently 3.8 – kriesi.at/documentation/enfold/updating-your-theme-files/Best regards,
YigitP.S.: If you would like to receive replies in German, please let us know so our German moderators can help :)
November 2, 2016 at 5:01 pm #707240Hi,
die Fehlermeldungen kommen aus der letzten Version. Was hat es damit auf sich?
Besten Dank im Voraus.
Hateman
November 4, 2016 at 2:46 pm #708189Hi,
deaktiviere alle Plugins. Einige Fehlermeldungen sind jedoch “normal”, da ein so modernes Theme wie Enfold verschiedene Funktionen beinhaltet, die manche als “fehlerhaft” einstufen würden. Wenn im Frontend jedoch alles funktioniert für dich, dann sollte es ja kein wirkliches Problem geben. Ich würde die php error log Funktion einfach ausschalten. Php 7 wird auf jeden Fall von Enfold unterstützt.
Gruß,
Andy -
AuthorPosts
- You must be logged in to reply to this topic.