Guest Posted October 18, 2006 Posted October 18, 2006 Hi, Anyone know how to solve this issue? Fatal error: Cannot re-assign $this in /home/xxxxxx/public_html/admin/includes/classes/upload.php on line 31 This is line 30-33 in that file. // self destruct $this = null; return false; Thanks!
Guest Posted October 20, 2006 Posted October 20, 2006 Hi, Anyone know how to solve this issue? Fatal error: Cannot re-assign $this in /home/xxxxxx/public_html/admin/includes/classes/upload.php on line 31 This is line 30-33 in that file. // self destruct $this = null; return false; Thanks! Anyone?
knifeman Posted October 20, 2006 Posted October 20, 2006 Anyone? http://www.oscommerce.com/forums/index.php?sho...mp;#entry952428
Guest Posted October 20, 2006 Posted October 20, 2006 Anyone? In php there is really no need to derefernce $this...the "garbage collector/memory manager" will release the objects ($this) memory when it needs to. This is why PHP "objects" do not contain "destructors". Basically, $this is the parent object of your application, and trying to dereference it while your app is running is not allowed.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.