Re: [PHP] Object of class could not be converted to string

2009-06-18 Thread Martin Scotta
; > > Or maybe in your class you did not declare the variable > > ex: > private $var1 = NULL; > private $var2 = NULL; > > Yuri Yarlei > > > > From: ang...@elemental.co.za > > To: php-general@lists.php.net > > Date: Thu, 18 Jun 2009 13:20:59 +0200 &g

RE: [PHP] Object of class could not be converted to string

2009-06-18 Thread Yuri Yarlei
foo, "string"); Or maybe in your class you did not declare the variable ex: private $var1 = NULL; private $var2 = NULL; Yuri Yarlei > From: ang...@elemental.co.za > To: php-general@lists.php.net > Date: Thu, 18 Jun 2009 13:20:59 +0200 > Subject: [PHP] Object of class coul

RE: [PHP] Object of class could not be converted to string

2009-06-18 Thread Yuri Yarlei
$foo, "string"); Or maybe in your class you did not declare the variable ex: private $var1 = NULL; private $var2 = NULL; > From: ang...@elemental.co.za > To: php-general@lists.php.net > Date: Thu, 18 Jun 2009 13:20:59 +0200 > Subject: [PHP] Object of class could not be conve

[PHP] Object of class could not be converted to string

2009-06-18 Thread Angelo Zanetti
Dear all, We are experiencing this error: "Object of class xxxClass could not be converted to string" I have searched google a lot mostly the results are for Drupal or badly coded sites. I have further found out that the issue is with PHP 5.2 version. There isn't a problem with the script as