Title: Datatable mistake
Last modified: February 3, 2019

---

# Datatable mistake

 *  Resolved [lkbl](https://wordpress.org/support/users/lkbl/)
 * (@lkbl)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/datatable-mistake/)
 * Hi there,
 * I have a question regarding a datatable error. I get the following error:
 * “3. Warning: Cannot reinitialise DataTable”
 * Now, I have tried to read up on whats going on in the provided link ([https://datatables.net/manual/tech-notes/3](https://datatables.net/manual/tech-notes/3)),
   but I simply can’t seem to fix it. Is there anyone that can assist me in plain
   english? 🙂
 * Any help is greatly appreciated!
 * Best wishes
    Lars
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdatatable-mistake%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/datatable-mistake/#post-11165179)
 * Hi,
 * thanks for your question, and sorry for the trouble.
 * I can’t really reproduce this. When I go to your link, I don’t see any such error
   and the table features work fine.
    Does this maybe only happen when you are logged-
   in on your site?
 * Regards,
    Tobias
 *  Thread Starter [lkbl](https://wordpress.org/support/users/lkbl/)
 * (@lkbl)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/datatable-mistake/#post-11165304)
 * Hi Tobias,
 * I just tried in inkognito while signed out, and I get the same mistake. I have
   taken a screenshot of the mistake here: [https://imgur.com/a/KawuZD6 ](https://imgur.com/a/KawuZD6)
 * Once I press the “OK” button the post etc. works fine. But obviously our site
   will have a crazy high bounce rate in this post, if this happens.
 * Thanks for you time,
    Best, Lars
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/datatable-mistake/#post-11165575)
 * Hi,
 * ah, now I see the problem (I don’t get the actual warning message, but I can 
   see why it’s there).
    For some reason, the JavaScript code that invokes the DataTables
   JS library features (and some other JavaScript) are loaded twice in the page 
   footer. This indicates that something is wrong in your theme’s “footer.php”. 
   Most likely, some call like
 *     ```
       wp_footer();
       ```
   
 * is in there twice. To verify this, can you please try switching to a WordPress
   default theme like Twenty Sixteen and try again?
 * Regards,
    Tobias

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

The topic ‘Datatable mistake’ 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/)

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