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

Error on setup:di:compile command #95

Closed mihaelacmihai closed 6 years ago

mihaelacmihai commented 6 years ago

Hello, I'm receiving an error when I try to install the blog on Magento 2.1.6 Community edition. It says: Compilation was started. Repositories code generation... 1/7 [====>-----------------------] 14% 1 sec 46.0 MiB Fatal error: Interface 'Magefan\Blog\Api\ManagementInterface' not found in /var/www/html/app/code/Magefun/Blog/Api/CategoryManagementInterface.php on line 11. Could you please help? Thanks!

Regards, Mihaela

magefan commented 6 years ago

@manfrinm maybe you had an issue during file upload to your server. Please check if this file https://github.com/magefan/module-blog/blob/master/Api/ManagementInterface.php present in blog extension folder on the server.

mihaelacmihai commented 6 years ago

Thank you for your response. Physically the file exists and has the right content.

magefan commented 6 years ago

@mihaelacmihai I think it's something specific to your magento instant. Could you please contact us via contact form https://magefan.com/contact and provide credentials so we can check?

mihaelacmihai commented 6 years ago

thank you for your offer! Unfortunately, for now is not a live product, it's on a docker machine on my local. Thank you for your support!

magefan commented 6 years ago

as a suggestion try to remove var/di folder in your M2 directory

magefan commented 6 years ago

or check the files permission

mihaelacmihai commented 6 years ago

Huray! thank you very much! the file permissions must have been the problem because now is working! Best regards and congratulations! Great job with the blog extension, works like a charm!