catalyst / moodle-auth_outage

Planned, graduated user and admin friendly moodle outages
https://moodle.org/plugins/auth_outage
17 stars 33 forks source link

PHP 7.4 - Trying to access array offset on value of type null #201

Open danmarsden opened 4 years ago

danmarsden commented 4 years ago

https://www.php.net/manual/de/migration74.incompatible.php#migration74.incompatible.core.non-array-access

maintenance_static_page_test::test_updatelinkstylesheet Trying to access array offset on value of type null

www/moodle/auth/outage/classes/local/controllers/maintenance_static_page_generator.php:131 www/moodle/auth/outage/classes/local/controllers/maintenance_static_page_generator.php:82 www/moodle/auth/outage/classes/local/controllers/maintenance_static_page.php:121 www/moodle/auth/outage/tests/phpunit/local/controllers/maintenance_static_page_test.php:188 www/moodle/auth/outage/tests/phpunit/local/controllers/maintenance_static_page_test.php:89 www/moodle/lib/phpunit/classes/advanced_testcase.php:80