[Plugin: TheThe Image Slider] Error message in WordPress 3.3
-
When setting WP_DEBUG to true (in wp_config.php) I get the following error messages when “Edit Slides” in the “Sliders and Slides” tab:
Notice: Undefined offset: 1 in /var/www/dch-test.dk/public_html/wp-content/plugins/thethe-image-slider/thethe-image-slider.php on line 231
The problem is easy solved by changing line 231:
if($imageParts[1]) {
to
if(isset($imageParts[1]) && $imageParts[1]) {
On a page using the shortcode ([thethe-image-slider]) the following error messages emerges:
Notice: Undefined index: caption_opacity in /var/www/dch-test.dk/public_html/wp-content/plugins/thethe-image-slider/thethe-image-slider.php on line 298 Notice: Undefined index: caption_opacity in /var/www/dch-test.dk/public_html/wp-content/plugins/thethe-image-slider/thethe-image-slider.php on line 298 Notice: Undefined index: caption_opacity in /var/www/dch-test.dk/public_html/wp-content/plugins/thethe-image-slider/thethe-image-slider.php on line 298 Notice: Undefined index: caption_opacity in /var/www/dch-test.dk/public_html/wp-content/plugins/thethe-image-slider/thethe-image-slider.php on line 312 Notice: Undefined index: caption_bg_color in /var/www/dch-test.dk/public_html/wp-content/plugins/thethe-image-slider/thethe-image-slider.php on line 313 Notice: Undefined index: caption_text_color in /var/www/dch-test.dk/public_html/wp-content/plugins/thethe-image-slider/thethe-image-slider.php on line 314 Notice: Undefined index: caption_opacity in /var/www/dch-test.dk/public_html/wp-content/plugins/thethe-image-slider/thethe-image-slider.php on line 298
- The topic ‘[Plugin: TheThe Image Slider] Error message in WordPress 3.3’ is closed to new replies.