* Notice: Array to string conversion in rdf_preprocess_image() (line 773 of /home/lsolesen/larsolesen.dk/modules/rdf/rdf.module).
* Recoverable fatal error: Argument 1 passed to drupal_attributes() must be an array, string given, called in /home/lsolesen/larsolesen.dk/includes/theme.inc on line 1517 and defined in drupal_attributes() (line 2229 of /home/lsolesen/larsolesen.dk/includes/common.inc).

CommentFileSizeAuthor
#4 1004078_Correct_usage_of_theme_image.patch760 bytespancho

Comments

okokokok’s picture

Same error here, with Drupal 7rc2.

lsolesen’s picture

The error still persists in the newly released Drupal 7. It is on this page: admin/config/search/creativecommons

mchelen’s picture

subscribing

pancho’s picture

Status: Active » Needs review
StatusFileSize
new760 bytes

The culprit is theme('image') which takes its arguments as an associative array in D7.
Here's the patch.

kreynen’s picture

Committed http://drupalcode.org/project/creativecommons.git/commit/6e2e4a3

I reran the D6 branch through Coder update process this weekend so the current D7 branch is now has all the recent fixes from the D6 branch. The UI is much further along, but there are still issues.

The D7-dev snapshot is NOT usable, but it's getting close. I hope to get the basic licensing working this week.

kreynen’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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