Shop Appearing As Fatal Error

Forum
Last Post
Threads / Messages

Hwona

Member
Member
Joined
Mar 1, 2013
Messages
620
Points
0
Mysidian Dollar
31,589
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
 
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
 

Similar threads

Users who are viewing this thread

  • Forum Contains New Posts
  • Forum Contains No New Posts

Forum statistics

Threads
4,280
Messages
33,129
Members
1,603
Latest member
Monako
BETA

Latest Threads

Latest Posts

Top