Title: TablePress Javascript error
Last modified: August 21, 2016

---

# TablePress Javascript error

 *  Resolved [tremblayly](https://wordpress.org/support/users/tremblayly/)
 * (@tremblayly)
 * [13 years ago](https://wordpress.org/support/topic/tablepress-javascript-error/)
 * I use TablePress v1.0 (migrated from WP Table Reloaded) plugin on my WooCommerce
   product page. I also have a Gravity Form and a WooCommerce Gravity Form Addons
   plugins on that same page. When the TablePress plugin is deactive I get the total
   on that page display; however, when I the TablePress plugin is active it does
   not display.
 * WooCommerce support said they see the following Javascript error generated by
   TablePress.
 * [https://www.dropbox.com/s/n59myz1vzv2srdv/TablePress%20JS%20error.jpg](https://www.dropbox.com/s/n59myz1vzv2srdv/TablePress%20JS%20error.jpg)
 * Thanks
    Lyse
 * [http://wordpress.org/extend/plugins/tablepress/](http://wordpress.org/extend/plugins/tablepress/)

Viewing 8 replies - 16 through 23 (of 23 total)

[←](https://wordpress.org/support/topic/tablepress-javascript-error/?output_format=md)
[1](https://wordpress.org/support/topic/tablepress-javascript-error/?output_format=md)
2

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [13 years ago](https://wordpress.org/support/topic/tablepress-javascript-error/page/2/#post-3733428)
 * Hi,
 * thanks for the link! That helps a lot!
 * In your case, the reason for the problem is that you have combined cells in the
   head row of the table (via `#colspan#`) and that you are using the Features of
   the DataTables JS library (like sorting and search) on this table.
    Unfortunately,
   the external DataTables JavaScript library does not support tables with such 
   combined cells. You will therefore have to decide: Either remove all `#colspan#`
   from the table, or stop using the features of the DataTables JS library.
 * Regards,
    Tobias
 *  [Darek L](https://wordpress.org/support/users/darekl/)
 * (@darekl)
 * [13 years ago](https://wordpress.org/support/topic/tablepress-javascript-error/page/2/#post-3733429)
 * tremblayly,
 * The javascript error:
 *     ```
       Unknown RPC service: widget-interactive-I0_
       ```
   
 * is not related to the TablePress code like WooCommerce support said. It’s google
   button issue.
 * However, I see other error:
 *     ```
       TypeError: g[(f - d)] is undefined
       [Break On This Error] 	
   
       ....parentNode;h.appendChild(b);""!==a.oScroll.sX&&""!==a.oScroll.sXInner?b.style.w...
       ```
   
 * Regards,
    Darek
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [13 years ago](https://wordpress.org/support/topic/tablepress-javascript-error/page/2/#post-3733430)
 * Hi Darek,
 * that error with the widget is not actually an error, but more like an informative
   message, I think.
 * The other error (that breaks the JS) is related to TablePress, and the reason
   is the usage of combined cells in a table that uses DataTables features.
 * Regards,
    Tobias
 *  [Darek L](https://wordpress.org/support/users/darekl/)
 * (@darekl)
 * [13 years ago](https://wordpress.org/support/topic/tablepress-javascript-error/page/2/#post-3733432)
 * Yes Tobias, The first one is not a big issue, the second one looks more seriously
   and breaks javascript.
 *  Thread Starter [tremblayly](https://wordpress.org/support/users/tremblayly/)
 * (@tremblayly)
 * [13 years ago](https://wordpress.org/support/topic/tablepress-javascript-error/page/2/#post-3733433)
 * Hi Tobias,
 * I have disabled the external DataTables JavaScript library and kept my #colspan#
   in my header. I refreshed my page and all works perfectly and as expected!
 * You are absolutely correct Tobias. My problem is solved.
 * Thank you so very much.
 * Lyse
 *  [Darek L](https://wordpress.org/support/users/darekl/)
 * (@darekl)
 * [13 years ago](https://wordpress.org/support/topic/tablepress-javascript-error/page/2/#post-3733434)
 * However tremblayly can use colspan… but done by CSS trick 😉 Like smart hiding
   some borders 😉 It will not be colspan (in the code) but for end-user it will
   be seen as colspan 😉 So there is no need to turn off DataTables features 😉
 *  [Darek L](https://wordpress.org/support/users/darekl/)
 * (@darekl)
 * [13 years ago](https://wordpress.org/support/topic/tablepress-javascript-error/page/2/#post-3733435)
 * …but there is need little more CSS work 😉
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [13 years ago](https://wordpress.org/support/topic/tablepress-javascript-error/page/2/#post-3733443)
 * Hi Lyse,
 * great to hear that this helped! 🙂 That’s really nice!
 * Darek: Doing this with CSS is not really possible in this case, I think. The 
   reason is that the text in the middle cell in the head row is wider than the 
   cells in the second row. This will therefore lead to weird spacing, without the
   usage of `#colspan#`.
 * Best wishes,
    Tobias
 * P.S.: In case you haven’t, please [rate TablePress](http://wordpress.org/support/view/plugin-reviews/tablepress)
   here in the plugin directory. Thanks!

Viewing 8 replies - 16 through 23 (of 23 total)

[←](https://wordpress.org/support/topic/tablepress-javascript-error/?output_format=md)
[1](https://wordpress.org/support/topic/tablepress-javascript-error/?output_format=md)
2

The topic ‘TablePress Javascript error’ 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/)

## Tags

 * [javascript error](https://wordpress.org/support/topic-tag/javascript-error/)

 * 23 replies
 * 3 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [13 years ago](https://wordpress.org/support/topic/tablepress-javascript-error/page/2/#post-3733443)
 * Status: resolved