If this issue is not due to media_gallery, then my apologies for the distraction.

I've been using media gallery for about a year on several sites, and suddenly started getting the same FATAL ERROR on my sites. It ALWAYS occurs when clicking on the "Add media" link that appears in any gallery that I've created. The galleries are used for Youtube/Vimeo media. Here's the error (associated modules and versions below):

"Fatal error: [] operator not supported for strings in /home/blablabla/public_html/includes/common.inc on line 2442"

I have Drupal 7.22.
media 7.x-1.3
media_gallery 7.x-1.0-beta8
media_internet_sources 7.x-1.3
media_vimeo 7.x-1.0-beta5
media_youtube 7.x-2.0-rc3
lightbox2 7.x-1.0-beta1
colorbox 7.x-2.4
colorbox plugin library (in 'libraries') Version 1.4.16 - 2013/5/20 ... (colorbox doesn't show, but that's okay for now ... videos come up in lightbox.)

Thanks,

Carl

CommentFileSizeAuthor
Screenshot from 2013-06-04 23:01:22.png137.05 KBcfusch
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

cfusch’s picture

BTW: To further explain the attached screenshot in the original report ... when clicking on "add media" the screen opacity changes and the error appears. What you see in the screenshot "Special Features" is the name of the content type. the 'edit', 'edit media', and 'delete links fi clicked cause a lightbox to open with a duplicate of my website.

Everything is frozen at that point ... sometimes and ESC key will release the screen and return to normal, but typically it requires entering the home url to get back to normal.

Moloc’s picture

Issue summary: View changes
Status: Active » Closed (duplicate)
Related issues: +#2128335: Theme Variable "class" is using a string instead of an array

The patch in #2128335 should solve your problem.
Closing as a duplicate.