Skip Navigation

[Resolved] Error "Uncaught TypeError: Cannot read property 'indexOf' of undefined"

This support ticket is created 5 years, 11 months ago. 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)

This topic contains 2 replies, has 2 voices.

Last updated by Ben 5 years, 11 months ago.

Assisted by: Shane.

Author
Posts
#1200148

Ben

I am seeing the below error and warning in Console when I try to display a View. I have tried deactivating all plugins etc but the problem still exists.

Error:

Uncaught TypeError: Cannot read property 'indexOf' of undefined

Warning:

jQuery.Deferred exception: Cannot read property 'indexOf' of undefined TypeError: Cannot read property 'indexOf' of undefined

#1200212

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Ben,

Thank you for contacting our support forum.

Does your view display the information correctly?

Also could you send me a link to the page where the view is displaying this information and also a screenshot of the view on the backend ?

I want to ensure that everything is setup correctly.

Thanks,
Shane

#1200215

Ben

Thank you for the reply Shane.

I have now managed to solve this problem myself, but thank you for your offer of help.

I believe the issue was something to do with the way I am manually enqueuing Bootstrap 4. I rewrote the related functions and the problem seems to have been solved.

Thank you again.