Notice: Trying to access array offset on value of type null in /home2/robinb2/oop.rugbydatabase.co.nz/team.php on line 60

Fatal error: Uncaught TypeError: Typed property Team::$teamId must be int, null used in /home2/robinb2/oop.rugbydatabase.co.nz/team.php:60 Stack trace: #0 /home2/robinb2/public_html/team/index.php(10): Team->getById('1295') #1 {main} thrown in /home2/robinb2/oop.rugbydatabase.co.nz/team.php on line 60