Closed (fixed)
Project:
Aeon5
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Feb 2008 at 20:33 UTC
Updated:
16 Mar 2008 at 20:53 UTC
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 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 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) commentedAutomatically closed -- issue fixed for two weeks with no activity.