Description
It looks like the error reported in #983 is still happening - using PHP 8.1;
Uncaught PHP Exception Error: "Undefined constant "App\Entity\Member\AUTH_TYPE_ANY"" at /tmp/cache/prod/doctrine/orm/Proxies/__CG__AppEntityMemberMember.php line 1309
Exception: Error
- Undefined constant "App\Entity\Member\AUTH_TYPE_ANY"
Stacktrace;
/tmp/cache/prod/doctrine/orm/Proxies/__CG__AppEntityMemberMember.php:1309
/var/task/src/Entity/Member/Member.php:2864
/tmp/cache/prod/doctrine/orm/Proxies/__CG__AppEntityMemberMember.php:1809
/var/task/src/Entity/Member/Member.php:2835
/tmp/cache/prod/doctrine/orm/Proxies/__CG__AppEntityMemberMember.php:1798
/var/task/src/Service/Event/MyService.php:272
Code;
This is referring to this method signature;
public function isMemberAuthorised(
string $section,
int $level_required,
$type = AUTH_TYPE_ANY,
$group = AUTH_GROUP_ANY
): bool {
...
}
Let me know if you need any more info - happy to help where I can.