View Full Version : Adopt Page Error
Hwona
03-23-2013, 11:01 PM
guicontainer error when no available pets are present
This message appears when site have adoptables but have none that are FREE:
Fatal error: Call to a member function count() on a non-object in /home/wallie12/public_html/classes/abstract/abstract_guicontainer.php on line 392
Hall of Famer
03-23-2013, 11:39 PM
I've uploaded an attachment for the new adopt.php, try this and see if it works. I havent tested it myself on a demo site though.
Wallie987
03-23-2013, 11:55 PM
Thanks! But where do I find this?
Edit: Found it! Everything works now! So all that needs to be fixed is the freeze and deletion.
Abronsyth
03-24-2013, 12:13 PM
HoF, I installed the new /adopt.php file, and now I can view the page, but I did add a new pet and set the cost back to 0, but it's saying that there are not any adoptables available.
Wallie987
03-24-2013, 12:51 PM
Really? I need to try that out. Edit: Funny, it works for me. Did you delete the old file?
Abronsyth
03-25-2013, 02:59 PM
Yep, overwrote it with the new file...maybe it's 'cause I had the adoptable cost currency before..?
Wallie987
03-25-2013, 04:42 PM
Yeah, why don't you try it out again? Maybe add a new adopt?
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.