Closed (fixed)
Project:
Barron
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
11 Jan 2008 at 05:44 UTC
Updated:
26 Jan 2008 at 20:01 UTC
Hey, thanks for the great theme! I just installed the dev version in rc2 and am getting this error reported by Drupal:
Object of class stdClass could not be converted to string in /path/to/drupal/sites/all/themes/barron/page.tpl.php on line 3.
Looks like $language is the offending creature.
Doing var_dump($language) reveals:
object(stdClass)#4 (11) { ["language"]=> string(2) "en" ["name"]=> string(7) "English" ["native"]=> string(7) "English" ["direction"]=> int(0) ["enabled"]=> int(1) ["plurals"]=> int(0) ["formula"]=> string(0) "" ["domain"]=> string(0) "" ["prefix"]=> string(0) "" ["weight"]=> int(0) ["javascript"]=> string(0) "" }
I'm not a PHP guy, but I'll poke around and see if I can come up with a patch.
Comments
Comment #1
jwolf commentedThanks for catching this
Should be
$language->languageComment #2
jwolf commentedFixed in new dev snapshot
Comment #3
gtcaz commentedExcellent -- thanks!
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.