We get this error, when students subscribes to a forum, with optional subscription. Same error is shown when we want to see the overview of the subscriptions as admin.
We assume that the error was there before, but since we are on php 8 it is shown and the execution is interrupted.
We assume, that in the file subscriptions.php the wrong CONSTANT is used. In the lib.php no "FORUM_DISALLOWSUBSCRIBE" ist defined, but the CONSTANT "HSUFORUM_DISALLOWSUBSCRIBE" ist defined. Perhaps it's a remnants from the original forum.
We get this error, when students subscribes to a forum, with optional subscription. Same error is shown when we want to see the overview of the subscriptions as admin. We assume that the error was there before, but since we are on php 8 it is shown and the execution is interrupted.
System: Moodle 3.11.10 php 8.0 Openforum 2022060600
We assume, that in the file subscriptions.php the wrong CONSTANT is used. In the lib.php no "FORUM_DISALLOWSUBSCRIBE" ist defined, but the CONSTANT "HSUFORUM_DISALLOWSUBSCRIBE" ist defined. Perhaps it's a remnants from the original forum.