Issue with Gallery shortcode [wps-gallery-grid] (3 replies and 1 comment)
The above shortcode worked today for a few hours, after I had set up galleries on a new production site. Strange enough, the shortcode stopped working at some time after making a few minor changes to the shortcode options. All the other Gallery shortcodes are operational in that site.
I understand that there could be a lot of reasons for the mishap, as there are many variables that effect operations. The shortcode works fine on a staging server in the home office. The shortcode options are restored to being identical on the staging server and the production server, but that did not help.
Any idea what most likely could be the culprit? Memory, uploaded photos to big? Something, anything? A known issue?
Got it to work again. In the wps-gallery-grid shortcode options table, I entered "" in the Force for a specific user field.
Had played with these settings to test prior to the shortcode braking on my site, so perhaps the php code for the shortcode retained some of my test entries or otherwise got messed up.
Revision! I had to undo the "", instead uncheck Show for all users in the shortcode's options and use the shortcode in the page as this: [wps-gallery-grid user_id=""]. Anyway, a bit of tweaking with the logic has got it working.