- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2021
03:39 AM
04-30-2021
03:39 AM
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?
Labels:
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2021
12:56 PM
06-15-2021
12:56 PM
Re: Installed B2B - Admin Console crash - Class 'Magento\B2b\Model\ProductMetadata' not found
Run the same command again,
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento setup:static-content:deploy -f
bin/magento cache:clean
It seems to work for me