Okay
  Public Ticket #2627474
Critical error when activated
Closed

Comments

  • Mark Young started the conversation

    Hello,

    Whenever I activate the layer slider my site reports a critical error. I have installed the latest update.

    When i deactivate the plugin everything functions (except the slider)

    Please advise if this layer slider can be made functional A.S.A.P. 

    I am not a website creator, please keep it simple.

  •  244
    Kreatura Support replied

    Hello Mark,

    Thank you for getting in touch with us!

    Probably there is a web server configuration issue on your site.
    Could you please send me the exact error message which you got in the admin email?
    Other option is that if you send me the PHP error logs which you can check in the dashboard of your webserver.

    Thank you, in advance.

    Best Regards,
    Andrea | Kreatura Support Team

  • Mark Young replied

    Error detail below.

    I have not changed the slider since originally placed which I think was 2014. 

    I can download a free slider and it works fine, as a test. 

    Error Details
    =============
    An error of type E_ERROR was caused in line 82 of the file /home3/happyhiv/public_html/wp-content/plugins/LayerSlider1/includes/slider_markup_init.php. Error message: Uncaught Error: [] operator not supported for strings in /home3/happyhiv/public_html/wp-content/plugins/LayerSlider1/includes/slider_markup_init.php:82
    Stack trace:
    #0 /home3/happyhiv/public_html/wp-content/plugins/LayerSlider1/wp/shortcodes.php(36): include()
    #1 /home3/happyhiv/public_html/wp-includes/shortcodes.php(343): layerslider_init(Array, '', 'layerslider')
    #2 [internal function]: do_shortcode_tag(Array)
    #3 /home3/happyhiv/public_html/wp-includes/shortcodes.php(218): preg_replace_callback('/\\[(\\[?)(layers...', 'do_shortcode_ta...', '[layerslider id...')
    #4 /home3/happyhiv/public_html/wp-includes/class-wp-hook.php(287): do_shortcode('[layerslider id...')
    #5 /home3/happyhiv/public_html/wp-includes/plugin.php(212): WP_Hook->apply_filters('[layerslider id...', Array)
    #6 /home3/happyhiv/public_html/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(1722): apply_filters('the_content', '[layerslider id...')
    #7 /home3/happyhiv/public_html/wp-includes/rest-api/endpoints/class-wp-rest-posts-con

  •  244
    Kreatura Support replied

    Hello Mark,

    Thank you for your feedback!

    As I see you use an outdated version of LayerSlider on your site. The latest version is the 6.11.2.

    In this error message I see plugins / LayerSlider1 directory, which is not normal. I suggest you to remove all the copies of the plugin from your site and install the latest version manually. Please check this link in our documentation: https://layerslider.kreaturamedia.com/documentation/#updating-manual

    Best Regards,
    Andrea | Kreatura Support Team