Hi, running a stock drupal 6.0 with Aeon5 the following errors pop up:

* recoverable fatal error: Object of class stdClass could not be converted to string in C:\ms4w\Apache\htdocs\itportal\themes\Aeon5\page.tpl.php on line 4.
* recoverable fatal error: Object of class stdClass could not be converted to string in C:\ms4w\Apache\htdocs\itportal\themes\Aeon5\page.tpl.php on line 4.

Comments

eved’s picture

I'm no expert in PHP but changing the 4th line in page.tpl.php of this theme

from:
<html xmlns="http://www.w3.org/1999/xhtml" lang="<?php print $language ?>" xml:lang="<?php print $language ?>">

to:
<html xmlns="http://www.w3.org/1999/xhtml" lang="<?php print $language->language ?>" xml:lang="<?php print $language->language ?>">

fixed the problem for me.

Config:
win xp + XAMPP 1.6.6 (Apache + MySQL) + Drupal 6 + Aeon5 6.x

Christopher Herberte’s picture

Status: Active » Fixed

I've fixed the variable for language which was the cause of this error. The bugfix will be available in the next nightly snapshot.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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