Incompat with PGSQL
spydmobile - February 22, 2008 - 20:33
| Project: | Aeon5 |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
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.

#1
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
#2
I've fixed the variable for language which was the cause of this error. The bugfix will be available in the next nightly snapshot.
#3
Automatically closed -- issue fixed for two weeks with no activity.