Title: DataTable Error
Last modified: October 31, 2022

---

# DataTable Error

 *  Resolved [mypackage](https://wordpress.org/support/users/mypackage/)
 * (@mypackage)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/datatable-error-2/)
 * DataTables warning: table id=tablepress-163 – Cannot reinitialise DataTable. 
   For more information about this error, please see [http://datatables.net/tn/3](http://datatables.net/tn/3)
 * Hope you are doing great! I have over 150 tables. Whenever I visit a post, this
   error pops up. Please help me fix it! I can give you access to my Website if 
   required.
    Thanks a lot.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdatatable-error-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/datatable-error-2/#post-16150648)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * This seems to be caused by some Lazy Loading feature of WP-Rocket. Please try
   again after turning that off.
 * Regards,
    Tobias
 *  Thread Starter [mypackage](https://wordpress.org/support/users/mypackage/)
 * (@mypackage)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/datatable-error-2/#post-16150695)
 * Hi, Thanks for the quick reply,
    I have deactivated WP-Rocket and another speed
   optimization plugin(Jetpack Boost)! The error is still there!
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/datatable-error-2/#post-16150739)
 * Hi,
 * there still seems to be some script loader (from Cloudflare?) active, that seems
   to be causing `<script>` tags like
 *     ```
       <script type="09a165a81602118fd3ee4756-text/javascript">
       jQuery(function($){
       $('#tablepress-93').dataTable({"stripeClasses":["even","odd"],"ordering":false,"paging":false,"searching":false,"info":false});
       });
       </script><script type="09a165a81602118fd3ee4756-text/javascript">
       jQuery(function($){
       $('#tablepress-93').dataTable({"stripeClasses":["even","odd"],"ordering":false,"paging":false,"searching":false,"info":false});
       });
       </script>
       ```
   
 * which means that they are duplicated.
 * Regards,
    Tobias
 *  Thread Starter [mypackage](https://wordpress.org/support/users/mypackage/)
 * (@mypackage)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/datatable-error-2/#post-16150813)
 * Hi, Thanks for the hint about the script loader!
    I deactivated the plugin “Easy
   Table Of Contents” and the error has been fixed. Ps: Is there any way I can make
   the plugin work without an error popping up? If I manually add a shortcode into
   my posts to display T.O.C and do not let the plugin automatically place the table,
   would it work correctly? Thank You, Tobias!
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/datatable-error-2/#post-16150829)
 * Hi,
 * what do you mean by “let the plugin automatically place the table”? TablePress
   does not actually do that, you would always have to add the table via the Shortcode.
 * Now, you could try the TablePress 2.0 test version from [https://tablepress.org/8-million-downloads-tablepress-2-0/](https://tablepress.org/8-million-downloads-tablepress-2-0/)
   here. It has a bit of extra protection against this exact problem of that DataTables
   error, so maybe that already helps.
 * Regards,
    Tobias

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

 The topic ‘DataTable 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/)

 * 5 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [3 years, 11 months ago](https://wordpress.org/support/topic/datatable-error-2/#post-16150829)
 * Status: resolved