Don't believe that was the issue:
Believe the issue is in the constructor of myadopts.php
Code:
if( $this->action != "index"){
try{
$this->adopt = new OwnedAdoptable($mysidia->input->get("aid"));
if($this->adopt->getOwner() != $mysidia->user->username) throw new NoPermissionException("permission");
$this->image = $this->adopt->getImage("gui");
}
if( $this->action != "index"){, if the page isn't index page of myadopts/, it tries to fetch a pet id ? =)