Title: JavaScript error when using pagination
Last modified: May 22, 2026

---

# JavaScript error when using pagination

 *  [crowesnest](https://wordpress.org/support/users/crowesnest/)
 * (@crowesnest)
 * [18 hours, 43 minutes ago](https://wordpress.org/support/topic/javascript-error-when-using-pagination/)
 * <span style=”background-color: rgb(251, 251, 251); font-family: Inter, sans-serif;
   white-space: normal;”>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.</span>
 * “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.
 *  The Events Calendar works with no problems.

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [18 hours, 27 minutes ago](https://wordpress.org/support/topic/javascript-error-when-using-pagination/#post-18916213)
 * Hi [@crowesnest](https://wordpress.org/support/users/crowesnest/),
 * Thanks for your post and sorry for the trouble!
 * Can you please post a link to the page with the table where this problem happens,
   so that I can take a direct look? Thanks!
 * Best wishes,
   Tobias
 *  Thread Starter [crowesnest](https://wordpress.org/support/users/crowesnest/)
 * (@crowesnest)
 * [18 hours, 23 minutes ago](https://wordpress.org/support/topic/javascript-error-when-using-pagination/#post-18916220)
 * Thanks for the quick response. Here is the link
 * [https://www.manitobaprairiequilters.ca/library/](https://www.manitobaprairiequilters.ca/library/)
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [14 hours, 52 minutes ago](https://wordpress.org/support/topic/javascript-error-when-using-pagination/#post-18916383)
 * Hi,
 * Thanks for the link, that helps a lot!
 * 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](https://www.manitobaprairiequilters.ca/wp-content/plugins/the-events-calendar/common/vendor/datatables/datatables.min.js).
   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.
 * Best wishes,
   Tobias

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

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

 * ![](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/)

 * 3 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [14 hours, 52 minutes ago](https://wordpress.org/support/topic/javascript-error-when-using-pagination/#post-18916383)
 * Status: not resolved