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

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

drewish’s picture

Status: Active » Needs review
FileSize
730 bytes

Sorry for the git patch. You'll probably need to apply it with -p6 or something like that.

pcarman’s picture

Status: Needs review » Reviewed & tested by the community

I was going to report this bug. Thanks for posting the patch. It worked to remove the warning message.

Garrett Albright’s picture

Coincidentally, 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.

timaholt’s picture

FileSize
351 bytes

I couldn't get that patch to work from a make file so I rolled another one...

frankcarey’s picture

Status: Reviewed & tested by the community » Closed (fixed)