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

uninitialized constant Spree::Core::SearchkickFilters #29

Open
viveki2it opened this issue May 7, 2021 · 2 comments
Open

uninitialized constant Spree::Core::SearchkickFilters #29

viveki2it opened this issue May 7, 2021 · 2 comments

Comments

@viveki2it
Copy link

Hello,

I am getting below error only on Production environment. Could you please help me about this issue. Why I am getting this error. Thanks in advance.

I, [2021-05-07T21:24:30.768100 #47094] INFO -- : [ba493c61-0ab7-46c9-9592-9201fb5520df] Completed 500 Internal Server Error in 232ms (ActiveRecord: 47.8ms)
F, [2021-05-07T21:24:30.769111 #47094] FATAL -- : [ba493c61-0ab7-46c9-9592-9201fb5520df]
F, [2021-05-07T21:24:30.769156 #47094] FATAL -- : [ba493c61-0ab7-46c9-9592-9201fb5520df] ActionView::Template::Error (uninitialized constant Spree::Core::SearchkickFilters):
F, [2021-05-07T21:24:30.769240 #47094] FATAL -- : [ba493c61-0ab7-46c9-9592-9201fb5520df] 1: <%
[ba493c61-0ab7-46c9-9592-9201fb5520df] 2: aggregations = @products.aggs
[ba493c61-0ab7-46c9-9592-9201fb5520df] 3: filters = Spree::Core::SearchkickFilters.applicable_filters(aggregations)
[ba493c61-0ab7-46c9-9592-9201fb5520df] 4: %>
[ba493c61-0ab7-46c9-9592-9201fb5520df] 5: <%= form_tag '', :method => :get, :id => 'sidebar_products_search' do %>

@ronzalo
Copy link
Owner

ronzalo commented May 7, 2021

Hi @viveki2it I recommend you install the updated version from spree-contrib https://github.com/spree-contrib/spree_searchkick
I stopped supporting this extension because I had little time

@viveki2it
Copy link
Author

Hi @ronzalo I have tried with above gem. But this time I could not get error. Search and autocomplete not working on top right side bar. Help me how can implement auto complete. Looks like we removed js and CSS files from above gem. Thanks.

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

No branches or pull requests

2 participants