• Love the Slide Anything Slider.

    Wordpress 6.0.2
    Blank Canvass Theme
    Slider not currently present on a page. Published as private draft.

    Have built one 65 image slider for my site that runs great. Very stable on multiple browsers, desktops, phones.

    Am now running into problems.

    Three times, I’ve tried to build a similar sized slider but each time the slider stops accepting content after the 48th slide. Here’s what happens

    1. Images can be added but are erased once the slider is updated. The slide remains but it is empty.

    2. No additional slide after # 48 can be deleted.

    3. If #48 is duplicated, the above sequence happens with any new content.

    4. If the entire slide set is cloned as a new slider, all of the above behaviors remain.

    5. Any changes made in SLIDER STYLE are also erased on update.

    Have eliminated all caching on the site and shut off all plugins. Has no effect.

    Is there a limit to the number of slides?
    Can that limit be increased?
    Any suggestions for how I can fix this?
    Something with the update function?

    Thanks for your great work!

    fno0

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author simonpedge

    (@simonpedge)

    I have set a max limit of 100 slides in the code.
    There is a reason for this, the PHP setting ‘max_input_vars’.
    (this is normally set to 1000 on most hosts by default)
    I find that over 100 slides, this limit can get hit, and it breaks Slide Anything.

    BUT, if you increase the PHP ‘max_input_vars’ – you can possibly do this within cPanel/WHM, or add the following line to your ‘.htaccess’ file:
    php_value max_input_vars 9999
    Or contact your asking provider and ask them to increase this limit.

    THEN, if you need to modify this line within the ‘wp-content/plugins/slide-anything/php/slide-anything-admin.php’ file:

    if ($num_slides < 99) {
        // a maximum of 99 slides allowed
        echo "<div id='sa_add_slide' class='button button-primary button-large' title='Add a new slide'>Add Slide</div>\n";
    }

    This is at line 1467.

    But check your ‘max_input_vars’ in your cpanel – that could be causing this issue.

    Thread Starter fno0

    (@fno0)

    Thanks for your explanation regarding slide limits. Will try your recommendations. May also simply install a new WP as a subdomain and place a new copy of SA in there and call it from that location.

    A great plugin. Thanks.

    Thread Starter fno0

    (@fno0)

    Just a follow-up:

    Installed a new WordPress with a new SA install and experienced the same limits.

    So, I followed your advice and reset the PHP ‘max_input_vars’ to 9999.

    That fixed it.

    Thanks for your help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘New slides lose content on save’ is closed to new replies.