Active
Project:
Elegant
Version:
6.x-1.0
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Jan 2009 at 08:28 UTC
Updated:
16 Feb 2009 at 16:12 UTC
After activating this theme as a default theme, I obtained this message:
"recoverable fatal error: Object of class stdClass could not be converted to string in C:\Program Files\VertrigoServ\www\souvolyne\sites\all\themes\elegant\page.tpl.php on line 2.
recoverable fatal error: Object of class stdClass could not be converted to string in C:\Program Files\VertrigoServ\www\souvolyne\sites\all\themes\elegant\page.tpl.php on line 2."
Comments
Comment #1
peterx commentedLine 2 is:
<html xmlns="http://www.w3.org/1999/xhtml" lang="<?php print $language ?>" xml:lang="<?php print $language ?>">Should be:
<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 put the change in http://d-theme.com/elegant and the error message message went away.
Comment #2
my-family commentedThank you, it works now!