Hi,
thanks for your post, and sorry for the trouble.
I don’t really know what could be causing this, but if you post a link to the page with the table where this happens, I’ll gladly take a direct look!
Regards,
Tobias
Thread Starter
zech46
(@zech46)
Tobias
Here is the link.
http://pctweaking.com/?page_id=207
When you click OK in the error box, it clears and you can continue to view the table. Happens on all my tables, on this site.
I never had this problem before, only noticed this past week.
Thank you for your time.
Thread Starter
zech46
(@zech46)
Tobias
I forgot to mention.
My host server recently updated:
MySQL from version 5.1 to version 5.5 as well as the Apache and PHP 5.3 releases.
I don’t know if this is an issue.
Gerald
Hi Gerald,
thanks for the link!
From what I can see, the JavaScript that loads the DataTables functions is called twice on your site, and that leads to this error.
One possible reason might be that your theme loads the footer code twice. To check that, please check if the file “footer.php” of your theme contains a line like
wp_footer();
more than once.
Another quick test would be to temporarily switch to the WordPress default theme TwentyTwelve, to see if the error message comes up there. If not, we know that the issue is in your theme. If yes, there’s probably a conflict with another plugin somewhere.
Regards,
Tobias
Thread Starter
zech46
(@zech46)
Thanks for the support Tobias,
Yes, I had Inadvertently inserted <?php wp_footer(); ?> twice when I was editing my footer.php file. So just deleted the extra <?php wp_footer(); ?>.
No more js error box.
I wish all my tech issues was as simple as that.
I really enjoy using TablePress.
Gerald
Hi Gerald,
very nice! Great to hear that this indeed fixed the issue! 🙂
Best wishes,
Tobias
P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!