View Single Post
  #3  
Old 03-29-2016, 05:21 PM
tahbikat's Avatar
tahbikat tahbikat is offline
Member
 
Join Date: Feb 2014
Location: Louisiana
Posts: 408
Gender: Female
Credits: 50,857
tahbikat is on a distinguished road
Default

I've tried that but it gives me this every time:
HTML Code:
Fatal error: Call to undefined method stdClass::getCompanion() in /home/mysgardia/public_html/functions/functions_items.php on line 194
If I substitute the getCompanion for adopt->companion instead, it gives me the companion the adoptable already has, but doesn't update the companion column or delete the used item. So I started with 0 Magic Wisps and 1 Fire Wisp. Now I have 3 Magic Wisps and 1 Fire Wisp. It also throws up this error:

HTML Code:
Fatal error: Call to undefined method StockItem::remove() in /home/mysgardia/public_html/functions/functions_items.php on line 202
And thanks! I didn't know I could just use adopt->companion. :x <3
Reply With Quote