Title: Shortcode before formula stopped (sort of)
Last modified: August 21, 2016

---

# Shortcode before formula stopped (sort of)

 *  Resolved [Michael](https://wordpress.org/support/users/taloscent/)
 * (@taloscent)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/shortcode-before-formula-stopped-sort-of/)
 * Hello,
    Wordpress v3.8.2 Tablepress v1.3 TablePress Extension: Parse Shortcodes
   before Formulas v1.0
 * I have used =[shortcode] in previous tables and those still work. Creating new
   tables with this same syntax now errors out with !ERROR! illegal character ‘[‘.
 * I have disabled all other plugins and it still is showing same error. It also
   does not appear to be a theme issue.
 * Any ideas? Thanks
 * [https://wordpress.org/plugins/tablepress/](https://wordpress.org/plugins/tablepress/)

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

 *  Thread Starter [Michael](https://wordpress.org/support/users/taloscent/)
 * (@taloscent)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/shortcode-before-formula-stopped-sort-of/#post-4807549)
 * Followup:
    When previewing an older working table it also errors with !ERROR!
   illegal character ‘[‘ but the actual page display works.
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/shortcode-before-formula-stopped-sort-of/#post-4807567)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * Is the Extension still activated? And did you add the required parameter to the
   Shortcodes?
 * Regards,
    Tobias
 *  Thread Starter [Michael](https://wordpress.org/support/users/taloscent/)
 * (@taloscent)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/shortcode-before-formula-stopped-sort-of/#post-4807573)
 * Yes to both. Would you like admin login?
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/shortcode-before-formula-stopped-sort-of/#post-4807580)
 * Hi,
 * yes, that would probably be good. Please create a temporary admin account for
   me and send me the details via email (the address is in the main plugin file “
   tablepress.php”). That way, I can investigate this directly.
 * Regards,
    Tobias
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/shortcode-before-formula-stopped-sort-of/#post-4807760)
 * Hi,
 * thanks for the account! I now had the time to take a look at this.
    From what
   I can see, the Extension is installed and activated, but the necessary parameter
   was not added to the Shortcode. I fixed this now by globally enabling that parameter,
   so that Shortcodes in table cells will always be evaluated before formulas. The
   table from the link you sent me does work again now 🙂
 * Regards,
    Tobias
 *  Thread Starter [Michael](https://wordpress.org/support/users/taloscent/)
 * (@taloscent)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/shortcode-before-formula-stopped-sort-of/#post-4807761)
 * I am confused. Are you saying that the shortcode of [tuitionrate] was not correct?
   What do you mean by …”but the necessary parameter was not added to the Shortcode.”
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/shortcode-before-formula-stopped-sort-of/#post-4807762)
 * Hi,
 * no, that one is fine. The `[table]` Shortcode needed the parameter `shortcodes_before_formulas
   =true` to actually enable the Extension’s functionality on that table. Instead
   of adding that to the table, I simply modified the Extension so that this parameter
   is now implied automatically on your site.
 * Regards,
    Tobias
 *  Thread Starter [Michael](https://wordpress.org/support/users/taloscent/)
 * (@taloscent)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/shortcode-before-formula-stopped-sort-of/#post-4807763)
 * I see. So to understand then the problem is that the plugin should have added
   that when it was activated and for some reason did not?
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/shortcode-before-formula-stopped-sort-of/#post-4807779)
 * Hi,
 * not directly. The Extension just registers that parameter (with a default value
   of “false”) and makes it available in the Shortcode. One can then set the parameter
   to “true” in the Shortcode for those tables where Shortcodes shall be evaluated
   before formulas. (This is not the default, as there can be a small performance
   penalty in tables where there are no formulas for which this might be necessary.)
   
   With the small code change I now simply set the default value to “true”, so that
   the parameter does not have to be added manually. I guess this I should finally
   write the documentation for this on the Extension’s web page…
 * Regards,
    Tobias

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

The topic ‘Shortcode before formula stopped (sort of)’ 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/)

 * 9 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/shortcode-before-formula-stopped-sort-of/#post-4807779)
 * Status: resolved