media 7.x-2.0-alpha4 worked fine.
After updating to 7.x-2.0-beta1 all the themes broke and I couldn't add any content anymore.

7.x-2.0-dev didn't help either.
Rollback to 7.x-2.0-alpha4 and everything is fine and working again.

Comments

Niek_Kloots created an issue. See original summary.

glassfrog’s picture

Same issue. After updating I had a problem with the Drupal add content page.

Rolled back to 7.x-2.0-alpha4 and all is well.

dave reid’s picture

Category: Bug report » Support request
Priority: Critical » Normal
Status: Active » Postponed (maintainer needs more info)

Without specific error messages, or database/PHP log messages, there's nothing we can really do. I'm unable to replicate this with the beta1 release and a latest version of Drupal core.

glassfrog’s picture

Hey Dave.

Thanks for the reply. Here is an error from the log server yesterday. I hope it is of use.

DOMAIN.NAME [Mon Aug 10 12:43:03 2015] [error] [client 81.140.29.155:48394] AH01215: PHP Fatal error: Call to undefined function media_browser_js() in /home/sites/DOMAIN.NAME/public_html/sites/all/modules/ckeditor/includes/ckeditor.lib.inc on line 893

stackrat25’s picture

I also experienced a similar issue when I updated to beta1. Rolling back to alpha4 fixed it but here is what I observed.

  • My content add and edit broke but only for content types with textareas that use a wysiwyg. I have some that don't and they didn't break.
  • The wysiwyg I am using is the CKeditor module.
  • If I turn off CKeditor the problem goes away. I can access the forms to add or edit content.
  • If I turn CKeditor on again it breaks again. If I go to config and remove the Media button from the editor and unselect the "Plugin for inserting images from Drupal media module" then the problem goes away and I can access the add and edit forms.

I haven't tested much beyond that yet to see if anything else is broken. I hope this helps. Not sure if that makes it a Media issue or a CKeditor issue.

steel-track’s picture

Component: Code » Media Browser

This is due to a function in media module being deprecated that is called by the CKEditor module when using the media integration plugin.

You can read more here:https://www.drupal.org/node/2454933

And get a patch for the CKeditor module here: https://www.drupal.org/node/2455391#comment-9943365

steinmb’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)
Related issues: +#2454933: Remove JS helper functions