Fatal error: Uncaught TypeError: Argument 1 passed to generaExcel() must be an instance of DateTime or null, boolean given, called in /repository/GCloud-WebRoot/ww2.rcovid19.it/WP-RCovid/public/xlsx/giornalieroPerProvincia.php on line 8 and defined in /repository/GCloud-WebRoot/ww2.rcovid19.it/WP-RCovid/src/reportExcel.php:8 Stack trace: #0 /repository/GCloud-WebRoot/ww2.rcovid19.it/WP-RCovid/public/xlsx/giornalieroPerProvincia.php(8): generaExcel(false) #1 {main} thrown in /repository/GCloud-WebRoot/ww2.rcovid19.it/WP-RCovid/src/reportExcel.php on line 8