Closed (outdated)
Project:
Commerce Kickstart
Version:
7.x-2.24
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
18 Dec 2014 at 14:48 UTC
Updated:
30 Sep 2022 at 19:42 UTC
Jump to comment: Most recent
Comments
Comment #1
lsolesen commentedCan you please try with the latest dev - and supply the exact steps to reproduce, so we can try to fix it.
Comment #2
dpico commentedHi!
ssoulless, did you get to solve this issue? I'm getting exactly the same error and I don't know what to do to fix it, neither I know to explain what to do to reproduce it. For instance, I can't understand the first error that is produce, in which line 44 (see below) is triggering an undefined index error for index 0 just after checking that the array has contents in it:
Comment #3
mintedusa commentedI have the same error.Commerce Kickstart (commerce_kickstart-7.x-2.22)
it s appear when i make a serch and then i select an caytegory....the result are ok, but it's apear this error
Comment #4
mintedusa commentedComment #5
mintedusa commentedI do not know what happened I get a lot of errors when I search something using the search bar of commerce kickstart and then use one of the facet filters in the sidebar
Please check this image of the all error trace
However the results are filtered correctly, it just shows those anoying messages but it works correctly. but Im afraid because this can cause serious problems in the future
Please help me Im really lost with this bug.
Comment #6
mglamanMoving to active since there's been some feedback from the community.
Comment #7
tommeir commentedSame here on kickstart .24
searched for some text, then added price filter. result error msgs are:
using an overwritten version of the view with overriden search api index settings (which is usually the case for products with custom fields).
Comment #8
lsolesen commentedPlease try with latest version - and the supply the exact steps to reproduce.
Comment #9
tommeir commentedVarified that bug exists in latest stable release,
Steps to reproduce error:
have a search result block that shows active filter with the free text argument prepended.
search for product with some free text, add an active filter, see errors...
this is also the case with a vanilla kickstart distro
Comment #10
svenhoutmeyers commenteddid not have much time to investigate but i added this
if (count($active_items) > 0 && isset($active_items[0]['adapter'])) {
instead of if (count($active_items) > 0) { and now the errors are gone
Comment #11
mglamanThis is a bug with FacetAPI, it seems. Can anyone with the error please try using FacetAPI -dev and see if that fixes error? Or, for #10 can you specify the file so we can try to use git blame to find a patch to use?
Comment #12
mglamanComment #13
TuesdayMultimedia commentedCan confirm this is a FacetApi bug.
#10 refers to the file in module: facetapi\contrib\current_search\plugins\current_search\item_active.inc
This "patch" works.
Updating the FacetApi to 7.x-1.5+2-dev also solves the issue.
Comment #14
mglamanThanks TuesdayMultimedia. Moving to active since we have an answer. Willing to take a patch which bumps us to 7.x-1.5+2-dev or has the patch for the commit.
Comment #15
rszrama commentedCommerce Kickstart 2.x is in minimal maintenance mode. Closing out all outdated tickets now to maintain focus on Commerce Kickstart 3.x.