Warning: Undefined variable $allpets in /home2/garney/public_html/Inbreeding.php on line 161

Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /home2/garney/public_html/Inbreeding.php:161 Stack trace: #0 /home2/garney/public_html/Inbreeding.php(58): Inbreeding->getinbreedingpercent() #1 /home2/garney/public_html/Inbreeding.php(26): Inbreeding->createnewInbreeding() #2 /home2/garney/public_html/critterpage.php(24): Inbreeding->__construct(582366) #3 {main} thrown in /home2/garney/public_html/Inbreeding.php on line 161