Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
eved CreditAttribution: eved commentedI'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
Comment #2
Christopher Herberte CreditAttribution: Christopher Herberte commentedI've fixed the variable for language which was the cause of this error. The bugfix will be available in the next nightly snapshot.
Comment #3
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.