powermail icon indicating copy to clipboard operation
powermail copied to clipboard

Fatal Error after upgrade TYPO3 to the version 10.4.10

Open vruescas opened this issue 1 year ago • 2 comments

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

vruescas avatar Jan 16 '24 10:01 vruescas

I have this after upgrading to version 12.0.3

grischpel avatar Jan 16 '24 11:01 grischpel

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

vnc-jboe avatar Jan 19 '24 11:01 vnc-jboe

Please update to the current powermail version.

Fixed with 12.1.0 (current version is 12.3.5)

mschwemer avatar Jul 08 '24 09:07 mschwemer