When running “occ commands” it ends up with PHP Fatal error for Egulias\EmailValidator\EmailLexer.
Example for command “sudo -u www-data php /var/www/html/occ app:update --all”
Gives (below) output,
PHP Fatal error: Type of Egulias\EmailValidator\EmailLexer::$lookahead must be ?Doctrine\Common\Lexer\Token (as in class Doctrine\Common\Lexer\AbstractLexer) in /var/www/html/3rdparty/egulias/email-validator/src/EmailLexer.php on line 11
Unfortunately there is no more detailed log. Does anyone have an idea what the error could be and what it is caused by?
I am well aware that the version is no longer supported. The problem is that I am stuck with the version. This is because of UCS (Univention Corporate Server).
Thanks, but now I was thinking more about the fact that the time for nextcloud app upgrade for UCS doesn’t really scale. I find that once nextcloud app is upgraded, it’s close to EOL for the version.
That’s why we are forced to stay with a version that is EOL. Once you encounter something that doesn’t work, you don’t get any support from the community. For example, what (the case) I mentioned in my first report.
About the posted error,
It is difficult to find the source of the error, when the error message (it self) is vague.
I think there may be some wise people here who can give some advice on the matter.