After I view a page with a YouTube video embedded in it with Video Embed Field, the next page I visit displays the following error:

Strict warning: Only variables should be passed by reference in template_preprocess_video_embed_field_embed_code() (line 355 of /var/www/ldw/cms/drupal/sites/all/modules/video_embed_field/video_embed_field.module).

Comments

paulhhowells’s picture

I get the same error in the same circumstances:

Strict warning: Only variables should be passed by reference in template_preprocess_video_embed_field_embed_code() (line 355 of /home/prince/public_html/sites/all/modules/video_embed_field/video_embed_field.module).

The first page contains a YouTube video embedded using Video Embed Field.
The second page (when the error is displayed) does not have a Video Embed Field.

I notice that this seems similar to http://drupal.org/node/1679118 which was fixed (?) in August 2012.

I am using Drupal 7.19.

paulhhowells’s picture

7.x-2.0-beta5 was released June 21 2012, so I guess that the fix for this might be in 7.x-2.x-dev

plopesc’s picture

Issue summary: View changes
Status: Active » Closed (duplicate)