Title: JavaScript conflict with Tablepress
Last modified: May 22, 2026

---

# JavaScript conflict with Tablepress

 *  [crowesnest](https://wordpress.org/support/users/crowesnest/)
 * (@crowesnest)
 * [5 days, 6 hours ago](https://wordpress.org/support/topic/javascript-conflict-with-tablepress/)
 * I have a table with pagination using the Tablepress plugin. I get a JavaScript
   error when using it with the Events Calendar plugin. Pagination will not work
   properly in Tablepress with the Events Calendar enabled.
 * “jquery.min.js?ver=3.7.1:2 Uncaught TypeError: Cannot read properties of undefined(
   reading ‘_select’)”
 * If I disable the Events Calendar plugin the pagination in TablePress works okay.

Viewing 1 replies (of 1 total)

 *  Thread Starter [crowesnest](https://wordpress.org/support/users/crowesnest/)
 * (@crowesnest)
 * [4 days, 7 hours ago](https://wordpress.org/support/topic/javascript-conflict-with-tablepress/#post-18916794)
 * I received this reply from Tablepress support regarding the JavaScript conflict.
 * Here is their reply:
 * From what I can see, “The Events Calendar” is also loading a copy of the JavaScript
   code of the DataTables JavaScript library on the page. This is the external code
   library that TablePress uses to add e.g. sorting, searching, and pagination.
 * TablePress currently ships with the newest version 2.3.8 of that library. However,“
   The Events Calendar” loads the VERY old version 1.13.8 . This old version then
   interferes with TablePress as it breaks the modern integration. In addition, 
   it loads that despite not even printing any table or events on that page, which
   obviously is wasteful and bad for performance.
 * So, I’m afraid that this is something that will need to be fixed in “The Events
   Calendar”: They should not only ship a modern version of the DataTables library,
   but they should then also only load it if it’s actually needed on the page.
 * Can you fix this please?

Viewing 1 replies (of 1 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fjavascript-conflict-with-tablepress%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/the-events-calendar/assets/icon-256x256.gif?rev=2516440)
 * [The Events Calendar](https://wordpress.org/plugins/the-events-calendar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/the-events-calendar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/the-events-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/the-events-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/the-events-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/the-events-calendar/reviews/)

## Tags

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

 * 1 reply
 * 1 participant
 * Last reply from: [crowesnest](https://wordpress.org/support/users/crowesnest/)
 * Last activity: [4 days, 7 hours ago](https://wordpress.org/support/topic/javascript-conflict-with-tablepress/#post-18916794)
 * Status: not resolved