New answers tagged

0

Run composer clearcache && composer install to get all file missing. If the file is not found. You should create an apply patch to add it in.


0

I have come across this on a Magento 2.3.7 site, when trying use translations to alter text like "Jot us a note" on the contact us page. When I used that grep command to find the issues, it came back with just 2 results, both from the dev tools: ./dev/tests/integration/testsuite/Magento/Customer/Model/Address/CreateAddressTest.php:480: ...


0

Check you error logs. For me it said Observer XY must implement Magento\Framework\Event\ObserverInterface So I had to change my class from class XY to class XY implements \Magento\Framework\Event\ObserverInterface


0

It seems that the upgrade requires a function "str_contains()" that only exists in PHP8. Can you try with php8 instead of 7.4 ?


0

Try to match elasticsearch versions with composer.json and composer.lock with magento 2 github with the version you are upgrading


0

From magento requirements, it says for magento 2.4.3 you need ES 7.9


2

A neater solution would be to use: ALTER IGNORE TABLE catalog_url_rewrite_product_category ADD UNIQUE KEY (url_rewrite_id, category_id, product_id) This forces MySQL to delete the duplicate entries on the table, after which you can delete the new index if you wish too.


0

you can try removing this line Magento\Quote\Model\QuoteFactory $quoteFactory from construction and run di compile. As per above the the error message is saying that 4th object it is receiving $quoteFactory instead of MessageFactory. And delete generated folder, as all these factory classes will be generated and saved under this.


0

I know it is not an ideal solution, but I disabled the event and I am now able to make product edits in admin.


Top 50 recent answers are included