Shortcode error
-
I’m getting this code/error when I use the [beer id=”1″] shortcode. I tried [beer-list] and it seems to work. I also tried [beer id=1] and I tried different beer id’s that matched other demo submissions I have done.
Here is the error:
array(3) { [“id”]=> string(2) “12” [“profile”]=> bool(true) [“extras”]=> bool(true) } array(3) { [“id”]=> string(1) “1” [“profile”]=> bool(true) [“extras”]=> bool(true) }I just downloaded and installed your plugin last night and it is 2.0.
Site is running:
Richer theme with child theme
Visual Composer Plugin
and a few other plugins that I doubt would affect it.Page code in Visual Composer (backend)
https://dl.dropboxusercontent.com/u/94126/Snagit%20QuickSnaps/2-5-2016%209-44-09%20AM.pngRendered Home page with errors and working [beer-list] shortcode
https://dl.dropboxusercontent.com/u/94126/Snagit%20QuickSnaps/2-5-2016%209-43-19%20AM.pngBeer entries
https://dl.dropboxusercontent.com/u/94126/Snagit%20QuickSnaps/2-5-2016%209-42-50%20AM.pngI also noticed my that the “Enable comments on single beer pages” checkbox in settings doesn’t save its state when I check it and hit save. I probably won’t use it anyway. I tried disabling Untappd as a test and it saved state no problem.
The topic ‘Shortcode error’ is closed to new replies.