-
AuthorPosts
-
November 7, 2016 at 10:26 am #709089
Hi, I need to update my server to PHP7 and there are errors with LayerSlider when I run WP Engine’s PHP7 compatibility checker, please could you provide a fix. The errors are:
FILE: /nas/content/live/dressdifferent/wp-content/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: /nas/content/live/dressdifferent/wp-content/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: /nas/content/live/dressdifferent/wp-content/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
——————————————————————————————————————————————————————–FILE: /nas/content/live/dressdifferent/wp-content/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
——————————————————————————————————————————————————–Many thanks
November 8, 2016 at 8:04 am #709632Hey AturiMedia!
Thank you for using Enfold.
This is quite normal because PHP 7 is new and some authors have not fully integrated or adapted to these rules yet. The errors are more like notifications or warning but not critical errors. Unfortunately, the theme is using the default layer slider configuration so we have to wait for the author to update the code. However, you can still update to the new version but expect a few issues along with it.
Cheers!
IsmaelNovember 8, 2016 at 12:00 pm #709727Thanks for your reply. Please could you report these bugs to the LayerSlider author to encourage them to provide a fix, as I can’t access their support request due to it being a bundled plugin.
Many thanksNovember 9, 2016 at 5:10 pm #710330 -
AuthorPosts
- You must be logged in to reply to this topic.