I was getting a lot errors like:
Strict warning: Only variables should be passed by reference in ds_views_row_render_taxonomy_term_data() (line 356 of /home/johnny/www/rm-drupal/sites/all/modules/drupal.org/ds/views/views_plugin_ds_entity_view.inc).

So I used this simple patch and the errors are away now.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

swentel’s picture

Status: Active » Fixed

Committed and pushed, thanks!

Status: Fixed » Closed (fixed)

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

pfrenssen’s picture

Status: Closed (fixed) » Needs review
FileSize
3.97 KB

This problem also exists in other parts of Display Suite. I encountered this today when working with users:

Strict warning: Only variables should be passed by reference in ds_views_row_render_users() (line 360 of sites/all/modules/contrib/ds/views/views_plugin_ds_entity_view.inc).

I went through the code and fixed this notice for the entire codebase. I also updated the example in ds.api.php while I was at it.

swentel’s picture

Status: Needs review » Fixed

ah, crap strict stuff :) Committed and pushed, thanks!

Status: Fixed » Closed (fixed)

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