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.
I am getting the below warning message in PHP 5.3.
"Call-time pass-by-reference has been deprecated in /server/www/html/test.mskcc.org/sites/all/modules/contrib/media_brightcove/media_brightcove.install on line 536"
_media_brightcove_update_get_metadata_emfield($field, &$context);
needs to be changed to
_media_brightcove_update_get_metadata_emfield($field, $context);
thanks
Comment | File | Size | Author |
---|---|---|---|
#4 | media_brightcove_fix.patch | 351 bytes | timaholt |
#1 | media_brightcove_976768.patch | 730 bytes | drewish |
Comments
Comment #1
drewish CreditAttribution: drewish commentedSorry for the git patch. You'll probably need to apply it with -p6 or something like that.
Comment #2
pcarman CreditAttribution: pcarman commentedI was going to report this bug. Thanks for posting the patch. It worked to remove the warning message.
Comment #3
Garrett Albright CreditAttribution: Garrett Albright commentedCoincidentally, a co-worker just pointed this out to me a few minutes ago. I've pushed a fix into the 6.x-2.x branch. I'll look into getting this into the 1.x branch too.
Comment #4
timaholt CreditAttribution: timaholt commentedI couldn't get that patch to work from a make file so I rolled another one...
Comment #5
frankcarey CreditAttribution: frankcarey commentedLooks like this was already committed. http://drupalcode.org/project/media_brightcove.git/commit/aa7e71f270b3c9...