Title: Bug shortcode doesn&#8217;t render
Last modified: November 8, 2022

---

# Bug shortcode doesn’t render

 *  Resolved [Rookie](https://wordpress.org/support/users/alriksson/)
 * (@alriksson)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/bug-shortcode-doesnt-render/)
 * [table id=123 cache_table_output=false /]
    Doesn’t work or load any more except
   homepage with TP version 1.12 and wordpress 5.5.3
 * Any idea?

Viewing 10 replies - 1 through 10 (of 10 total)

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/bug-shortcode-doesnt-render/#post-16177436)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * No, sorry, I don’t know what could be causing this. Make sure that your theme
   is properly evaluating Shortcode in all its template files.
 * Just curious: Why are you using such old and outdated versions of WordPress and
   TablePress? (This should however not influence this problem.)
 * Regards,
    Tobias
 *  Thread Starter [Rookie](https://wordpress.org/support/users/alriksson/)
 * (@alriksson)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/bug-shortcode-doesnt-render/#post-16177509)
 * Strangely it is only working on homepage.
 * Good question due to lower priority project and site over another flagship site,
   with update comes maintenance work which time and focus on wrong project. A major
   part is also due to the theme not fixing one bug which is essential to be fixed
   before we can update the theme. Until theme can’t be updated we don’t want to
   update major things such as wp and along with it until fixed. Theme is pro builder
   from theme.co, still awaiting for the small bug but huge impact for us to be 
   fixed stuck in a bigger release, no minor release fixes there.
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/bug-shortcode-doesnt-render/#post-16177545)
 * Hi,
 * sorry to hear that you are having problem with the theme. If they don’t fix it,
   you might want to look into switching themes. Right now, you are really falling
   behind on WordPress development, so that it will only be more work in the future.
 * And just to be sure: Has the Shortcode worked before and this problem only started
   recently? Or has this never worked before at all?
 * Regards,
    Tobias
 *  Thread Starter [Rookie](https://wordpress.org/support/users/alriksson/)
 * (@alriksson)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/bug-shortcode-doesnt-render/#post-16188501)
 * [@tobiasbg](https://wordpress.org/support/users/tobiasbg/) They will soon after
   2 more beta releases release the update but yes agree.
 * But we I did test on staging updating theme but not WP and it still didn’t work
   with current latest version. Meaning it’s not the Theme.
 * It started recently but not sure when. It worked before yes.
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/bug-shortcode-doesnt-render/#post-16188634)
 * Hi,
 * Do other plugin’s Shortcodes work in these places?
 * Then, can you please try again after temporarily deactivating all other plugins
   and after switching to a WordPress default theme like Twenty Twenty? That way,
   we can find what’s causing this.
 * Regards,
    Tobias
 *  Thread Starter [Rookie](https://wordpress.org/support/users/alriksson/)
 * (@alriksson)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/bug-shortcode-doesnt-render/#post-16188820)
 * [@tobiasbg](https://wordpress.org/support/users/tobiasbg/) Are you using add_shortcode
   or apply_shortcode?
 *  Thread Starter [Rookie](https://wordpress.org/support/users/alriksson/)
 * (@alriksson)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/bug-shortcode-doesnt-render/#post-16188855)
 * [@tobiasbg](https://wordpress.org/support/users/tobiasbg/) seems to be wp core
   as it is not resolved by disabling all plugins
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/bug-shortcode-doesnt-render/#post-16188900)
 * Hi,
 * TablePress uses both `add_shortcode()` and `apply_shortcodes()`, as they are 
   used for different purposes. `add_shortcode()` is used to register the `[table]`
   Shortcode, while `apply_shortcodes()` (or rather `do_shortcode()`, for which 
   that is an alias function) is used to evaluate other Shortcodes in table cells.
 * I highly doubt that this is a problem in WordPress Core. Many, many more sites
   would then show this problem, and not just yours.
 * It could also be a problem with PHP on your server, e.g. if regular expression
   parsing in it is somehow broken.
 * Therefore, please try if other Shortcodes work. Also, please check the server
   error log files. And finally, please try with everything updated. If it’s not
   yet possible to update your main site, maybe set up a test site with the same
   versions of everything (but installed from a fresh download) on the same server.
 * Regards,
    Tobias
 *  Thread Starter [Rookie](https://wordpress.org/support/users/alriksson/)
 * (@alriksson)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/bug-shortcode-doesnt-render/#post-16199447)
 * This plugin’s Shortcode work just fine [https://wordpress.org/plugins/shortcoder/](https://wordpress.org/plugins/shortcoder/)
 * Couldn’t find any worrying in the log that’s causing this but see the two here:
 * Just a plugin using a array instead of a string calling `wp_option`
 *     ```
       [Tue Nov 15 00:14:19.232370 2022] [proxy_fcgi:error] [pid 9588:tid 140445765957376] [client 127.0.0.1:26656] AH01071: Got error 'PHP message: PHP Warning: trim() expects parameter 1 to be string, array given in /mnt/data/home/example.cloudwaysapps.com/example/public_html/wp-includes/class-wp-query.php on line 779',
       ```
   
 *     ```
       [Mon Nov 14 08:54:59.952469 2022] [proxy_fcgi:error] [pid 11619:tid 140445371500288] [client 127.0.0.1:48064] AH01071: Got error 'PHP message: objectcache.error: Failed to execute<code>SET</code>commandPHP message: objectcache.error: read error on connection to tcp://127.0.0.1:6379PHP message: objectcache.error: Failed to execute<code>GET</code>commandPHP message: objectcache.error: read error on connection to tcp://127.0.0.1:6379'
       ```
   
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/bug-shortcode-doesnt-render/#post-16200030)
 * Hi,
 * can you contact me by email (the address is on [https://tablepress.org/impressum/](https://tablepress.org/impressum/))
   so that we can look at this?
 * Regards,
    Tobias

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Bug shortcode doesn’t render’ is closed to new replies.

 * ![](https://ps.w.org/tablepress/assets/icon.svg?rev=3192944)
 * [TablePress - Tables in WordPress made easy](https://wordpress.org/plugins/tablepress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tablepress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tablepress/)
 * [Active Topics](https://wordpress.org/support/plugin/tablepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tablepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tablepress/reviews/)

 * 10 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [3 years, 6 months ago](https://wordpress.org/support/topic/bug-shortcode-doesnt-render/#post-16200030)
 * Status: resolved