Dear Ross and Sandra
This semester’s reports are ready to be generated, but Gibbon is giving me the Oh no, the gibbons have…"! screen. It works when I remove the attendance block in the report builder.
I desperately need to fix this… Maybe the following will help you point me in the right direction.
Again, thanks a million for the wonderful work…
I’m using PHP 8.0 and have recently upgraded from Ubuntu 18 to 20 on my server.
The error log was showing: AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /var/www/gibbon/modules/Reports/src/Sources/AttendanceByCycle.php:120\nStack trace:\n#0 [internal function]: Gibbon\Module\Reports\Sources\AttendanceByCycle->Gibbon\Module\Reports\Sources\{closure}()\n#1 /var/www/gibbon/modules/Reports/src/Sources/AttendanceByCycle.php(121): array_filter()\n#2 [internal function]: Gibbon\Module\Reports\Sources\AttendanceByCycle->Gibbon\Module\Reports\Sources\{closure}()\n#3 /var/www/gibbon/modules/Reports/src/Sources/AttendanceByCycle.php(92): array_map()\n#4 /var/www/gibbon/modules/Reports/src/DataFactory.php(60): Gibbon\Module\Reports\Sources\AttendanceByCycle->getData()\n#5 /var/www/gibbon/modules/Reports/src/ReportBuilder.php(146): Gibbon\Module\Reports\DataFactory->buildReportData()\n#6 /var/www/gibbon/modules/Reports/reports_generate_singleProcess.php(80): Gibbon\Module\Reports\ReportBuilder->buildReportSingle()\n#7 {main}\n thrown in /var/www/gibbon/modules/Reports/sr…’, referer: https://gibbon…/index.php?q=%2Fmodules%2FReports%2Freports_generate_single.php&gibbonReportID=0000000029&contextData=008
And is now showing, the following in addition to the above.
[Mon Jun 26 11:45:36.574461 2023] [autoindex:error] [pid 598430] [client 179.210.173.21:43102] AH01276: Cannot serve directory /var/www/gibbon/modules/Reports/: No matching DirectoryIndex (index.html,index.htm,index.php) found, and server-generated directory index forbidden by Options directive, referer: https://gibbon…/modules/Reports/reports_generate_singleProcess.php