recoverable fatal error in the 6.1 version

linguaetc - April 21, 2008 - 21:36
Project:Denver
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
Description

I have been receiving the following errors at the top of the body in Firefox and IE:

* recoverable fatal error: Object of class stdClass could not be converted to string in /home/linguaet/drupal-6.2/sites/all/themes/denver/page.tpl.php on line 2.

* recoverable fatal error: Object of class stdClass could not be converted to string in /home/linguaet/drupal-6.2/sites/all/themes/denver/page.tpl.php on line 2.

Any idea what it is caused from and how I can fix it?

#1

linguaetc - May 8, 2008 - 18:47

I have found a fix, it appears that line 2 in page.tpl.php should be changed to the following:

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

I obtained the answer in this post: http://drupal.org/node/241896 and looking at the code in the Statis theme: http://drupal.org/node/224434

#2

colorado - May 11, 2008 - 23:40

I have not released a 6.x version of Denver.

You can try asking alimosavi about issues reagarding this:

http://drupal.org/node/191004

#3

colorado - October 13, 2008 - 04:19
Status:active» closed
 
 

Drupal is a registered trademark of Dries Buytaert.