BUG: tinymce field can't use media library image CMSB 3.82

15 posts by 3 authors in: Forums > CMS Builder
Last Post: 6 hours ago   (RSS)

The error does not prevent the image from being added, it is annoying but not fatal. I have been adding images, just close the error message and continue.

Jeff Shields
yaadev.com

Ok, I am an idiot. It seems at some point I inadvertently deleted the mediaView.php file from that directory. Now that it has been restored, it's working though still with the error message. Yay!

Hi all, 

This took us a bit to track down.  Can you try this fix: 

In /cmsb/lib/menus/default\wysiwygMedia.php

Replace this: 

uploadIframe.contentDocument.location.reload();

With this: 

uploadIframe?.contentDocument?.location.reload();

Let me know if that works for you.  If not, feel free to submit a 2nd level support request, and we'd be happy to help you track it down and resolve it.

Thanks!

Dave Edis - Senior Developer
interactivetools.com

This fix works for me, too. Thanks Dave.

Jeff Shields
yaadev.com