Thread Starter
mowill
(@mowill)
I had to roll my website back and remove the WordPress 4.5 update.
Now I have the search box back, I can now sort the columns headings again and I have pagination back.
Please let me know when there is an update to the TablePress plugin.
Dear mowill,
you can fix this problem.
You must go to you templates functions and in file function.php – them funfctions add this fix:
function modify_jquery_version() {
if (!is_admin()) {
wp_deregister_script('jquery');
wp_register_script('jquery',
'http://ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.min.js', false, '2.0.s');
wp_enqueue_script('jquery');
}
}
add_action('init', 'modify_jquery_version');
Hi,
thanks for your question, and sorry for the trouble.
This indeed indicates a JavaScript problem, likely related to jQuery.
However, please don’t follow maksky’s suggestion here. That will make things even worse! You would run into even more problems in the future. One should never use a different version of jQuery than what ships with WordPress. maksky, please also don’t do this on your site! (Trust me, I do have the experience to know better here.)
mowill, please update to WordPress 4.5 again and then post a link to the page with the table where things are broken. I will gladly take a look!
Regards,
Tobias
Thread Starter
mowill
(@mowill)
Thanks Tobias.
I am running a membership website so I cannot provide a public link to the page with the table list. Send me an email address where I can reply to you directly and I will give you a login to my website.
Hi,
yes, let’s do that then. You can find my email address in the main plugin file “tablepress.php”.
Regards,
Tobias
Hi,
thanks for the email and for updating everything again.
I now found this JavaScript error message that’s causing this (and not TablePress):
Uncaught Error: Syntax error, unrecognized expression: a[href*=#]
This is raised by the line
jQuery('a[href*=#]').avia_smoothscroll();
in the file /wp-content/themes/choices/js/avia.js which belongs to your theme. I can therefore only suggest that you contact the theme developer about this. They need to fix this JS code to make it compatible with the latest version of jQuery.
Regards,
Tobias
Thread Starter
mowill
(@mowill)
I updated my WordPress Theme and Updated to WordPress 4.5 and all seems to be working fine now. Thanks Tobias for all your help and the quick response.
Hi,
no problem, you are very welcome! 🙂 Good to hear that this helped and that your theme already has a working update available!
Best wishes,
Tobias
P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!