Class "\Doctrine\Common\Lexer" not found while TYPO3 installation
I was creating a new TYPO3 v9.3 project with Composer.
In the installation wizard in the step where I can create the admin user, I got an error in the network request that says:
... Class "\Doctrine\Common\Lexer" not found while TYPO3 installation ...
After a while of debugging I realized, that there is no class "\Doctrine\Common\Lexer", but this class does exist: "\Doctrine\Common\Lexer\AbstractLexer"
So I changed 1 line of code in this file [[https://github.com/TYPO3/TYPO3.CMS/blob/master/typo3/sysext/core/Classes/Database/Schema/Parser/Lexer.php#L22]]
and the error was solved:
class Lexer extends \Doctrine\Common\Lexer
AFTER, this worked:
class Lexer extends \Doctrine\Common\Lexer\AbstractLexer
Can you please check that?
Some months ago, I have installed TYPO3 v9 without such a problem. hhumm..