PHP error line 2

butler360 - November 4, 2008 - 08:28
Project:Elegant
Version:6.x-1.0
Component:Code
Category:bug report
Priority:normal
Assigned:FiNeX
Status:needs work
Description

I get the error "Object of class stdClass could not be converted to string in" ... page.tpl.php line 2

Apparently the fix is pretty simple and is documented here: http://drupal.org/node/208728

On line two you change $language to $language->language and that's it.

#1

FiNeX - November 4, 2008 - 09:09
Assigned to:Anonymous» FiNeX
Status:active» fixed

Thanks for the report! I've just fixed it.

#2

B.P.B - November 5, 2008 - 02:30

Will you upload the latest dev with your fix?

#3

FiNeX - November 5, 2008 - 09:31

Mmm, I've done a mistake: it has been updated on the 5.x branch instead the 6.x. I've to manage better my cvs local repository :-)

I'll fix it today.

bye

#4

System Message - November 19, 2008 - 09:32
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

#5

bzunnssukj - July 9, 2009 - 18:46
Status:closed» needs work

The problem still exists in the 6.x code:

recoverable fatal error: Object of class stdClass could not be converted to string in D:\_x\Drupal 6 themes site\sites\all\themes\elegant\page.tpl.php on line 2.

 
 

Drupal is a registered trademark of Dries Buytaert.