Closed (fixed)
Project:
Video CCK
Version:
5.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
11 Jun 2007 at 23:47 UTC
Updated:
9 Aug 2007 at 14:51 UTC
Fatal error: Cannot use string offset as an array in /var/www/html/staging/williams/modules/video_cck/video_cck.module on line 162
Comments
Comment #1
anttih commentedI am getting the same. Using default settings for the module.
Here's the code from youtube:
Comment #2
anttih commentedAs a workaround:
At line 162
Changed
to
Seems to be working now (hope I didn't break anything else...). Multiple value fields still broken.
Comment #3
aaron commentedmake sure you update -- the data field was just added recently, and requires running update.php
Comment #4
Souvent22 commentedThis error still pesists even after running update.php; i have since hacked it using the suggestion above. I still don't konw what the root of this error is, i have cleared all my cache numerous times ( as this is what the updates do ) to no avail.
Comment #5
deelight commentedI'm not sure my method is ok, but the problem was with that line :
I fixed it using an intermediary variable ($nodefield) :
Comment #6
aaron commentedFixed using the solution posted at http://drupal.org/node/153261. Could someone using php5 confirm this release works, and reopen the issue if it doesn't?
Thanks,
Aaron Winborn
Comment #7
(not verified) commented