NULL not working in 1.3.6

Forum
Last Post
Threads / Messages

kristhasirah

Member
Member
Joined
Jan 22, 2010
Messages
197
Points
16
Location
In middle of the nothingness
Mysidian Dollar
20,995
Im trying to adapt some codes from 1.3.4/1.3.5 to the 1.3.6 and this happes in every code that returns NULL

edit: fixed the fatal error and fixed the notice undefined

still need help whit the family tree
Fatal error: Uncaught Model\DomainModel\AdoptNotfoundException: Owned Adoptable ID does not exist or does not belong to the owner specified... in /home/littlepl/public_html/model/domainmodel/ownedadoptable.php:46 Stack trace: #0 /home/littlepl/public_html/view/main/petprofileview.php(157): Model\DomainModel\OwnedAdoptable->__construct(NULL) #1 /home/littlepl/public_html/resource/core/frontcontroller.php(120): View\Main\PetprofileView->view() #2 /home/littlepl/public_html/index.php(78): Resource\Core\FrontController->render() #3 /home/littlepl/public_html/index.php(84): IndexController->run() #4 /home/littlepl/public_html/index.php(88): IndexController::main() #5 {main} thrown in /home/littlepl/public_html/model/domainmodel/ownedadoptable.php on line 46

I have used != NULL or == NULL but dont work. I had to set the first 2 adopts as mother and father to get the code working... somothing that dont happen in the older versions... is there a way to fix this??
 
Last edited:
The code in Mys v1.3.6 has changed that NULL is no longer a valid value for the first argument of class OwnedAdoptable. It is not possible to create an instance of class OwnedAdoptable without an adoptable ID.
 

Similar threads

Users who are viewing this thread

  • Forum Contains New Posts
  • Forum Contains No New Posts

Forum statistics

Threads
4,267
Messages
33,049
Members
1,602
Latest member
BerrieMilk
BETA

Latest Threads

Latest Posts

Top