PHP magic __set() causes fatal error |
[eluser]Unknown[/eluser]
Hello forum folks, I seem to be having trouble using the __set() magic function in models. Whenever I load a model, which has the magic __set function defined in it, I get the following notice and fatal error. I'm running CI 1.7.0, PHP 5.2.4, Apache (version unknown). Quote:A PHP Error was encountered Quote:Fatal error: Cannot assign by reference to overloaded object in /home/foodomc/public_html/olemus/sys/libraries/Model.php on line 69 I'm not able to figure out by myself what is causing this. It must be my mistake, since I didn't find anyone else asking the same questions. Any help is much appreciated! BR, CodeIgniter rookie
[eluser]echadwickb[/eluser]
Had the same exact problem. This post helped: http://ellislab.com/forums/viewthread/61729/ |
Welcome Guest, Not a member yet? Register Sign In |