View Single Post
  #1  
Old 11-21-2015, 12:20 AM
Abronsyth's Avatar
Abronsyth Abronsyth is offline
A Headache Embodied
 
Join Date: Aug 2011
Location: NY
Posts: 1,011
Gender: Male
Credits: 118,018
Abronsyth is on a distinguished road
Default Issue with Myadopts Page

EDIT- see my latest post

Alright, as a note I have the following mods installed:
Quote:
News System (c) Into Rain @ Mysidiaadoptables.com
Shop layout, inventory layout, pet birthday mod, switch gender item mod (c) Kyttias @ Mysidiaadoptables.com
With all of these mods installed I had no issue adopting my first 4 pets, all of which are the same species. I then just added a new species and this error presents itself after I added it:
Code:
Fatal error: Call to a member function setFlags() on a non-object in /home/catisserie/public_html/classes/class_appcontroller.php on line 192
Now when trying to access my /myadopts page:
Code:
Fatal error: Uncaught exception 'AdoptNotfoundException' with message 'Adoptable does not exist...' in /home/catisserie/public_html/classes/class_adoptable.php:26 Stack trace: #0 /home/catisserie/public_html/classes/class_ownedadoptable.php(28): Adoptable->__construct(NULL) #1 /home/catisserie/public_html/view/myadoptsview.php(26): OwnedAdoptable->__construct('5') #2 /home/catisserie/public_html/classes/class_frontcontroller.php(100): MyadoptsView->index() #3 /home/catisserie/public_html/index.php(74): FrontController->render() #4 /home/catisserie/public_html/index.php(78): IndexController::main() #5 {main} thrown in /home/catisserie/public_html/classes/class_adoptable.php on line 26
Now what's off is my owned_adoptables table...for some reason it put the species ID in as NULL? I'm not sure what messed it up...but manually fixing it worked. What should the default be for type?


EDIT:
Edit 1-- I tested it after altering and the same error happened again. This wasn't happening before even with the know-gender-before mod added. I'm very confused. It seems to be failing to automatically input the adoptable type where it belongs?

Edit 2-- The most recent mod is the item-drop mod. I'll try removing the changes I added for that, see if that's the issue.

Edit 3-- Okay, I removed all edits done with the drop item mod and it's still not working properly. I'm very much lost. It was working perfectly before this. No idea why it's automatically screwing up the adoptable type and shifting type over to where name should be.

Edit 4-- The issue occurs with both types of pets now that exist, not just the newer one.

Edit 5-- I removed Kyttias' "know gender before naming" mod and I'm getting the same error.

Screenshot of Table
Screenshot of Structure
__________________
My Mods Site (1.3.4, 2020 Mods)

Last edited by Abronsyth; 11-21-2015 at 03:06 PM.
Reply With Quote