-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error during compile #2
Comments
magefan
added a commit
that referenced
this issue
Jan 4, 2016
Gavin, thank you for report. There was extra (unneeded) properties in some blocks declarations. Regards |
Thanks so much! It compiled perfectly. |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for this module! It works great in development mode for me.
However, when I go to deploy to production, when it compiles I get this:
Magento\Framework\App\Action\Forward\Interceptor
Errors during compilation:
Magefan\Blog\Block\Post\PostList\AbstractList
Incorrect dependency in class Magefan\Blog\Block\Post\PostList\AbstractList in /var/www/html/magento/vendor/magefan/blog/Block/Post/PostList/AbstractList.php
\Magento\Store\Model\StoreManagerInterface already exists in context object
\Magento\Framework\View\Page\Config already exists in context object
Magefan\Blog\Block\Post\View\RelatedProducts
Incorrect dependency in class Magefan\Blog\Block\Post\View\RelatedProducts in /var/www/html/magento/vendor/magefan/blog/Block/Post/View/RelatedProducts.php
\Magento\Framework\Registry already exists in context object
Magefan\Blog\Block\Post\AbstractPost
Incorrect dependency in class Magefan\Blog\Block\Post\AbstractPost in /var/www/html/magento/vendor/magefan/blog/Block/Post/AbstractPost.php
\Magento\Store\Model\StoreManagerInterface already exists in context object
Magefan\Blog\Block\Sidebar\Categories
Incorrect dependency in class Magefan\Blog\Block\Sidebar\Categories in /var/www/html/magento/vendor/magefan/blog/Block/Sidebar/Categories.php
\Magento\Store\Model\StoreManagerInterface already exists in context object
Total Errors Count: 4
Compilation complete
Disabled maintenance mode
Enabled production mode.
Any ideas why that's happening? I've included your module with composer and it does work in development. Just compiling to production, or even running di:compile causes this error to appear.
The text was updated successfully, but these errors were encountered: