Object of class could not be converted to string
| From: | Angelo Zanetti | Date: | Thu, 18 Jun 2009 11:20:59 +0000 |
| Subject: | Object of class could not be converted to string | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-294219@lists.php.net to get a copy of this message | ||
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 it works on other servers with
prior versions, so I am wondering if any one has any tips or ways to go
about this error. Unfortunately we are in a position whereby we cant
downgrade PHP as it's a shared hosted server.
Any help will be appreciated.
Thanks,
Web: http://www.elemental.co.za