Upgrade quirks and tips

Recently we had to upgrade our Magento 2.4.3 to 2.4.5. Technically this should not be a big deal, what could go wrong, right? Right after we processed the upgrade itself, there was a very strange error regarding Vertex:

Service with name "Magento\Setup\Console\Command\DbStatusCommand" could not be created. Reason: Class "Vertex\Tax\Setup\Schema\Triggers\MigrateVertexInvoiceSent" does not exist     

The problem is, there was Vertex in charge on this project. Long story short - don't forget to run:

redis-cli flushall

To be fair, this issue will would happen even with upgrade to 2.4.4 due to https://devdocs.magento.com/guides/v2.4/release-notes/commerce-2-4-4.html#vendor-bundled-extensions.

You may also like

 16.5.2021
Unit testing Magento 1

Writing unit tests for Magento 1 running in Docker Container

 23.5.2023
An error "Missed phrase" during Magento 2 phrase collection

Exception during phrase collection

 29.3.2022
Debugging Magento CLI running in Docker container

Debugging Magento CLI running in Docker container

 29.12.2022
XSD validation in your IDE

Validate your XML files against Magento 2 XSD schemas

 5.4.2023
Magento release 2.4.6 - what's new

New release of Magento 2

 3.5.2023
Mailhog PHP sendmail path configuration

Sending mails from PHP within Docker with Mailhog

 5.7.2023
Our Pimcore 11 upgrade notes

What we learned during upgrading Pimcore 10.x to 11.x