Title: TypeError: r is undefined
Last modified: August 22, 2016

---

# TypeError: r is undefined

 *  Resolved [BenM](https://wordpress.org/support/users/alysko/)
 * (@alysko)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/typeerror-r-is-undefined/)
 * Hi,
 * I have an error on your JS library :
 *     ```
       TypeError: r is undefined
       Source : http://my-intranet-website.null/wp-content/plugins/tablepress/js/jquery.datatables.min.js?ver=1.4
       Line 27
       ```
   
 * This error occurs even if I deactivate all the other JS libraries (except jquery
   of course).
 * [https://wordpress.org/plugins/tablepress/](https://wordpress.org/plugins/tablepress/)

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

 *  Thread Starter [BenM](https://wordpress.org/support/users/alysko/)
 * (@alysko)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/typeerror-r-is-undefined/#post-5234546)
 * And I have no JS error with the last version of jquery.datatables.min.js (1.10.2,
   from DataTables website). Unfortunatly, it doesn’t work fine because of changing
   in naming convention in 1.10.
 *  Thread Starter [BenM](https://wordpress.org/support/users/alysko/)
 * (@alysko)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/typeerror-r-is-undefined/#post-5234547)
 * The un-minified JS give me :
 *     ```
       TypeError: nCell is undefined
       http://my-intranet.null/wp-content/plugins/tablepress/js/jquery.datatables.min.js?ver=1.4
       Line 643
       ```
   
 * which is :
 *     ```
       /* Classes */
       if ( bClass ) {
        nCell.className += ' '+oCol.sClass;
       }
       ```
   
 *  Thread Starter [BenM](https://wordpress.org/support/users/alysko/)
 * (@alysko)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/typeerror-r-is-undefined/#post-5234555)
 * Ok, incompatibility with rowspan…
 *  Thread Starter [BenM](https://wordpress.org/support/users/alysko/)
 * (@alysko)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/typeerror-r-is-undefined/#post-5234556)
 * not really resolved.
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/typeerror-r-is-undefined/#post-5234707)
 * Hi,
 * thanks for your post, and sorry for the trouble, as well as for the late answer.
   As I was on vacation, I didn’t have a chance to reply earlier.
 * Yes, the reason for this that the DataTables JS library does not work in tables
   that use rowspan or colspan, unfortunately.
    You will have to decide what’s more
   important, either combined cells, or the features of DataTables. You can not 
   have both, unfortunately.
 * Regards,
    Tobias

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

The topic ‘TypeError: r is undefined’ 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

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

 * 5 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/typeerror-r-is-undefined/#post-5234707)
 * Status: resolved