Warning: foreach() argument must be of type array|object, null given in /home/jhot/pub/subdomain/fanzine/public_html/app/Models/DmmApi.php on line 384

Warning: Undefined variable $sampleImageList in /home/jhot/pub/subdomain/fanzine/public_html/app/Models/DmmApi.php on line 390

Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /home/jhot/pub/subdomain/fanzine/public_html/app/Models/DmmApi.php:390 Stack trace: #0 /home/jhot/pub/subdomain/fanzine/public_html/app/Models/DmmApi.php(390): count(NULL) #1 /home/jhot/pub/subdomain/fanzine/public_html/app/Models/DmmApi.php(160): App\Models\DmmApi->makeList(Object(SimpleXMLElement)) #2 /home/jhot/pub/subdomain/fanzine/public_html/app/Controller/GenreController.php(33): App\Models\DmmApi->getItemList('&offset=6481&hi...') #3 /home/jhot/pub/subdomain/fanzine/public_html/genre/index.php(33): App\Controller\GenreController->__construct('325', '153024', '\xE5\xA5\xB3\xE6\x80\xA7\xE8\xA6\x96\xE7\x82\xB9', 'rank') #4 {main} thrown in /home/jhot/pub/subdomain/fanzine/public_html/app/Models/DmmApi.php on line 390