Skip to content
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

Notice: Undefined offset in /var/www/magento/src/vendor/smile-sa/elasticsuite/src/module-elasticsuite-catalog/Model/Layer/Filter/Category.php on line 143 #45

Closed
romainruaud opened this issue Jun 3, 2016 · 1 comment
Assignees
Labels
Milestone

Comments

@romainruaud
Copy link
Collaborator

foreach ($categories as $category) {
    $productCount = $optionsFacetedData[$category->getId()]['count'];
    if ($category->getIsActive() && isset($optionsFacetedData[(int) $category->getId()]) && $productCount > 0) {

There should be a test on $optionsFacetedData[$category->getId()]['count']

@afoucret
Copy link
Contributor

afoucret commented Jun 6, 2016

Fixed by PR #46

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants