WP Rocket Main Menu conflict

Posted in: Newspaper
Post count: 18283

Hello!

As my colleague mentioned above, we can take a look if you send us an e-mail at contact@tagdiv.com and provide the following:

– admin url and credentials
– A link to this topic in order to identify you

Our team will take a look!

Thank you !

Post count: 112

Hi Vlad,

I can’t risk handing over login details and have someone tinkering on our live site unfortunately as we can’t risk interruption or loss of earnings. But I’m happy to send over error logs again which should help you guys fix the conflict issue with WP Rocket. Here they are:

jQuery.Deferred exception: tdbSearch is not defined ReferenceError: tdbSearch is not defined
at HTMLDocument.<anonymous> (<anonymous>:27:37)
at e (https://www.sprintercampervans.us/wp-includes/js/jquery/jquery.min.js?ver=3.6.0:2:30038)
at t (https://www.sprintercampervans.us/wp-includes/js/jquery/jquery.min.js?ver=3.6.0:2:30340) undefined

jQuery.Deferred exception: tdbSearch is not defined ReferenceError: tdbSearch is not defined
at HTMLDocument.<anonymous> (<anonymous>:68:37)
at e (https://www.sprintercampervans.us/wp-includes/js/jquery/jquery.min.js?ver=3.6.0:2:30038)
at t (https://www.sprintercampervans.us/wp-includes/js/jquery/jquery.min.js?ver=3.6.0:2:30340) undefined

jquery.min.js?ver=3.6.0:2 Uncaught ReferenceError: tdbSearch is not defined
at HTMLDocument.<anonymous> (<anonymous>:27:37)
at e (jquery.min.js?ver=3.6.0:2)
at t (jquery.min.js?ver=3.6.0:2)

Uncaught ReferenceError: tdbSearch is not defined
at HTMLDocument.<anonymous> (<anonymous>:68:37)
at e (jquery.min.js?ver=3.6.0:2)
at t (jquery.min.js?ver=3.6.0:2)

Best,
Alastair

Post count: 18283

Hello!

We are sorry for the inconvenience that you are facing. Please firstly note that WP-Rocket is not a tested plugin. Our developers do help the users that are using this plugin but unfortunately without some investigation this is not possible. We are aware that websites are live and therefore firstly we take a look at logs / inspect the website and see what can be done. Once this “list” is done, we then notify you via e-mail of what we would like to proceed with and we wait for your approval. Only then the work starts. Until then, no changes are made.

Without proper access we are not able to guess what the issue might be unfortunately. The same error code has different meanings / sources on a website.

Thank you for your understanding!

Post count: 112

Did you ever manage to fix this issue??

Post count: 257

i not @Alastair Dixon

Post count: 112

So frustrating – I think it’s something to do with the version of jquery that Newspaper is using. But it’s definitely related to some Newspaper dependent javascript not loading when WP Rocket’s delay javascript execution is set to “on”.

Post count: 35449

Hi,
Unfortunately, for the moment our theme is not working with this option from WP Rocket https://i.imgur.com/bA177gC.png also this plugin was not tested with our theme and I do not know if our suggestions will work or not since we do not have this plugin in our list. Maybe one solution will be to exclude some js files, but I do not know if this will work or not. We recomand to not use that option.
For the moment the only guides for pagespeed with tested plugins that we have are those:
https://forum.tagdiv.com/cache-plugin-install-and-configure/
https://forum.tagdiv.com/cloudflare-cdn/
https://forum.tagdiv.com/autoptimize-install-configuration/
Thank you for your understanding!

Post count: 112

Hi Calin,

Thanks for the reply, many of us have tried excluding javascript files but this for some reason doesn’t work. Please list the header’s dependent javascript files – including live search, drop down menus…

On a final note – please start testing the theme with WP-rocket (the best, and most widely used caching plugin for wordpress)

-Alastair

Post count: 89

Same there ?

Post count: 128

After updating to version 3.9.4 the problem disappeared for me 🙂

Post count: 112

Thanks for the good news! I’ll try the update now. What script exceptions are you using in WP-rocket for delay javascript execution?

Post count: 112

Sadly still not working for me – I used the recommended exceptions below, but till the live search or secondary menus don’t load:

/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js
/jquery-migrate(.min)?.js
/wp-content/plugins/td-composer/legacy/Newspaper/js/tagdiv_theme.min.js
tdBlocksArray

Post count: 128

I removed it and it is ok, on several sites. Check the total blocking time, because earlier in the tests I was under the impression that it matters too, in my case 0 ms.

Post count: 112

So you have no exceptions at all? I’m assuming it won’t work for me in that case as any exceptions added should in theory make it more likely to work.

Are you using drop down menus, and a live search in your header too?

Viewing 14 posts - 26 through 39 (of 39 total)
You must be logged in to reply to this topic.