• I have a fresh installation on a localhost server

    In the “shortcode / preview” box on the right is the following error code a few times:

    Notice: Undefined index: sa_slide1_char_count in /Users/Hannes/OneDrive/htdocs/test2016/wp-content/plugins/slide-anything/php/slide-anything-frontend.php on line 45

    If I want to puplish a new slider a blank page appears with the following error:

    Notice: Undefined index: sa_disable_visual_editor in /Users/Hannes/OneDrive/htdocs/test2016/wp-content/plugins/slide-anything/php/slide-anything-admin.php on line 1061
    
    Warning: Cannot modify header information - headers already sent by (output started at /Users/Hannes/OneDrive/htdocs/test2016/wp-content/plugins/slide-anything/php/slide-anything-admin.php:1061) in /Users/Hannes/OneDrive/htdocs/test2016/wp-includes/pluggable.php on line 1228

    Needless to say that the slider does not work with a shortcode on a page. On the front page again errors like this (sa_slide1…, sa_slide2…):
    Notice: Undefined index: sa_slide1_char_count in /Users/Hannes/OneDrive/htdocs/test2016/wp-content/plugins/slide-anything/php/slide-anything-frontend.php on line 45


    Newest wordpress and SA slider version.
    Installation of the plugin via the the admin backend.
    I had some other plugins activated but since there are all off SA slider still does not work.

    Interesting: on another, older but updated localhost installation, the plugin seems to work. So maybe it is because the fresh installation?!

    https://www.ads-software.com/plugins/slide-anything/

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

    (@simonpedge)

    Hi could you please install the latest version of Slide Anything – version 1.6 which I have just release today.
    But before doing that, delete all sliders you have created, and then de-activate and then delete the existing version of Slide Anything.
    That may or may not sort out your issue.

    If this error persists, then some deeper digging may be required…

    Thread Starter elhannes

    (@elhannes)

    Thank you very much for that amazingly quick support.

    I did what you said and now the same error as above appears but it refers to line 47 instead of 45.

    The errors are still in the “shortcode / preview” box and on the front page, the error after pressing “publish” disappeared though.
    However, the slider works now. (Even tough there are the errors)

    I also made a new WordPress + SA Slider installation on an online server and it seems to work there without any problems. So I guess the fact that it is a localhost installation causes the problem. I’m going to set another WordPress test environment up and let you know how it worked out.

    Again, thank you very much for that amazing support!

    Plugin Author simonpedge

    (@simonpedge)

    Yes, it does sound like it could be an issue because of the ‘localhost’ installation.

    Unfortunately I haven’ used a localhost installations for testing for a few years – as the agency I work for has its own dedicated VPS server. So if you ascertain whether this is in fact the issue then that would be much appreciated.

    Maybe editing this file:
    ../wp-content/plugins/slide-anything/slide-anything.php
    And editing line 14, which sets the global variable ‘SA_PLUGIN_PATH’ used within other PHP files, might solve this problem – so the line will look like:
    define(‘SA_PLUGIN_PATH’, ‘PATH_TO_PLUGIN’);
    Replace PATH-TO-PLUGIN with the localhost path to ‘Slide Anything’ plugin folder.

    Hi Simon, I just installed your great plugin on a test website on localhost and got the same error message. The message vanished after saving the initial “Sample Slider” by a click on “Update”.

    However, on an other plugin’s admin page I got now the following error message on top of the page:
    Notice: Trying to get property of non-object in wordpress_folder/wp-content/plugins/slide-anything/php/slide-anything-admin.php on line 274

    Both are warnings you only see with WordPress debugging on.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘PHP Error: Undefined index: sa_slide1_char_count’ is closed to new replies.