![]() |
Catchable fatal error: Object of class Property could not be converted to string
Help! I am getting the following error:
Quote:
PHP Code:
Thanks. |
If it worked previously and it stoppped functioning then the issue is either withing your Property class or your ApplicationRegistry which I'm assuming is a singleton.
So let's check out that code and how it's stored so we can figure out if it's setting properly. |
I've never seen that error before. But it seems that your left side of the assignment is evaluating $property_obj to a string because you have the dollar sign after the -> . So change
php Code:
php Code:
|
Thanks Tony. I was just getting ready to post the class that interacts with the class shown above and also the class object that is passed in ready to add "i bet its something simple a fresh pair of eyes will solve" but didnt ever think it would be such a school boy one. Much appreciated. Thanks,
Ewan |
| All times are GMT. The time now is 06:38 AM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0