Drupal 7 errors after upgrading from 7.12 to 7.14 I just updated my drupal version from 7.12 to 7.14 and now I get these errors when trying to update/edit a content type:

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in _form_set_class() (line 4134 of /var/www/vhosts/xxx/public_html/includes/form.inc).

Warning: implode() [function.implode]: Invalid arguments passed in theme_radios() (line 2809 of /var/www/vhosts/xxx/public_html/includes/form.inc).

An illegal choice has been detected. Please contact the site administrator.


Please note that this is happening when I edit the node not the actual content type definition. But only for this one particular content type. All the other work fine still.

If it's at all helpful here are the fields for that content type:

Title - title - Node module element     

Photo - field_photo_image - Image - Image

Vote - field_photo_vote - Fivestar Rating - Stars (rated while viewing)

Domain access - domain - Domain Access settings.        

Description - field_photo_description - Long text - Text area (multiple rows)

Author - field_photo_author Text - Text field

Admin selected - field_photo_winner - Boolean - Single on/off checkbox


Any help would be much appreciated.

C
I ran into the same issue and found the solution here: http://drupal.org/node/1427430

Do you happen to also have the opengraph_meta module installed?
If so just edit this file: 

sites/[your-site]/modules/opengraph_meta/opengraph_meta.module


search for this line:

'#attributes' =&gt; array('class' =&gt; 'opengraph-thumbs-wrapper clearfix'),


and change it to look like this one:

'#attributes' =&gt; array('class' =&gt; array('opengraph-thumbs-wrapper','clearfix')),