I´ve updated to Magento 2.4.6 a month ago. Today I ran "composer update" and after that when I try to run "bin/magento setup:upgrade" I get following error.
I can´t figure out the cause of this problem. Does anybody have an idea why this happens? And any suggestions on how to fix it?
Thanks for your answers!
It appears that you are experiencing an issue with the modules located in the vendor directory. To address this, please consider removing the vendor directory and executing the following command:
sudo -H composer self-update
Please inform me if this resolves the issue.
Hi @magentogra692a ,
Thanks for your reply! I deleted the entire vendor folder and ran the command and it updated composer from verson 2.55 to 2.58.
But when i run setup:upgrade I still get the same error.
Any other idea on how to locate whats the cause of the error?
Could you please provide the following information for further assistance:
1. PHP Version
2. Composer Version
3. Could you please attach the composer.json file or the content ?
Additionally, it would be helpful to know the commands you executed after deleting the vendor folder. This will aid in understanding the steps taken to resolve the issue.
The error message indicates that there is a problem with the return type in the CompletedFutureArray.php file of the GuzzleHttp library. It states Pokemon Infinite Fusion Calculator that the offsetExists() function should either be compatible with ArrayAccess's offsetExists(mixed $offset): bool or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice.