Fatal error: Uncaught TypeError: Cannot assign null to property App\Controller\GenreController::$name of type string in /home/jhot/pub/subdomain/sextoy/public_html/app/Controller/GenreController.php:23 Stack trace: #0 /home/jhot/pub/subdomain/sextoy/public_html/genre/index.php(33): App\Controller\GenreController->__construct(1, NULL, NULL, 'rank') #1 {main} thrown in /home/jhot/pub/subdomain/sextoy/public_html/app/Controller/GenreController.php on line 23