Saltar navegación

[Resuelto] Javascript errors on Custom Fields screens

This support ticket is created hace 3 años, 10 meses. 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
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Etiquetado: 

Este tema contiene 4 respuestas, tiene 2 mensajes.

Última actualización por Kelly hace 3 años, 10 meses.

Asistido por: Shane.

Autor
Mensajes
#1980863

I am trying to:

Change custom fields

Link to a page where the issue can be seen:
enlace oculto

I expected to see:
The custom fields screen

Instead, I got:

Stuck loading bar and the following Javascript errors:

Uncaught TypeError: Unable to process binding "if: function(){return (itemsToShow().length > 0) }"
Message: Unable to process binding "foreach: function(){return itemsToShow }"
Message: Unable to process binding "click: function(){return ToolsetTypes.Utils.Pointer.show($element) }"
Message: $this.pointer is not a function
at Object.showPointer [as show] (pointer.js:41)
at click (eval at parseBindingsString (knockout-3.4.0.js:68), <anonymous>:3:92)
at knockout-3.4.0.js:103
at init (knockout-3.4.0.js:89)
at init (knockout-3.4.0.js:103)
at knockout-3.4.0.js:72
at Object.w (knockout-3.4.0.js:39)
at knockout-3.4.0.js:71
at Object.q (knockout-3.4.0.js:11)
at m (knockout-3.4.0.js:71)

enlace oculto

#1980999

Shane
Supporter

Idiomas: Inglés (English )

Zona horaria: America/Jamaica (GMT-05:00)

Hi Kelly,

Thank you for getting in touch.

An issue like this is normally due to a plugin conflict. What I would recommend that you do is to temporarily disable all your non-toolset plugins and check again to see if the issue still remains.

Once you've done this please let me know.

Thanks,
Shane

#1981041

Hi it looks like it's because I'm using Enable jQuery Migrate Helper to cover for a problem in my theme which hasn't been fixed yet. That's annoying!

#1981043

Shane
Supporter

Idiomas: Inglés (English )

Zona horaria: America/Jamaica (GMT-05:00)

Hi Kelly,

Given that the issue is being caused by the Enable jQuery Migrate Helper plugin, there isn't much we can do about it.

What you can do is to alternate between using the Enable jQuery Migrate Helper plugin when you're not setting up your Toolset custom fields. I'm correct to assume that this issue only occurs when you're on the screen to create the custom fields themselves.

My best advise is to wait until your theme author provides a fix for the theme.

Thanks,
Shane

#1981047

Yeah, I just tried that and it works. I've just kicked the theme builder again. I guess it might be time to change themes....!