Passer la navigation

[Résolu] Browser errors were logged to the console with WP Views

This support ticket is created Il y a 1 year, 3 months. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Fuseau horaire du supporter : Asia/Kolkata (GMT+05:30)

Ce sujet contient 1 reply, a 1 voix.

Dernière mise à jour par JorgeE7101 Il y a 1 year, 3 months.

Assisté par: Minesh.

Auteur
Publications
#2797859

Hello. I'm having this issue with the Views and this is flagged as a red warning with pagespeed.

Browser errors were logged to the console

ReferenceError: wpv_pagination_local is not defined at new a.ViewFrontendUtils (lien caché) at HTMLDocument.<anonymous> (lien caché) at e (lien caché) at t (lien caché)

Can you, please, have a look and let me know how to solve it?

Thanks.

#2797879

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

We do not recomond to cache or minify the views-frontend.js file that is why you may see that the speed optimizer plugin added that in to warning section.

Here is the Doc that you should follow and check what files should be not added to cache or minify:
=> https://toolset.com/faq/how-to-use-optimization-plugins-with-toolset/

So you can ignore that warning and pleaes check the following related ticket that might help you to understand what files you should exclude from cache or minify:
=> https://toolset.com/forums/topic/split-filtering-views-for-specific-pages/page/2/#post-2766382

#2797926

Looks like I needed to exclude jquery.min.js from being deferred.