Skip to content

fixed #2285 Fatal error: Class 'Magento\CatalogUrlRewrite\Observer\Vi… #2287

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

Closed
wants to merge 1 commit into from
Closed

Conversation

daim2k5
Copy link
Contributor

@daim2k5 daim2k5 commented Nov 7, 2015

…sibility' not found code is taken from @dfediuk #2285

@davidalger
Copy link
Member

@daim2k5 Would it be better to simply add the following to the top of the file (as the rest of this particular source file does)? This is (to my knowledge) preferred, but unfortunately not the norm yet due to the overwhelming amount of legacy code.

use \Magento\Catalog\Model\Product\Visibility;

@vzabaznov
Copy link
Contributor

Thanks for contributing, but now code already use Magento\Catalog\Model\Product\Visibility through

use Magento\Catalog\Model\Product\Visibility;

@davidalger
Copy link
Member

This was fixed in efd80ee. Closing

@davidalger davidalger closed this Mar 7, 2016
magento-engcom-team pushed a commit that referenced this pull request Mar 27, 2018
Tasks:
- MAGETWO-88775 Few optimizations on category & product pages
- MAGETWO-88808 Implement parallelization for Category Product Indexer
- MAGETWO-86046 [Performance] Temp table temp_catalog_category_tree_index has no indexes for the columns parent_id and child_
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants