Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #753598

    Hi
    I have just run a PHP7 compatibility checker provided by wpengine on a development site. there were only 2 errors and a few warnings, I have copied them below for info, this isnt urgent but I am keen to be able to use PHP7 for new projects as soon as possible.

    /wp-content/themes/enfold/config-layerslider/LayerSlider/helpers/phpQuery.php
    ——————————————————————————————————————————————————————–
    FOUND 2 ERRORS AND 4 WARNINGS AFFECTING 6 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 | Function split() is deprecated since PHP 5.3 and removed since PHP 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
    5637 | ERROR | Using ‘break’ outside of a loop or switch structure is invalid and will throw a fatal error since PHP 7.0
    ——————————————————————————————————————————————————————–

    #753601

    Hey!

    Which version of Enfold are you currently using? Please update the theme to the latest version 4.0.2 – kriesi.at/documentation/enfold/updating-your-theme-files/ if you have not updated already. Mentioned files are LayerSlider related. Since it is now updated to the latest version 6.1.6, it should fix the errors and warnings :)

    Best regards,
    Yigit

    #753607

    Hi Yigit
    it was 3.85. I have updated to 4.02 and get a green “compatible” now which is fantastic. just 3 warnings which are below for info
    /wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/contentslider.php
    ————————————————————————————————————–
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ————————————————————————————————————–
    1 | WARNING | File has mixed line endings; this may cause incorrect results
    ————————————————————————————————————–

    /wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/grid_row.php
    ———————————————————————————————————
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ———————————————————————————————————
    1 | WARNING | File has mixed line endings; this may cause incorrect results
    ———————————————————————————————————

    /wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/tab_section.php
    ————————————————————————————————————
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ————————————————————————————————————
    1 | WARNING | File has mixed line endings; this may cause incorrect results
    ————————————————————————————————————

    #753610

    Hi!

    Great!
    We will inform our devs and look into it to make sure that is no warning in upcoming updates :)

    Regards,
    Yigit

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