Okay
  Public Ticket #1218753
\n\n Internal Server Error
Closed

Comments

  • Andrew started the conversation

    It seems there is a server issue that prevented LayerSlider from saving your work. Please check LayerSlider -> System Status for potential errors, try to temporarily disable themes/plugins to rule out incompatibility issues or contact your hosting provider to resolve server configuration problems. Your HTTP server thrown the following error: \n\n Internal Server Error

    HOSTINGIS SHARED WITH GODADDY

    I used an older version and it worked it was a demo version of your product

  • [deleted] replied

    Hey Andrew,

    The "Internal server error" (error 500) is a web server configuration issue. In your case it could be a memory limitation problem or execution time limit, because you are trying to utilize more content than your server can handle in the given amount of time. But it might be generated by something else as well.

    The "Internal server error" is almost always a PHP error related problem, but currenty the exact error message is not visible as the WP debug mode is not enabled. Please try to enable it and look for any PHP errors in the logs that could provide more information.  
    https://codex.wordpress.org/WP_DEBUG
     
    https://codex.wordpress.org/Debugging_in_WordPress

    If you're not familiar with it, we can also look into it after you enabled the WP debug mode. We will need a WP login in this case.

    In the meantime please also try to look for any incompatibility problems by temporary disabling other plugins and switching to a default theme. Just to make sure that it's not caused by a 3rd party item.

  • petrfaitl replied

    Hi,

    I'm having the same issue, which seems to have happened when I copied transition styles from another (demo) slider. My error log is full of these entries:

    PHP Fatal error:  Uncaught Error: Cannot unset string offsets in /var/www/wp-content/plugins/LayerSlider/classes/class.ls.popups.php:66\nStack trace:\n#0 /var/www/wp-content/plugins/LayerSlider/wp/actions.php(499): LS_Popups::removeIndex(1)\n#1 /var/www/wp-includes/class-wp-hook.php(298): ls_save_slider('')\n#2 /var/www/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters('', Array)\n#3 /var/www/wp-includes/plugin.php(453): WP_Hook->do_action(Array)\n#4 /var/www/wp-admin/admin-ajax.php(91): do_action('wp_ajax_ls_save...')\n#5 {main}\n  thrown in /var/www/wp-content/plugins/LayerSlider/classes/class.ls.popups.php on line 66, referer: http://dev.[redacted].nz/wp-admin/admin.php?page=layerslider&action=edit&id=1

    I have redacted the URL in [ ]. but otherwise that's what I get. Some changes are being saved, but it's a bit of hit and miss.

    I have upped max_execution_time = 120 and memory_limit = 256M. System status is clear. I have tried disabling all plugins, but no luck. Apart from that, I'm not sure what else I can do.


    UPDATE: I've tried "Erase All Data" and uninstalling, then setting up a brand new slider, but no joy.

  •  69
    John replied

    Hi Petrfaitl,

    I'm John from the Kreatura Dev Team.

    This is a strange issue, it seems as if some part of the plugin data has been corrupted for some reason. I've attached a slightly modified version of one of the plugin files. Please copy that file into the /wp-content/plugins/LayerSlider/classes/ folder on your server via FTP and override the file with the same name. It should help prevent issues like this happening. 

    Best Regards,
    John | Kreatura Dev Team

  • petrfaitl replied

    Thanks @John all is good again, many thanks. I'll keep an eye if it happens again.

    The only other things that I was doing apart from importing demo sliders, was installing missing PHP components like php7.0-mbstring and php7.0-xml. Otherwise I'm working on a brand new installation of WordPress, only with a Theme  installed. It did come pre-bundled with Master Slider, though.

    Anyway, I hope it helps in identifying the culprit.


    Kind regards,

    Petr

  •  1
    beachmat replied

    I was having this problem too on a new installation. System status looked fine. The attached php file also sorted it for me.

  •  69
    John replied

    Thank you all for your feedback. We're currently preparing our next update for release and this patch will be included. 

    Best Regards,
    John | Kreatura Dev Team