Hey, i get a fatal error when installing the module:

Fatal error: [] operator not supported for strings in /var/spool/www/user/aegir/drupal-7.8/sites/*/modules/rel/rel.module on line 398

Hier my contrib list:

 Name                                                 Installed version  Proposed version   Status                                   
 Admin                                                7.x-2.0-beta3      7.x-2.0-beta3      Up to date                               
 Drupal core                                          7.8                7.8                Up to date                               
 Conditional Stylesheets                              7.x-2.0            7.x-2.0            Up to date                               
 Google Analytics Contact Form, Webform, Rules Email  7.x-1.x-dev        7.x-1.x-dev        Up to date                               
 Context                                              7.x-3.0-beta2      7.x-3.0-beta2      Up to date                               
 Chaos tool suite (ctools)                            7.x-1.0-rc1        7.x-1.0-rc1        Up to date                               
 Delta                                                7.x-3.0-beta8      7.x-3.0-beta8      Up to date                               
 Devel                                                7.x-1.2            7.x-1.2            Up to date                               
 Display suite                                        7.x-1.x-dev        7.x-1.x-dev        Up to date                               
 Emogrifier                                           7.x-1.17           7.x-1.17           Up to date                               
 Entity API                                           7.x-1.x-dev        7.x-1.x-dev        Update available                         
 File entity (fieldable files)                        7.x-2.0-unstable2  7.x-2.0-unstable2  Up to date                               
 Form Block                                           7.x-1.x-dev        7.x-1.x-dev        Up to date                               
 Google Analytics Tokenizer                           7.x-1.3            7.x-1.3            Up to date                               
 Global Redirect                                      7.x-1.3            7.x-1.3            Up to date                               
 HTML Mail                                            7.x-2.61           7.x-2.61           Up to date                               
 Localization update                                  7.x-1.0-beta2      7.x-1.0-beta2      Up to date                               
 Libraries API                                        7.x-1.0            7.x-1.0            Up to date                               
 Mail MIME                                            7.x-2.15           7.x-2.15           Up to date                               
 Mail System                                          7.x-2.30           7.x-2.30           Up to date                               
 Media                                                7.x-2.x-dev        7.x-2.x-dev        Up to date                               
 Meta tags quick                                      7.x-1.9            7.x-1.9            Up to date                               
 Module Filter                                        7.x-1.6            7.x-1.6            Up to date                               
 Organic groups                                       7.x-1.1            7.x-1.1            Up to date                               
 Omega Tools                                          7.x-3.0-rc3        7.x-3.0-rc3        Up to date                               
 Page Title                                           7.x-2.5            7.x-2.5            Up to date                               
 Pathauto                                             7.x-1.0-rc2        7.x-1.0-rc2        Up to date                               
 Pathologic                                           7.x-1.3            7.x-1.4            Update available                         
 Plupload integration                                 7.x-1.0-beta3      7.x-1.0-beta3      Up to date                               
 Redirect                                             7.x-1.0-beta3      7.x-1.0-beta3      Up to date                               
 Renderable elements                                  7.x-1.x-dev        7.x-1.x-dev        Up to date                               
 Rules                                                7.x-2.0            7.x-2.0            Up to date                               
 SEO Checklist                                        7.x-3.0-beta1      7.x-3.0-beta1      Up to date                               
 Tipsy                                                7.x-1.x-dev        7.x-1.x-dev        Up to date                               
 Token                                                7.x-1.0-beta6      7.x-1.0-beta6      Up to date                               
 Views                                                7.x-3.0-rc1        7.x-3.0-rc1        Up to date                               
 Views Tooltip                                        7.x-1.x-dev        7.x-1.x-dev        Up to date                               
 Wysiwyg                                              7.x-2.1            7.x-2.1            Up to date                               
 Tao                                                  7.x-3.0-beta4      7.x-3.0-beta4      Up to date                        

Comments

swentel’s picture

Status: Active » Postponed (maintainer needs more info)

That means a module is not passing the class as an array in their form. It means they are not following the Drupal standards for this. It's kind of hard to find out which module it is, because it's not really my responsibility either. If you can find out which one it is, you should file a bug to them, or maybe follow up here first so I can see.

// Add rel-register-build to class array.
$form['#attributes']['class'][] = 'rel-register-build';
dtarc’s picture

I had the same issue. For me the problem was context_ui_editor form in Context UI module. Once I patched context_ui.module the problem went away.

Context patch at #1335928: $form['#attributes']['class'] should be array in context_ui_editor form

swentel’s picture

Status: Postponed (maintainer needs more info) » Fixed

Alright, I'll close this one as the comment in #2 has confirmed my suspicion that's it not my responsibility.

Status: Fixed » Closed (fixed)

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

dtarc’s picture

I had another similar error, on line 344 this time, due a conflict with Editablefields module.

Editable fiels patch at #1433514: form['#attributes']['class'] should be array in editablefields_form

dtarc’s picture

Issue summary: View changes

typo