I get this error with both beta 1 and dev released on May1/April30 when visiting the modules page or after running update.php

Fatal error: Unsupported operand types in /www/example.com/sites/all/modules/ctools/views_content/views_content.module on line 26

Any help would be appreciated.

Comments

merlinofchaos’s picture

Status: Active » Fixed

Ugh. Go to line 26 of that file and remove the ' + $base'. I checked in this fix to CVS.

bredi’s picture

Issue tags: +Quick fix

Yep that fixed it. Thanks!

just to clarify for others....

edit modules/ctools/views_content/views_content.module on line 26

only remove +$base

old--> ) + $base;
new--> );

Hope this helps someone.

jennib’s picture

Thanks so much for posting this--was having the same problem and this did the trick!

lightlisha’s picture

I also got the error after updating ctools: Fatal error: Unsupported operand types in /sites/all/modules/ctools/views_content/views_content.module on line 26
I could only access update.php on the site.

But changing line 26 of the views_content.module file also worked for me. Thank you.

Status: Fixed » Closed (fixed)
Issue tags: -Quick fix

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