Hi,
thanks for your post, and sorry for the trouble.
I think I have an idea on what’s happening here, but you should actually never really experience this. This only happens if you enter an empty Shortcode (i.e. one with a table ID), like
[table]
to a page. Is that maybe a Shortcode on that page? (Note, that to show the plain Shortcode, you can write it in its escaped form: [[table]] ).
Regardless, to fix the error, you could update to the current TablePress developer version from http://tablepress.org/download/tablepress-dev.zip
In, I have worked around that error by return a notice here.
Regards,
Tobias
Hi,
I appreciate access to the dev file. It did fix it mostly. The page renders correctly now, and the rest of the short codes work. The theme designer did include a [table] short code for the purupose of styling tables. I’m not using them, but the fix you applied breaks them. I don’t know if there’s anyway around this, and if there isn’t then I guess it’s OK because you’d either use the plugin or the theme, but not both.
http://connect5fc.com/chandler/shortcodes/
Thanks,
Mike
Hi Mike,
good to hear that this helped.
Now, I don’t really understand what the theme is trying to do here.
Does it bring its own [table] Shortcode? That won’t work then, of course, as it would conflict with TablePress’s [table] Shortcode.
The Shortcode will either be renamed in the theme or in TablePress (with the help of this Extension: http://tablepress.org/extensions/table-shortcode/ )
If you just want to show the text [table] (without that Shortcode being evaluated, you’ll just have to espace it with a second pair of [] as mentioned above.
Regards,
Tobias
Hi,
Yes the theme has its own [table] shortcode. All it does is allow the styling of html tables. Your extension is nice for keeping things clean, even if I don’t use the theme’s table shortcode.
Thanks for your help.
Mike
Hi Mike,
ah, that explains it. If you don’t want to use the [table] Shortcode from your theme, but just the one from TablePress, you will not need the TablePress Extension.
(Of course the link that you posted above will then not work, but that’s not a problem I guess).
Best wishes,
Tobias
P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!