warning: Invalid argument supplied for foreach() in /var/www/cbcc0437/modules/videojs/includes/videojs.theme.inc on line 18.
For the views implementation, sometimes the cck preprocess formatter doesn't receive a complete node with the media field in place.
NOTE THAT THIS IS WITH VIEWS 6.x-3.0, WHICH IS IN ALPHA.
Poor argument handling in the value iterator, doesn't check to see of the passed argument is an array, or if the field exists in the node. The missing argument is likely a result of the new views implementation, but this module should check it's arguments (good practices.)
To fix this error, the new 3.0 views implementation will have to be investigated. It is likely that a different approach will have to be taken.
BTW: I am very excited to have this module, and will investigate the fix myself to see if I can find the problem. I will also investigate trying to user cck_video multiple items to list videos in the tag, and a fall back to swftools option.
Comment | File | Size | Author |
---|---|---|---|
videojs.theme_.inc_.patch | 556 bytes | jaxxed | |
Comments
Comment #1
jaxxed CreditAttribution: jaxxed commentedComment #2
heshanlkAdded to dev