I'm getting Fatal error: [] operator not supported for strings in .../sites/all/themes/omega/omega/template.php on line 342, using Get Directions and Omega theme. It turns out that the class attribute is being set to a string when it should be an array. The patch below fixes the problem for me.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Peacog’s picture

Peacog’s picture

Status: Active » Needs review
hutch’s picture

I've commited this fix to 7.x-3.x dev
Thank you for reporting this, although I'm a bit puzzled as to why I don't get a WSOD, indeed the table theming does not mind a string and nor does the form builder.

hutch’s picture

Status: Needs review » Fixed
Peacog’s picture

Yes, I thought it was strange that nobody else had reported this before. Maybe there's something in Omega that picked up on the error, or perhaps it's the PHP version - I'm using PHP 5.3.27.
Thanks for committing the fix.

Status: Fixed » Closed (fixed)

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