Q: After installing Mageplaza’s extension I’m encountering this error Fatal error: Uncaught TypeError: Argument 1 passed to Mageplaza\Core\Helper\AbstractData::__construct() must be an instance
Could you show me a quick way to fix this?
A: Don’t worry, this is a common glitch that you might be faced unexpectly. Please follow this step:
- Removing folders:
var/generation/* var/di/* var/cache/*
by running the following command line at Magento root folder:rm -rf var/generation/* var/di/* var/cache/*
- Check the result.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article