I'm receiving the following error when trying to add an attendance activity.
Fatal error: Can't use method return value in write context in /var/www/apps/lms/moodle/mod/attendance/locallib.php on line 1073
I noticed in git this particular line has been updated a few times in the past few weeks. Tried previous commits with no luck.