Independence Day Offer. Save 25% on Magento Hosting. Sign Up Now.

How to Fix “Uncaught Error: Class ‘Magento\Setup\Mvc\Bootstrap\InitParamListener’ not found” Error After Upgrading to Magento 2.4.x?

Upgrading the Magento platform is always recommended. But sometimes, updating the platform comes with errors.

In this quick tutorial, we will be looking at how to fix “Uncaught Error: Class ‘Magento\Setup\Mvc\Bootstrap\InitParamListener’ not found” Error After Upgrading to Magento 2.4.x?

After upgrading the Magento store to the version 2.4.x, when you try to run the Magento setup upgrade command, it can show an error like:

PHP Fatal Error: “Uncaught Error: Class ‘Magento\Setup\Mvc\Bootstrap\InitParamListener’ not found”

How to Fix Class ‘Magento\Setup\Mvc\Bootstrap\InitParamListener’ not found Error in Magento 2?

Follow the steps to fix the error:

Step 1: Navigate to the Magento root directory

Step 2: Run the following command from the terminal

rm -rf vendor

The command will delete the contents of the vendor.

Read: Command Magento CLI Commands

Step 3: Install the composer by running the following command on the Magento root directory from the terminal.

composer install

Wrap Up

The first command deletes the vendor content. And the second command installs the composer again.

Multiple Magento errors to solve:

I hope this tutorial helps you to solve the Magento\Setup\Mvc\Bootstrap error. If you find more Magento errors and are not able to solve them, feel free to get in touch.

Latest Magento Tips, Guides, & News

Stay updated with new stuff in the Magento ecosystem including exclusive deals, how-to articles, new plugins, and more. 100% Magento Goodness, a promise!

Leave a Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top

Talk to a sales representative

USA / Worldwide

+1.714.2425683

India

+91.9852704704

We can help you. Right now.

Fast growing merchants depend Breeze for high-performance hosting. Experience counts. Let's get started.

Request demo

Please fill in the details below and we’ll reach out to you with a customized demo of our product!

Get your FREE Image SEO Checklist

Bring more visitors to your image from Google search from the existing images.