Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #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

    #709632

    Hey 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!
    Ismael

    #709727

    Thanks 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 thanks

    #710330

    Hi,

    We have informed our devs and Kriesi. In the meantime, 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,
    Yigit

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