I am trying to: edit media in beaver builder
Link to a page where the issue can be seen: its beaver builder on any page
I expected to see: image editor but the javascript error comes up below. When I turn off the views plugin the error goes away and it works
Instead, I got: You will see the javascript error below and on the debug info.
Any idea what to do? I need views for a lot of functionality but staff needs to be able to add and edit photos using BB.
Beaver Builder caught the following JavaScript error. If Beaver Builder is not functioning as expected the cause is most likely this error. Please help us by disabling all plugins and testing Beaver Builder while reactivating each to determine if the issue is related to a third party plugin.
fl-builder.min.js?ver=2.6.2.3:1 "Uncaught TypeError: this.activateMode is not a function" on line 2 of hidden link.
fl-builder.min.js?ver=2.6.2.3:1 TypeError: this.activateMode is not a function
at media-views.min.js:2:59621
at ae (assets.funraise.io/widget/common/2.0/inject-form.js?orgId=e2140801-4304-453f-9976-c886c397907b:13:4747)
at Function.au (assets.funraise.io/widget/common/2.0/inject-form.js?orgId=e2140801-4304-453f-9976-c886c397907b:13:40703)
at n._createModes (media-views.min.js:2:59581)
at n.initialize (media-views.min.js:2:58990)
at n.initialize (media-views.min.js:2:79874)
at n.initialize (media-views.min.js:2:73449)
at h.View (backbone.min.js:2:14648)
at n.constructor (wp-backbone.min.js:2:2602)
at n.constructor (media-views.min.js:2:106836)
Any updates on this? Very time sensitive! Thanks 🙂
Hi there,
To be able to see if there is an issue via code happening without the environmental factors we need to see if the same thing you have mentioned is happening if we have a clean installation with Toolset and Beaver Builder?
That is why I created a WordPress installation and Toolset and you can access the dashboard here:
hidden link
Would you please install Beaver Builder there temporarily and see if the Select Photo issue is happening there?
If yes, I will report this to the second-tier support.
If not I'd appreciate it if you can create a copy of your website and give the staging website details in the next reply by marking it as private to check. Alternatively we can give you the means to copy your website to our servers if staging creation is not an option for you.
Thank you.
Hi Chris,
The site is using Toolset Views and the sandbox you sent doesn't have views installed. I will work to clone it to a development server and send you the login but I turned off just about every plugin and the issue persisted.
Cheers,
Loren
Hi Loren,
Toolset Blocks and Views have the same codebase. But I installed Toolset view there anyways.
Thanks.
Hi there,
I checked and the issue seems to be the theme that you are using. As soon as I changed the theme to the default WordPress theme the EDIT/REMOVE option for the image started working.
Checking my browser console I found out that there is a Javascript error on your theme talking about Stock donate script or something like that.
Hope that gives you an idea to check your theme code.
Thanks