Skip Navigation

[Resolved] Select Image Buttons not working

This thread is resolved. Here is a description of the problem and solution.

Problem:
I am seeing an Error on the JS console

Uncaught TypeError: Cannot read property 'bs_component_show_hide_button' of undefined

What's that and how to solve this?

Solution:
It should be a cache issue, you can fully clear the browser cache to solve it.

This support ticket is created 5 years, 6 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
- - 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00
- - - - - - -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Tagged: 

This topic contains 5 replies, has 2 voices.

Last updated by Beda 4 years, 8 months ago.

Assisted by: Beda.

Author
Posts
#1245258
Screen Shot 2019-05-18 at 00.22.49.png
Screen Shot 2019-05-18 at 00.19.14.png

I am trying to:
add an image to a custom field but the button doesn't take you to media library
Link to a page where the issue can be seen:
dashboard > products > Tendering Reply Acknowledgement
I expected to see: media library appear

Instead, I got: nothing page seems to reload. I have attached the errors I see in console.. I also had issues updating all toolset plugins - had to manually replace types.

#1245309

The second error is reported here as well:
"Uncaught TypeError: Cannot read property 'bs_component_show_hide_button' of undefined"
https://toolset.com/es/forums/topic/toolsets-maps-provoca-un-conflicto-con-variation-swatches-and-photos/
This issue should be a conflict of the Theme or a plugin, and Toolset. Usually, it's Avada but it might show in other cases.
It could be that disabling Maps already brings solutions here.

Personally, however, I was able to reach the Media Screen in your Product Posts when adding Repeating Image Fields.
I also saw no errors in the console.

Did I look at the wrong post?
I checked hidden link

#1245310

It could be a JS cached in the browser.
Please empty the browser's cache totally, and try again. It can be a script got cached and not renewed after the update.

#1245345

My issue is resolved now. Thank you! Was a caching issue... works perfect now. Thanks

#1245347

Yes, the cache has had me too in past. This is a generic issue with browsers, sometimes leading to completely irrational results as you get errors from files no longer present on the server, however, cached in the Browser.

Thanks for confirming in.

#1555875

A note about the first error (the one not solved by cache) related to "Uncaught ReferenceError: google is not defined" is due to Avada Theme and needs to be resolved in the theme.

Please if possible contact Avada and ask them to look at the Privacy consent permissions. They should not be fired in the WordPress backend but it seems they are, hence blocking any scripts used by maps (google)
We've also contacted them to let them know about this issue.