View Single Post
Old 04-26-2012, 04:46 AM   #3 (permalink)
tony
The Addict
 
tony's Avatar
 
Join Date: Aug 2008
Posts: 336
Thanks: 8
tony is on a distinguished road
Default

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:
$this->$property_obj = $property_obj;
to this
php Code:
$this->property_obj = $property_obj;
tony is offline  
Reply With Quote
The Following User Says Thank You to tony For This Useful Post:
captainmerton (04-26-2012)