Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on excuting upgrade wizards if RD Error and ExceptionHandler are active #22

Open
kanow opened this issue Sep 23, 2024 · 2 comments

Comments

@kanow
Copy link

kanow commented Sep 23, 2024

On executing upgrade wizards in TYPO3 12 I have en exception if RD\\ErrorLog\\Handler\\ProductionExceptionHandler, RD\\ErrorLog\\Handler\\DebugExceptionHandler and RD\\ErrorLog\\Handler\\ErrorHandler is used.

I'm executing upgrade wizards in command line with vendor/bin/typo3 upgrade:run --no-interaction.

First wizard "Running Wizard "Migrate backend users' selected UI languages to new format." fails with the following error:

Uncaught TYPO3 Exception Symfony\Component\ExpressionLanguage\ExpressionLanguage::parse(): Return value must be of type Symfony\Component\ExpressionLanguage\ParsedExpression, __PHP_Incomplete_Class returned
thrown in file /app/vendor/symfony/expression-language/ExpressionLanguage.php
in line 90

If I remove the RD classes in my settings.php everything works fine.

PHP 8.2
TYPO3 v12.4.20
symfony/expression-language v7.1.4

@Voronov
Copy link
Contributor

Voronov commented Sep 24, 2024

@kanow Do you happen to have the full error stack? It seems like a warning or error occurred, and our extension wasn't tested for such cases.

@kanow
Copy link
Author

kanow commented Sep 25, 2024

Sorry, I haven't a Stack Trace. Just those exception If I execute vendor/bin/typo3 upgrade:run in command line.
If I excute that upgrade wizard in backend, everything is working. No error, upgrdae wizard returns succes for this step.

Ah, if I switch to "Production" context and activate debugging, then I have a StackTrace in backend on excuting those wizard step.
rd-error-log_stacktrace.txt

I hope that helps you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants