Title: DataTable warning &#8211; Cannot reinitialise DataTable
Last modified: April 16, 2025

---

# DataTable warning – Cannot reinitialise DataTable

 *  Resolved [martinalalli](https://wordpress.org/support/users/martinalalli/)
 * (@martinalalli)
 * [12 months ago](https://wordpress.org/support/topic/datatable-warning-cannot-reinitialise-datatable/)
 * Ogni volta che creo o modifico una tabella utilizzando TablePress, sul mio sito
   appare il seguente errore:
 * **“DataTable warning – Cannot reinitialise DataTable.”**
 * Questo errore sembra verificarsi ogni volta che interagisco con una tabella creata
   o modificata.
 * Avete qualche suggerimento su come risolvere questo problema?
   Grazie

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [12 months ago](https://wordpress.org/support/topic/datatable-warning-cannot-reinitialise-datatable/#post-18420009)
 * Hi!
 * Thanks for your post and sorry for the trouble!
 * This indicates that something on the site causes the code to run twice. Can you
   please send me 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 [martinalalli](https://wordpress.org/support/users/martinalalli/)
 * (@martinalalli)
 * [12 months ago](https://wordpress.org/support/topic/datatable-warning-cannot-reinitialise-datatable/#post-18421275)
 * Ciao,
 * il link è il seguente: [https://www.confintesa.it/wordpress/le-sedi/sedi-provinciali/](https://www.confintesa.it/wordpress/le-sedi/sedi-provinciali/)
 * Il problema si verifica ogni volta che si crea/modifica una tabella.
 * Grazie in anticipo.
   Saluti
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [12 months ago](https://wordpress.org/support/topic/datatable-warning-cannot-reinitialise-datatable/#post-18421748)
 * Hi,
 * Thanks for the link! From what I can see, the WP-Optimize plugin that you are
   using is somehow embedding the TablePress code twice, at the end of the file 
   [https://www.confintesa.it/wordpress/wp-content/cache/wpo-minify/1744362339/assets/wpo-minify-footer-ad9a1b62.min.js](https://www.confintesa.it/wordpress/wp-content/cache/wpo-minify/1744362339/assets/wpo-minify-footer-ad9a1b62.min.js)
 * This is causing this JavaScript error. I therefore recommend checking the WP-
   Optimize configuration, and maybe exclude that inline JS is moved to a file.
 * Best wishes,
   Tobias
 *  Thread Starter [martinalalli](https://wordpress.org/support/users/martinalalli/)
 * (@martinalalli)
 * [11 months, 3 weeks ago](https://wordpress.org/support/topic/datatable-warning-cannot-reinitialise-datatable/#post-18429514)
 * Buongiorno,
 * grazie per la risposta. Può indicarmi la procedura per poter risolvere il problema?
 * Grazie
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [11 months, 3 weeks ago](https://wordpress.org/support/topic/datatable-warning-cannot-reinitialise-datatable/#post-18429590)
 * Hi,
 * unfortunately, I can only really recommend playing with the WP-Optimize settings
   related to JavaScript minification and caching. As I don’t use that plugin myself,
   I don’t know which specific options are involved, sorry.
 * Best wishes,
   Tobias

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

The topic ‘DataTable warning – Cannot reinitialise DataTable’ 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: [11 months, 3 weeks ago](https://wordpress.org/support/topic/datatable-warning-cannot-reinitialise-datatable/#post-18429590)
 * Status: resolved