Shop Appearing As Fatal Error
Hello everyone! I have a bit of a problem again...
When I view one of the shops, this pops up: Fatal error: Call to a member function display() on a non-object in /home/wallie12/public_html/shop.php on line 46 I haven't had this issue with any of the other shops. All the adoptable tables for the only adopt in the shop seemed to be fine, as well as the shop tables... |
Seems that the shoplist fails to create instance of shop object for you. Check your shoptype for this particular shop, and see if its either 'itemshop' or 'adoptshop'. If not, change the shoptype.
|
Funny... it says it's adoptshop. O.o
I just had another shop do the same exact thing, but I realized that I mispelled the shop name in the link and fixed it. This shop seems to be a bit different though... |
The problem is when creating a shoplist which doesn't take any shop, it just checks for whatever shops you have (adoptshop or itemshop) and makes a list with them. But my files are pretty modified, what link are you talking about? x.x
|
Um, here's the link and table:
Link: http://caterpillarcave.x10.mx/shop/b...rpillar%20Shop Table: caterpillar The Holiday/Event Caterpillar Shop adoptshop Buy special holiday and event caterpillars here. http://caterpillarcave.x10.mx/picuploads/png/21f20... invisible 0 |
I believe it's because of the name too. The Holiday/Event Caterpillar Shop might not be a valid name for a link because it assumes the thing before / is a page, which is not
|
Ah! Thanks everyone! It seems to be working now - I just changed the shop name to what it originally was. :3
|
All times are GMT -5. The time now is 10:12 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.