Parameter 6 to emvideo_vimeo_video() expected to be a reference, value given in /var/www/adhack/live/modules/emfield/emfield.mod

kratib - October 6, 2009 - 23:03
Project:Embedded Media Field
Version:6.x-1.9
Component:Embedded Video Field
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
Issue tags:PHP 5.3
Description

I started getting this error in the log after upgrading the server to PHP 5.3. Drupal core and most modules were affected: #360605: PHP 5.3 Compatibility.

I fixed it simply by removing the reference on the $node argument of this function.

#1

kratib - October 6, 2009 - 23:36

Save for other providers including YouTube and blip.tv.

#2

marktheshark - October 29, 2009 - 12:06
Priority:normal» critical

Still an issue with the latest development snapshot (6.x-1.x-dev).

Embedded youtube videos will not play, and the reference warning is shown within the page after a refresh.

Has this fix been commited?

#3

aaron - October 29, 2009 - 13:34
Status:active» fixed

awesome, thanks @kratib! i fixed this for all the providers now. sorry, i missed this during my last round.

#4

marktheshark - October 29, 2009 - 21:12
Status:fixed» needs work

It appears the fix is not in the latest snapshot available:

warning: Parameter 6 to emvideo_youtube_video() expected to be a reference, value given in C:\xampp\htdocs\drupal\sites\all\modules\emfield\emfield.module on line 593.

#5

aaron - October 29, 2009 - 21:15
Status:needs work» fixed

snapshots are created every 12 hours. if you need it before that, you need to checkout directly from cvs.

#6

aaron - October 29, 2009 - 21:15
Priority:critical» normal

certainly not critical

#7

marktheshark - October 29, 2009 - 22:02

Well, considering that the module didn't work, I considered it a critical error.

Thanks for the information

#8

aaron - October 30, 2009 - 02:55
Priority:normal» critical

ah, good point. sorry, @marktheshark :D

#9

System Message - November 13, 2009 - 03:00
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.