I have tried to upgrade Magento From 2.4.2 to 2.4.4 with but getting below error while running any magento commands.

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

Class "Vertex\Tax\Setup\Schema\Triggers\MigrateVertexInvoiceSent" does not exist

Attached the SS. enter image description here

  • can you please run : composer update || composer upgrade || composer install ,and try Jul 6, 2022 at 10:34
  • Nothing happens, All commands I have tried. Jul 6, 2022 at 10:38
  • which php version you have ? Jul 6, 2022 at 10:42
  • I have tried using PHP 8.1 Jul 6, 2022 at 10:43
  • it is working now ? Jul 6, 2022 at 10:59

2 Answers 2


I encountered this issue when upgrading to Adobe Commerce 2.4.4-p1. I was able to solve it by manually flushing the Redis cache databases being used by the instance. Sometimes the cache holds on to legacy data and causes these kind of issues.

Using the bin/magento or admin console to flush cache is not enough. You need to restart the redis cache server if possible or manually flush the cache using the redis-cli like the following example.

To flush a specific Redis cache database.

redis-cli -n DB_NUMBER FLUSHDB

To flush all Redis cache.

redis-cli FLUSHALL

  • flushing redis cache database solved the error message. Thanks !
    – Aurel
    Apr 4, 2023 at 14:58

in your magento 2 database search in whole database "MigrateVertexInvoiceSent" file or its path , if it is exist then delete it's entry from database ,And check

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.