xperseguers / t3ext-image_autoresize

TYPO3 Extension image_autoresize. Simplify the way your editors may upload their images.
https://extensions.typo3.org/extension/image_autoresize
GNU General Public License v3.0
16 stars 22 forks source link

Fatal error: Declaration of execute() in BatchResize.php on line 62 #100

Closed nielsweb closed 6 months ago

nielsweb commented 6 months ago

When running TYPO3 with this setup, I get this error message: Fatal error: Declaration of Causal\ImageAutoresize\Command\BatchResize::execute(Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output) must be compatible with Symfony\Component\Console\Command\Command::execute(Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output): int in /vendor/causal/image_autoresize/Classes/Command/BatchResize.php on line 62

Seems that return type :int is missing in method declaration. Downgrade symfony/console to v6.4 fixed the problem for me.

prathers commented 6 months ago

I can confirm. Get the same error after installing v2.3.0

nielsweb commented 6 months ago

Sorry, is fixed in master (2 weeks ago). https://github.com/xperseguers/t3ext-image_autoresize/commit/473bef1189488920fb5184063c2ee75fec58bb93