TomodomoCo / total-slider

A WordPress plugin for creating, editing and removing ‘slides’ with text and images (for a homepage, for example).
GNU General Public License v2.0
7 stars 2 forks source link

Total Slider error on WP 4.1 #62

Closed 3oax closed 9 years ago

3oax commented 9 years ago

Your Plugin is great! But it not seems to work on WP 4.1.

If i want to select my own template, the options show the following error:

Notice: Undefined index: name in /Applications/MAMP/htdocs/XXXXX/wp-content/plugins/total-slider/admin/slide-groups.php on line 246

On the Slide-Group controllpage i get the following error:

Strict Standards: Non-static method Total_Slider::get_current_slides() should not be called statically in /Applications/MAMP/htdocs/XXXX/wp-content/plugins/total-slider/admin/metaboxes/slide-sorter.php on line 38

Any Fix(es)? Would be great!

PeterUpfold commented 9 years ago

Apologies for the long latency in responding here.

It looks like Total Slider is trying to parse the name of a TS template in your WordPress theme's directory, but isn't correctly identifying its name. It may be worth double-checking the format of the 'magic comment' at the very top of your Total Slider template's style.css to make sure it looks similar to this one.

This, and other similar E_NOTICE and E_STRICT warnings, should go away with Total Slider 2.0, as the code is more clean and tidy in general.

In the meantime, I would suggest perhaps looking at your template's style.css, or relaxing your error_reporting settings in php.ini to work around this.

PeterUpfold commented 9 years ago

The E_NOTICE and E_STRICT issues should be fixed as of Total Slider 2.0.