Hello, we recently noticed that an image on a product page is missing (as is a buy button) when we check the box to “Enable Visitor Features”. I noticed a javascript error around flexslider. When I disable the checkbox and re-save, the error goes away and the image appears.
I just updated to TablePress 2.1.8 but I’m afraid that didn’t help. Here are some images below. Note I unchecked the box to make the problem go away on the url provided, but can turn it back on if necessary for troubleshooting.
Thank you.
The page I need help with: [log in to see the link]
The cause for this is that your site (i.e. another plugin or your theme) is loading an extra (but outdated) copy of the jQuery JavaScript library, that both TablePress and FlexSlider (and many other plugins) use.
Apparently, that outdated version is causing a conflict.
You will need to find what’s adding that extra copy and adjust that to also use the version of jQuery that comes with WordPress. As a first step, I recommend to turn off things like optimization or page speed plugins, as you might then get more detailed error messages (with indications about which plugin/theme a file is coming from).
Hi there, I finally managed to update my jquery distribution from 3.4.1 to 3.7.1 but I still appear to get the same error, only when I check the box to “Enable Visitor Features” (Offer the following functions for site visitors with this table:). Can you think of anything else that might be causing this problem? Thank you.
it seems that your site is still loading an extra version of jQuery, which you must not do. Instead, everything should use the version that comes with WordPress, and it should load that via the WordPress wp_enqueue_script() API functions.
To find out more, please deactivate all JavaScript optimization and minification plugins for a test, please.
Tobias, you were right, I don’t know why, but our functions.php was not using the default built in jquery and trying to load our own version. I will try changing it to using wp_enqueue_script(‘jquery’) to keep the built in version and see if that has any problems.