Wednesday, October 14, 2009

Fix: Parameter 1 to theme_imagefield_widget() expected to be a reference ....

warning:
Parameter 1 to theme_imagefield_widget() expected to be a reference, value given in your URL\includes\theme.inc on line 617.
Fix:
search for 'imagefield_widget.inc' in your modules directory:
now within this file search for
'function theme_imagefield_widget(&$element)'


update it with:
'function theme_imagefield_widget($element)'
Reason:
compatibility problem with PHP 5.3


6 comments:

  1. I searched for the redundant & in the said file, but nothing can be found. I still encounter the same error. Any tips?

    ReplyDelete
  2. Thank You. SAVED M TIME... :)

    ReplyDelete
  3. Thank you so much man! Saved my life!

    ReplyDelete