Fatal error: Uncaught TypeError: Argument 1 passed to app\model\Team::findByIdAndYear() must be of the type int, null given, called in /home/s23be9ac/public_html/desdelapole.es/app/model/DriverClassification.php on line 30 and defined in /home/s23be9ac/public_html/desdelapole.es/app/model/Team.php:20 Stack trace: #0 /home/s23be9ac/public_html/desdelapole.es/app/model/DriverClassification.php(30): app\model\Team::findByIdAndYear(NULL, 2020) #1 /home/s23be9ac/public_html/desdelapole.es/app/model/DriverClassification.php(90): app\model\DriverClassification::contingenceTeam('24', 2020) #2 /home/s23be9ac/public_html/desdelapole.es/app/model/DriverClassification.php(16): app\model\DriverClassification->__construct(2020, Object(app\model\GP)) #3 /home/s23be9ac/public_html/desdelapole.es/app/route/handler/GPHandler.php(103): app\model\DriverClassification::build(2020, Object(app\model\GP)) #4 /home/s23be9ac/public_html/desdelapole.es/vendor/jmartnez/phpwebframework/fwk/route/Handler.php(63): app\route\handler\GPHandler->execute() in /home/s23be9ac/public_html/desdelapole.es/app/model/Team.php on line 20