Fatal error: [] operator not supported for strings in C:\www\webapps\drupal-6\sites\all\themes\nifty50\template.php on line 27

This happened trying to create a story.

Comments

nancydru’s picture

I also get this when I do Back:
warning: preg_match() expects parameter 2 to be string, array given in C:\www\webapps\drupal-6\includes\bootstrap.inc on line 771.

jasonsavino’s picture

Assigned: Unassigned » jasonsavino
Josie_h’s picture

+1

Nifty50 looked very nice, so I installed it on an existing installation and got the same error when trying to create any kind of content:-

Fatal error: [] operator not supported for strings in /home/justcorv/www/www/themes/nifty50/template.php on line 27

Just in case it was a conflict with my existing installation, I re-installed Drupal with a new database and the first thing I tried was creating content with Nifty50 and I still get the same error.

Following the error, if I return to the home page, it displays the following message in a red box:-

* warning: preg_match() expects parameter 2 to be string, array given in /home/justcorv/www/www/includes/bootstrap.inc on line 777.

Thank you Jason for the theme, it looks good, but is there a fix for this?

jasonsavino’s picture

Status: Active » Fixed
jasonsavino’s picture

Status: Fixed » Closed (fixed)