• Resolved buergervonrado

    (@buergervonrado)


    Hi Tobi,

    yes, I use this fantastic plugin, too. A donaiton will come soon, realley.
    But now after the update to 1.8 I get an warning in the frontpage, I do not understand and do not know what to do.
    See as follow.

    DataTables warning (table id = ‘wp-table-reloaded-id-13-no-1’): Cannot reinitialise DataTable.

    To retrieve the DataTables object for this table, please pass either no arguments to the dataTable() function, or set bRetrieve to true. Alternatively, to destory the old table and create a new one, set bDestroy to true (note that a lot of changes to the configuration can be made through the API which is usually much faster).

    to see this problem visit my page, choose each post (excluding the news section) https://www.hybridelektroauto.com

    Let me say: my project “steht und f?llt mit deiner Tabelle” ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your question.

    This is an error in your theme: In the file “footer.php” it contains two calls to wp_footer();.
    Because of that, the DataTables script is basically applied twice to a table. Up the latest version, this did not matter, but due to a few changes in the latest version, the mentioned error message appears.

    So, all you need to do is, remove one of the two wp_footer(); calls from the footer.php of your theme, and everything should be back to normal ??

    Best wishes,
    Tobias

    Thread Starter buergervonrado

    (@buergervonrado)

    OMG

    Thank you so much Tobi! Well, yes the footer, I’ve made some changes befor…

    Thanks for your prompt help!

    Thomas

    How did you find that repeat/misplacement of code?
    I had the same issues.. And removing the footer caller solved my problem as well.
    Thx – Andreas

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    I could see that there was code repeated in the HTML source of his page, and that code could only come from the duplicate wp_footer(); calls.

    And: You should only remove the wp_footer(); if is a duplicate! At least one wp_footer(); should always be in the footer.php!

    Regards,
    Tobias

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi Thomas,

    I had a very nice book in my mail today, from my Amazon wishlist ?? Thank you very much for this present, I really appreciate it!

    Best wishes,
    Tobias

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: WP-Table Reloaded] DataTables warning after update from 1.7 to 1.8’ is closed to new replies.