Saltar navegación

[Resuelto] I'm getting a WPViews is not defined error

This support ticket is created hace 6 años, 1 mes. 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 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

Este tema contiene 2 respuestas, tiene 2 mensajes.

Última actualización por Glenn hace 6 años.

Asistido por: Minesh.

Autor
Mensajes
#1153541

We've used types to set up an offices section. On the front end of our site we've created an office locator with map. for some reason we get some errors when looking at chrome console.

We feel like its the order of the loading that is causing the error. If you can have a peak and point us in the right direction, or provide some insight into some best practices we've missed it would be much appreciated.

#1153746

Minesh
Supporter

Idiomas: Inglés (English )

Zona horaria: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Well - first of all, after checking to debug information you shared with me I found that you are using really old PHP version 5.4.45.

Could you please update your PHP version to at least PHP 5.6.X or PHP 7.X.X and try to resolve your issue.

Even WordPress also recommends to use PHP 7.2:
=> https://wordpress.org/about/requirements/

After updating PHP version if your issue still persists, I would like to know where exactly you see the error? Is it possible for you to share problem URL with me?

#1176400

Hi Minesh, Happy New Year (:

I've changed the PHP version to 7.2 and we are still getting the error currently

Any ideas where we went wrong with the implementation would be greatly appreciated.

Thanks for your time and talk soon