Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Considering you are using size[] and type[] in your url, the output may already be an array, so doing a split on it will not work. Reading the error, it seems that is the problem. You can probably remove the line where we split the selectedTypesIds and selectedSizesIds !
Status 401 means it's unauthorized. Are all the images in uploads/ directly? Or are some images located inside a sub-folder? It seems that they have the wrong permissions, did you already check that?
Can the user search for XL + L + TOPS + BOTTOMS? Anyway, i guess you could loop through the first set of tags (size) and inside that loop, you could loop through the second set of tags (type). When doing this, you build an array for each possible filter, giving you something like that: (XL AND TOPS) OR (XL AND BOTTOMS) OR (L AND TOPS) OR (L AND BOTTOMS) Does that make sense? Sorry i can't give you a real code snippet right now! (tell me if you don't get it and i'll try to make one later)
I get the same error every time i try to backup the DB from the dev to my local env, from the panel. I work on Windows 10, my coworkers are on IOS and they do not seem to have this particular issue. It's not happening on one specific setup, but all of our Craft 3 projects. The craft_info table is, in fact, empty, thus the error. If i export it from phpmyadmin, it's all good! No other error has been logged, but The info table is missing its row...