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

Undefined Variable 'attribute' Error #3697

Closed
stanliwise opened this issue Aug 9, 2020 · 2 comments
Closed

Undefined Variable 'attribute' Error #3697

stanliwise opened this issue Aug 9, 2020 · 2 comments
Assignees
Labels
Duplicate This issue or pull request already exists.

Comments

@stanliwise
Copy link

stanliwise commented Aug 9, 2020

Bug report

Title

New Category with slug 'iphone' throws attribute error

Issue Description

I created a new category 'Iphone' as soon as I clicked the drop down category menu and clicked on the new category url on the homepage which should have taken me to the category page I guess but, it had an error with message

ErrorException thrown with message "Undefined variable: attributes (View: C:\Users\STANLIWISE\Desktop\Bagisto\resources\themes\velocity\views\products\list\layered-navigation.blade.php) (View: C:\Users\STANLIWISE\Desktop\Bagisto\resources\themes\velocity\views\products\list\layered-navigation.blade.php)"

version 1.1.2

Screenshot

  • [Screenshots, logs or description]
    error

updates

I just fixed the issue by changing category attribute from brand to price and it works fine. I don't know what that means

@devansh-webkul devansh-webkul self-assigned this Aug 10, 2020
@vaishaliwebkul
Copy link

Hi @stanliwise
this bug exists in bagisto 1.1.2 version which is already resolved in the master branch, you may check this here #3320,

You can fix it by updating the files as mention in this PR 85aed16

@vaishaliwebkul vaishaliwebkul added the Duplicate This issue or pull request already exists. label Aug 10, 2020
@stanliwise
Copy link
Author

Ok thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Duplicate This issue or pull request already exists.
Projects
None yet
Development

No branches or pull requests

4 participants