Closed (fixed)
Project:
Denver
Version:
5.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Apr 2008 at 21:36 UTC
Updated:
13 Oct 2008 at 04:19 UTC
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?
Comments
Comment #1
linguaetc commentedI 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
Comment #2
colorado commentedI have not released a 6.x version of Denver.
You can try asking alimosavi about issues reagarding this:
http://drupal.org/node/191004
Comment #3
colorado commented