netresearch / dhl-shipping-m2

DHL multi-division shipping extension for Magento 2
Open Software License 3.0
13 stars 4 forks source link

Error after installation - ExportDescription does not exist #3

Closed codingcoast closed 4 years ago

codingcoast commented 4 years ago

Magento version 2.3.3

I did the following: Replaced this lines in composer.json:

"dhl/module-label-status": "^1.1",
"dhl/module-shipping-m2": "^0.11",

with:

"dhl/shipping-m2": "^1.0.0",

Then

php composer.phar update
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento cache:flush
php bin/magento cache:clean

When I access the frontend or backend I get the following Error:

main.CRITICAL: Class Dhl\Shipping\Model\Attribute\Backend\ExportDescription does not exist {"exception":"[object] (ReflectionException(code: -1): Class Dhl\\Shipping\\Model\\Attribute\\Backend\\ExportDescription does not exist at [...]/vendor/magento/framework/Code/Reader/ClassReader.php:19)"} []

mam08ixo commented 4 years ago

This kind of error frequently happens when module sources were removed without properly uninstalling module data. You can fix this by following the manual data removal steps.

ngolatka commented 4 years ago

@codingcoast Can you confirm that the instructions from @mam08ixo resolved your problem? If yes, please close this issue.

codingcoast commented 4 years ago

Didn't know that this procedure can cause problems. I tried it with uninstalling first and it seems to work. Thank you