cancel
Showing results for 
Search instead for 
Did you mean: 

Installed B2B - Admin Console crash - Class 'Magento\B2b\Model\ProductMetadata' not found

Installed B2B - Admin Console crash - Class 'Magento\B2b\Model\ProductMetadata' not found

Hi All,

 

I have setup local development environment for my project on Magento Commerce Cloud 2.4.1. Everything worked fine, both storefront and admin.

I further installed B2B extension using following commands.

 

composer require magento/extension-b2b --no-update
composer update
bin/magento setup:upgrade 
bin/magento setup:di:compile
bin/magento setup:static-content:deploy -f
bin/magento cache:clean

 

I can see that extension is enabled and files available under ./vendor folder.

 

Started all the required consumers.

 

When I launch Admin console, it just gives exception error message and nothing works.

 

In log file I see following error.

 

CRITICAL: Error: Class 'Magento\B2b\Model\ProductMetadata'

 

This file exists in Vendor folder. Not sure what's wrong.  Please provide clue what am I doing wrong?