Closed (fixed)
Project:
Simple Web
Version:
6.x-1.2
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Aug 2009 at 18:04 UTC
Updated:
2 Nov 2010 at 21:12 UTC
Hi,
I get this error on the front page. Any clues?
* recoverable fatal error: Object of class stdClass could not be converted to string in /home/dorien/public_html/newearthnews.org/sites/all/themes/simple_web/page-front.tpl.php on line 5.
* recoverable fatal error: Object of class stdClass could not be converted to string in /home/dorien/public_html/newearthnews.org/sites/all/themes/simple_web/page-front.tpl.php on line 5.
Comments
Comment #1
Bart2drupify commentedme too. my footers and headers do not show. a few of my blocks crash too.
i really love this theme, so is there a fix for this?
recoverable fatal error: Object of class stdClass could not be converted to string in /home/zzz/public_html/sites/all/themes/simple_web-6.x-1.2/simple_web/page-front.tpl.php on line 5.
recoverable fatal error: Object of class stdClass could not be converted to string in /home/zzz/public_html/sites/all/themes/simple_web-6.x-1.2/simple_web/page-front.tpl.php on line 5.
if this won't fix, ill have to switch to joomla :/ someone please help!
Comment #2
Bart2drupify commentedcan someone offer 5 minutes of their time to handle this?
or tell me how i can solve this..
Comment #3
Critical Tinkerer commentedMe too. Since there was no response to this issue in many months, I can only presume the maintainer has gone AWAL.
Comment #4
Pete81 commentedI have the same problem. It's a real shame nobody is looking after this theme because it is so nice.
Comment #5
Pete81 commentedHowever, you can see to overcome it by replacing line 5 of page-front.tpl which is:
print $language " xml:lang="#
print $language">with:
print $language->language " lang="
print $language->language">Comment #6
Allthegearnoidea commentedErm... as your code was removed could you re-post with your solution?
Perhaps wrap the code with
<code></code>so it doesn't get treated as actual code.Thanks.
Comment #7
jacobpov commentedOK i got a fix for you guys !
line 5 should be:
<html xmlns="http://www.w3.org/1999/xhtml" lang="<?php print $language->language; ?>" xml:lang="<?php print $language ?>">Comment #8
Allthegearnoidea commentedThank you for posting this.. I am about to upgrade to D6 so will give this a go as soon as I do the upgrade.
Thanks again
Comment #9
Allthegearnoidea commentedSolution in #7 worked. Thanks