Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 CreditAttribution: anttih commentedI am getting the same. Using default settings for the module.
Here's the code from youtube:
Comment #2
anttih CreditAttribution: 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 CreditAttribution: aaron commentedmake sure you update -- the data field was just added recently, and requires running update.php
Comment #4
Souvent22 CreditAttribution: 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 CreditAttribution: 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 CreditAttribution: 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) CreditAttribution: commented