Fatal error: Uncaught TypeError: Argument 1 passed to Ambiente::__construct() must be of the type int, null given, called in /membri/luoghidasogno/model/dao/AmbienteDao.php on line 112 and defined in /membri/luoghidasogno/model/Ambiente.php:19 Stack trace: #0 /membri/luoghidasogno/model/dao/AmbienteDao.php(112): Ambiente->__construct(NULL, NULL) #1 /membri/luoghidasogno/model/dao/RegioneDao.php(136): AmbienteDao->read(NULL) #2 /membri/luoghidasogno/categoria.php(77): RegioneDao->read('Francia') #3 {main} thrown in /membri/luoghidasogno/model/Ambiente.php on line 19