Error after Installation in TYPO3 12LTS / aimeos-typo3 23.10

Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
taunusweb
Posts: 2
Joined: 23 Feb 2024, 09:27

Error after Installation in TYPO3 12LTS / aimeos-typo3 23.10

Post by taunusweb » 23 Feb 2024, 09:33

Hi there,

I try to install aimeos in a ddev Project (PHP 8.3, TYPO3 12.4.11, aimeos-typo3 23.10.3), but I get the following Error:

Code: Select all

Fatal error: Declaration of Aimeos\Aimeos\Command\JobsCommand::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 /var/www/html/vendor/aimeos/aimeos-typo3/Classes/Command/JobsCommand.php on line 51
Any hints? Thanks in Advance
Uli

User avatar
aimeos
Administrator
Posts: 7894
Joined: 01 Jan 1970, 00:00

Re: Error after Installation in TYPO3 12LTS / aimeos-typo3 23.10

Post by aimeos » 23 Feb 2024, 09:51

TYPO3 maintainers decided to allow a new major version of the Symfony console package (7.x) in TYPO3 12.4.11 which isn't backwards compatible due to changed return declaration for the execute() methods of commands.

Can you please update to aimeos-typo3:2023.10.x-dev and check if it works using the latest commit (ed25ebb899e921405a7c605b691017dd540556db)?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

taunusweb
Posts: 2
Joined: 23 Feb 2024, 09:27

Re: Error after Installation in TYPO3 12LTS / aimeos-typo3 23.10

Post by taunusweb » 23 Feb 2024, 09:57

That worked! :)

User avatar
aimeos
Administrator
Posts: 7894
Joined: 01 Jan 1970, 00:00

Re: Error after Installation in TYPO3 12LTS / aimeos-typo3 23.10

Post by aimeos » 23 Feb 2024, 10:12

Thanks, a new version has been released now
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply