Closed (fixed)
Project:
Panopoly
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Nov 2012 at 19:19 UTC
Updated:
22 Nov 2012 at 21:00 UTC
Fatal error: [] operator not supported for strings in panopoly_images.module on line 59
You need media module installed and a video file uploaded.
To replicate, follow these steps:
1. Edit a node with body that has a format filter allowing "Convert Media tags to markup"
2. enter a video using the following format: [[{"type":"media","view_mode":"media_large","fid":"2","attributes":{"alt":"2190051229_8a6b18b64d.jpg","class":"media-image","format":"media_large","title":"","typeof":"foaf:Image"}}]]
3. Save.
4. Edit the node again.
Comments
Comment #1
moonray commentedWrong project.
Comment #2
populist commentedMoving it back to Panopoly since its just easier to have all the issues in one place.
Comment #3
populist commentedI did some digging today and wasn't able to replicate this problem. Mind giving me some more details (i.e. what kind of video file did you upload, what did $form['#media']->uri like)? Line 59 would be failing on image_style_url($format, $image_path) which means that there might be some trouble with $form['#media']->uri.
Comment #4
moonray commentedThe following patch fixed it for me: #1722146: Media filter is using string instead of array for the class attribute
Comment #5
populist commentedMarking active again just to make sure we get this patch/update into Panopoly.
Comment #6
populist commentedMedia and File Entity Are Now Updated to Latest Devs.
Comment #7
populist commented