Skip to content

Conversation

@MaxSouza
Copy link

@MaxSouza MaxSouza commented Oct 25, 2023

This happens because the page builder preview tries to load the mini cart block, and its construct injects MethodInterface by <type>, but this type is available only on the frontend area.

The error: Error: Cannot instantiate interface Magento\Payment\Model\MethodInterface in /var/www/html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:50
Stack trace:

image
image

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant