Title: Use with Timber
Last modified: August 31, 2016

---

# Use with Timber

 *  Resolved [Dave Naylor](https://wordpress.org/support/users/wpranger/)
 * (@wpranger)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/use-with-timber/)
 * I’m setting up a theme that’s uses [Timber](https://github.com/timber/timber)
   and whenever I try and view a twig templated page with a table I get re-initialisation
   errors.
 * The pop-up dialogue points me here:
 * [https://datatables.net/manual/tech-notes/3](https://datatables.net/manual/tech-notes/3)
 * I’ve tried some of the solutions on that page without success.
 * TablePress also uses datatables yet doesn’t have the same error. How can I best
   allow wpDatatables to play nice with Timber?
 * [https://wordpress.org/plugins/wpdatatables/](https://wordpress.org/plugins/wpdatatables/)

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

 *  Plugin Author [wpDataTables](https://wordpress.org/support/users/wpdatatables/)
 * (@wpdatatables)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/use-with-timber/#post-7447297)
 * Hi there,
 * Not sure what happens – the error says that the table is already initialised,
   would need to see the URL to understand what happens. Probably the JS gets inserted
   twice, but unfortunately we didn’t work with Timber to tell you for sure. Can
   you publish an URL?
 * Also if you use both TablePress and wpDataTables at the same time it might happen
   that the DataTables library is added twice and this causes the error.
 *  Thread Starter [Dave Naylor](https://wordpress.org/support/users/wpranger/)
 * (@wpranger)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/use-with-timber/#post-7447324)
 * My bad, it wasn’t Timber that was creating the pop-up.
 * I set up a vanilla install with only Timber and WPdatatables installed. Everything
   was fine. I then realised that on my previous development installation I had 
   the Query Monitor plugin activated. De-activating that plugin eliminated the 
   pop-up.
 * Thanks for the quick response.
 *  Thread Starter [Dave Naylor](https://wordpress.org/support/users/wpranger/)
 * (@wpranger)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/use-with-timber/#post-7447325)
 * Marking this as resolved.

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

The topic ‘Use with Timber’ is closed to new replies.

 * ![](https://ps.w.org/wpdatatables/assets/icon-128x128.gif?rev=3010404)
 * [wpDataTables - WordPress Data Table, Dynamic Tables & Table Charts Plugin](https://wordpress.org/plugins/wpdatatables/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpdatatables/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpdatatables/)
 * [Active Topics](https://wordpress.org/support/plugin/wpdatatables/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpdatatables/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpdatatables/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Dave Naylor](https://wordpress.org/support/users/wpranger/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/use-with-timber/#post-7447325)
 * Status: resolved