I get the following error message:

Fatal error: Only variables can be passed by reference in C:\SharedPortal\common_folder\drupal\sites\all\modules\photos\photos.module on line 924

Thank you

Comments

vistree’s picture

Version: 6.x-2.6 » 6.x-2.x-dev

Hi, I have exactly the same error. After hoster upgrade PHP 5.3 to 5.4 I always get this strict error.
To hide it, I have to disable error viewing in Drupal logging-options.
But it would be great to solve this problem to let photos run without errors on PHP 5.4 ...

Kind regards

Kai

nathaniel’s picture

Status: Active » Closed (fixed)

See this other issue:
#396368: Call-time pass-by-reference has been deprecated...

Find the code on line 924 as described and remove the ampersand "&".

vistree’s picture

Thanks Nathaniel!