For production mode with composer optimization Level 2, and Test folder excluded from autoload, like on core composer.json https://github.com/magento/magento2/blob/2.4-develop/composer.json#L371, will generate this error:
"main.CRITICAL: Error: Class 'DHLParcel\Shipping\Block\Adminhtml\Authentication\Test\Interceptor' not found" and "Shipping Methods" configuration tab is not accessible.
Can you please rename the DHLParcel\Shipping\Block\Adminhtml\Authentication\Test and DHLParcel\Shipping\Controller\Adminhtml\Authentication\Test to something else, like TestConnection or TestAuthentication?
Thank you!
Hello,
For production mode with composer optimization Level 2, and Test folder excluded from autoload, like on core composer.json https://github.com/magento/magento2/blob/2.4-develop/composer.json#L371, will generate this error: "main.CRITICAL: Error: Class 'DHLParcel\Shipping\Block\Adminhtml\Authentication\Test\Interceptor' not found" and "Shipping Methods" configuration tab is not accessible. Can you please rename the DHLParcel\Shipping\Block\Adminhtml\Authentication\Test and DHLParcel\Shipping\Controller\Adminhtml\Authentication\Test to something else, like TestConnection or TestAuthentication? Thank you!