View Single Post
  #3  
Old 03-07-2016, 11:10 PM
tahbikat's Avatar
tahbikat tahbikat is offline
Member
 
Join Date: Feb 2014
Location: Louisiana
Posts: 408
Gender: Female
Credits: 51,608
tahbikat is on a distinguished road
Default

Getting errors. I tried adding this to the doReleasePet in the class_ownedadoptable.php and got a fatal error.
Code:
Fatal error: Call to a member function delete() on null in /home/mysgardia/public_html/classes/class_ownedadoptable.php on line 103
Moved it to the function in myadopts.php and it displayed this error on page:
Code:
Database error 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Lavie'' at line 1
EDIT: I changed it to this to do some experimenting (after backing up db lol) and it said I successfully released the pet yet I still have it. :<
Code:
$mysidia->db->delete("owned_adoptables", "aid='{$this->aid}'");

Last edited by tahbikat; 03-07-2016 at 11:33 PM.
Reply With Quote