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
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

eved - February 24, 2008 - 06:08

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

Chris Herberte - March 2, 2008 - 20:53
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.

#3

Anonymous (not verified) - March 16, 2008 - 20:53
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.