imagefield does not show up? And this is the solution.

warning: Parameter 1 to theme_imagefield_widget() expected to be a reference, value given in /your/site/path/includes/theme.inc on line 617.

If anyone has got this error, this is the compatibility problem with PHP 5.3.

But this can be easily fixed by applying a patch from the following link,

http://drupal.org/node/581074

Find or search the imagefield_widget.inc in the modules directory,

and replace this

function theme_imagefield_widget(&$element)
to

function theme_imagefield_widget($element)

And the image field on the Edit page is appear again.

Tags:

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

Recent comments