How can I fix Fatal error after installing?

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?

error

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.





Back Ask Mageplaza