magefan / module-blog

Magento 2 Blog Extension is a solution that helps you to create a blog on Magento and manage posts,categories, tags, authors, and comments.
https://magefan.com/magento2-blog-extension
Other
263 stars 135 forks source link

Missing class Magefan\Community\Controller\Adminhtml\Actions #163

Closed Anantkprajapati closed 6 years ago

Anantkprajapati commented 6 years ago

Fatal error: Class 'Magefan\Community\Controller\Adminhtml\Actions' not found in app/code/Magefan/Blog/Controller/Adminhtml/Actions.php on line 1

magefan commented 6 years ago

This is duplicate for issue https://github.com/magefan/module-blog/issues/157

Anantkprajapati commented 6 years ago

This is happen when i download the module and add it under app/code But i removed from it and run the below commands and its looking like fixed composer require magefan/module-blog php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento setup:static-content:deploy

but it should work if direct download it and put it under app/code without run composer command

Thank you

Anantkprajapati commented 6 years ago

okay thank you...

Can you please set those full setup in github.. So, this should not happen or add noted in README

magefan commented 6 years ago

It is already there https://prnt.sc/jmhnmt

nimbus2300 commented 5 years ago

Thanks - this worked for me...

To summarise: I wanted to run magefan/module-blog out of my app/code area (to make changes), but it failed with the error:

PHP Fatal error: Class 'Magefan\Community\Controller\Adminhtml\Actions' not found

It needed Magefan\Community, so to fix this message I had download and install magefan/module-community.

magefan commented 5 years ago

@nimbus2300 , try to install extensions via the composer, in such case, all dependencies will be installed automatically, or download the extensions from the vendor websites. If you download the module from our store, then the community module will be included in the archive https://magefan.com/magento2-blog-extension