Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #892787

    Hello,

    i have a problem with the layerslider plugin and PHP 7.

    As soon as i change the php version from 5.6 to php 7 or above, the site won’t load properly anymore.
    It just shows the loading circle ( “.av-siteloader-wrap” ) forever. When i remove this loading circle, all the images are missing and the layerslider itself misses completely. When i look at the html structure i can see the image tags and the structure for the slider though.

    PHP: 5.6
    Enfold: 4.2
    Wordpress: 4.9.1

    Before i tried to update to PHP7 i tested the compatibility with the “PHP Compatability” Plugin. This is the result from the LayerSlider Plugin, All the other plugins are fully compatible.

    FILE: /html/wp-content/plugins/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: /html/wp-content/plugins/LayerSlider/helpers/phpQuery.php
    ——————————————————————————————————————————————————————–
    FOUND 2 ERRORS AND 3 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
    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
    ——————————————————————————————————————————————————————–

    The error on line 4207 i tried to fix with replacing the split with an explode function.

    Best regards,

    Marco

    #892814

    Hi,

    seems this is a known issue, although you seem to have this with 7.0 as well.

    “Hi Kim,

    Yes, at the moment Enfold’s layerslider module has some issues with php 7.1, I would suggest sticking with 7.0 until those issues are fixed.

    Best regards,
    Nikko”

    See: https://kriesi.at/support/topic/enfold-and-php-7-1/

    #892831

    Hi,

    i tried both PHP 7.0 and 7.1 and always got that problem. The site is currently running on PHP 5.6 and i would really like to run it on PHP 7 because my customers wants to try some features of PHP7..

    #893476

    Hi,

    I am running LayerSlider from Enfold and I do not face that issue.
    We will do push an updated version so please be patience until we get it live.

    Thank you

    Best regards,
    Basilis

    #913309

    Hello Basilis,

    are there any news on this topic?
    Is the problem fixed yet/ is there a new update that contains a fix yet?

    If not when will there be an update that makes PHP 7 possible with enfold?

    Best regards,

    Marco

    #913535

    Hi Marco,

    Enfold is compatible with the lower versions of php7, we have had some problems with 7.2 though. Could you post admin login details to the with problems so that we can have a closer look please?

    Best regards,
    Rikard

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