in2code-de / powermail

This is the official repository of the TYPO3 extension powermail! Powermail is a well-known, editor-friendly, powerful and easy mailform extension for TYPO3
https://in2code.de
88 stars 174 forks source link

Fatal Error after upgrade TYPO3 to the version 10.4.10 #950

Closed vruescas closed 4 months ago

vruescas commented 9 months ago

After upgrade TYPO3 to the version 12.4.10 i get the following error message:

Fatal error: Declaration of In2code\Powermail\Condition\PowermailConditionFunctionsProvider::getFunctions() must be compatible with Symfony\Component\ExpressionLanguage\ExpressionFunctionProviderInterface::getFunctions(): array in /var/www/html/vendor/in2code/powermail/Classes/Condition/PowermailConditionFunctionsProvider.php on line 20

grischpel commented 9 months ago

I have this after upgrading to version 12.0.3

vnc-jboe commented 9 months ago

Downgrade symfony/expression-language to ^6.4 until a fix has been made in powermail

Or patch powermail by replacing in In2code\Powermail\Condition\PowermailConditionFunctionsProvider line 20: public function getFunctions()

with this: public function getFunctions(): array

mschwemer commented 4 months ago

Please update to the current powermail version.

Fixed with 12.1.0 (current version is 12.3.5)