I don’t get anything with the custom_gallery short code. An error shows at the top of the page:
Warning: strtolower() expects parameter 1 to be string, array given in path\to\wp-content\plugins\shortcodes-ultimate\lib\images.php on line 14
This is on a WAMP localhost server, PHP 5.3.5, WP 3.2.1, SU 3.3.0
Plugin Author
Vova
(@gn_themes)
See new code examples at:
wp-admin -> Settings -> Shortcodes -> tab: Shortcodes
And show your shortcodes.
I get the strtolower() error with all custom_gallery shortcodes:
[custom_gallery]
[custom_gallery source=”post” link=”image” size=”200×200″ limit=”10″]
and variations thereof. There are 6 or 7 images in the gallery of this particular page. I also disabled all other plugins to make sure there wasn’t a conflict somewhere. The theme is a modified Twenty Eleven.
I’ll mention that I do not get any error messages with [nivo_slider] or [jcarousel]. They seem to work fine.
thanks
Plugin Author
Vova
(@gn_themes)
Update to version 3.3.1, and try to use it again.
[custom_gallery source="post" link="image" size="200x200" limit="10"]
Thanks for the quick response, but now I get
Warning: explode() expects parameter 2 to be string, array given in H:\path\to\wp-content\plugins\shortcodes-ultimate\lib\images.php on line 14
If I put 2 galleries on the same page I get 2 messages. A big long stack trace follows each message, but I don’t know if will be of any help. The last few lines are:
15 0.4179 22108992 call_user_func ( ) ..\shortcodes.php:206
16 0.4179 22109016 su_custom_gallery_shortcode( ) ..\shortcodes.php:0
17 0.4180 22110056 su_build_gallery( ) ..\shortcodes.php:554
18 0.4180 22110256 explode ( ) ..\images.php:14
You might see this in your PHP error log.