Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #721167

    Not urgent!
    I just ran ‘PHP Compatibility Checker’ plugin on PHP 7.0 and it says Enfold is not compatible. This thread says it is:
    https://kriesi.at/support/topic/php-7-0-2/#post-690296
    What do you recommend. PHP 5.6 currently working fine.
    Thanks
    Rob
    ——————————————————–
    Plugin says:
    Enfold
    Possibly not PHP 7.0 compatible.
    10 Warnings
    4 Errors

    Details:
    FILE: /homepages/43/d299798050/htdocs/staging/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
    ——————————————————————————————————————————————————————–

    FILE: /homepages/43/d299798050/htdocs/staging/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: /homepages/43/d299798050/htdocs/staging/wp-content/themes/enfold/config-layerslider/LayerSlider_old/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
    ——————————————————————————————————————————————————————–

    FILE: /homepages/43/d299798050/htdocs/staging/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
    ——————————————————————————————————————————————————–

    #722072

    Hey!

    Thanks for your input. We will pass the thread to our devs :)
    Edit: Which version of Enfold are you using? :)

    Best regards,
    Yigit

    • This reply was modified 8 years ago by Yigit.
    #740454

    I also ran the ‘PHP Compatibility Checker’ plugin for PHP 7.0 and got the same error and warning messages. I’m running Enfold 3.8.4.

    #740612

    Hi I just noticed that I had not responded to Yigit’s question. I always keep my theme up to date so the latest version currently 3.8.4. I just ran it again and got a similar result.
    This is the site I ran it on http://www.consolite.co.uk/
    This is the new report:
    FILE: /homepages/43/d299798050/htdocs/staging/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
    ——————————————————————————————————————————————————————–

    FILE: /homepages/43/d299798050/htdocs/staging/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
    ——————————————————————————————————————————————————–

    #740616

    Hi!

    We will update LayerSlider in upcoming Enfold update which is coming soon. All these warnings are related to LayerSlider and once we release the update, there should not be any issues at all :)

    Regards,
    Yigit

    #740622

    Great thanks Yigit. I noticed it seemed to be the Layerslider.
    Cheers
    Rob

    #740623

    Hi,

    Not at all! We are marking this thread as resolved for now.
    Let us know if you have any other questions or issues :)

    Best regards,
    Yigit

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘PHP 7.0’ is closed to new replies.