This is possibly related to this issue: https://www.drupal.org/node/2138953#comment-9240817

I'm running into this problem after updating the Media module to 7.x-2.0-alpha4, and I upgraded media_wysiwyg to 7.x-2.0-alpha4, too. I'm using CKEditor as well.

I have the media_wysiwyg module already enabled, and I've cleared the Drupal caches, but I'm still getting the 500 error, on the AJAX request to /media/browser?render=media-popup&plugins=undefined. I've tried uninstalling and re-installing media_wysiwyg.

I also tried the dev version of Media.

The JavaScript error I'm getting is:

Uncaught TypeError: Cannot read property 'media' of undefined media.popups.js?v=7.x-2.0-alpha4+4-dev:98

Comments

dobie_gillis’s picture

dobie_gillis’s picture

Title: 500 error and JS error on popup open » 500 error and JS error on Media Browser open
dobie_gillis’s picture

Title: 500 error and JS error on Media Browser open » 500 error and JS error on Media Browser open (CKEditor)
dobie_gillis’s picture

I'm still seeing this error even after downgrading Media to 7.x-2.0-alpha3+98-dev, reverting the database, and clearing the Drupal cache.

steinmb’s picture

What other media_ modules do you have installed (example media_youtube) ?

chris matthews’s picture

Status: Active » Closed (outdated)

Closing this issue as outdated. However, if you think this issue is still important, please let us know and we will gladly re-open it for review.
sincerely,
- the Drupal Media Team