cancel
Showing results for 
Search instead for 
Did you mean: 

blog module error

blog module error

Has anyone seen this error and how to fix it?

Autoload error

Module 'Magefan_Blog' from '/var/www/html/magento/app/code/Magefan/Blog' has been already defined in '/var/www/html/magento/vendor/magefan/module-blog'.

1 REPLY

Re: blog module error

Hi

looking at the error log you posted , it seems like you have installed magefan_blog module and two times/two locations ..

one is vendor/magefan/blog
second is app/code/magefan/blog

when we installed any extension using composer its installed in vendor directory..

when we manually installed then it is app/code directory ..

so to resolve this error , I would suggest you to remove magefan_blog extension from vendor directory ..

then after run below commands in sequence ..

php bin/magento setup:upgrade
php bin/magento setup:di:complie
php bin/magento cache:clean
php bin/magento cache:flush..


it will resolve this error and works for you !
if issue solved,Click Kudos & Accept as Solution