cancel
Showing results for 
Search instead for 
Did you mean: 

Fatal error when trying to install or update

Fatal error when trying to install or update

atm I get an error message, when trying to install or update an extansion in magento 2.4. Some weeks ago an upgrade to the new magento 2.4 version failed, after reinstalling the backup, the shop was online again. But something seams to went wrong by installing the backup... Shop is working, but no update is possible atm. Everytime we try to run an update, we get this error message.


I also tried to deactivate the Amasty extension, then I get same error message.

Anybody is able to help?


PHP Fatal error: Declaration of Amasty\Base\Model\SysInfo\Provider\Collector\CacheService\Page::get(): Amasty\Base\Model\SysInfo\Provider\Collector\CacheService\Info\CacheInfoInterface must be compatible with Amasty\Base\Model\SysInfo\Provider\Collector\CollectorInterface::get(): array in /var/www/vhosts/XXX.de/magento/vendor/amasty/base/Model/SysInfo/Provider/Collector/CacheService/Page.php on line 55

King regards
1 REPLY 1

Re: Fatal error when trying to install or update

Hello,

 

I got same issue, it was resolved by upgrading the Amasty_Base module.