Okay
  Public Ticket #1660687
Error on Layerslider with php 7.1
Closed

Comments

  • Kinga0001 started the conversation

    Hello, After updating, i recive this error on a Page that i manage :

    Fatal error: Uncaught Error: [] operator not supported for strings in /home/httpd/vhosts/psychiatrie-wetzikon.ch/httpdocs/wp-content/plugins/layerslider/includes/slider_markup_init.php:81
    Stack trace:
    #0 /home/httpd/vhosts/psychiatrie-wetzikon.ch/httpdocs/wp-content/plugins/layerslider/wp/shortcodes.php(36): include()
    #1 /home/httpd/vhosts/psychiatrie-wetzikon.ch/httpdocs/wp-includes/shortcodes.php(319): layerslider_init(Array, '', 'layerslider')
    #2 [internal function]: do_shortcode_tag(Array)
    #3 /home/httpd/vhosts/psychiatrie-wetzikon.ch/httpdocs/wp-includes/shortcodes.php(197): preg_replace_callback('/\\[(\\[?)(layers...', 'do_shortcode_ta...', '[layerslider id...')
    #4 /home/httpd/vhosts/psychiatrie-wetzikon.ch/httpdocs/wp-content/themes/Total/framework/post-slider.php(71): do_shortcode('[layerslider id...')
    #5 /home/httpd/vhosts/psychiatrie-wetzikon.ch/httpdocs/wp-content/themes/Total/framework/hooks/actions.php(95): wpex_post_slider()
    #6 /home/httpd/vhosts/psychiatrie-wetzikon.ch/httpdocs/wp-includes/class-wp-hook.php in /home/httpd/vhosts/psychiatrie-wetzikon.ch/httpdocs/wp-content/plugins/layerslider/includes/slider_markup_init.php on line 81


    Can you please help? 

    Best regards


  • [deleted] replied

    Hello Kinga0001,

    Thank you for getting in touch with us. My name is Attila and I'm happy to assist you today. I appreciate your patience while we've been working towards your ticket.

    I have checked the URL you provided, but I do not see this error there. 

    Have you managed to fix the problem in the meantime ?

    In case not, where exactly can we see this ? 

    Please also check if this error only shows for admins/logged in users.

  • Kinga0001 replied

    Hello, 


    sorry, but this is a live site, so i switched php back to 5.6

    On this it works regular. 

    I can switch it back for testing if you want. But you will only see the error code i have postet... nothing more.

  • [deleted] replied

    LayerSlider fully supports PHP 7.x versions, there shouldn't be any issue with them. We tested, but we couldn't reproduce this error on our end.

    Judging from the error message, we believe that it might be related to caching. Please try to use the LayerSlider -> Options -> Advanced -> Empty caches button, after you've set it back to PHP 7.