@yisrael-wix Those red errors didn’t show up until today. A multitude of those ‘errors’ aren’t even actual errors, considering it was fine before and everything else still works as intended.
For example, the orderBy isn’t technically part of the WixDataSortAPI, but it is literally part of the sort object that wixData.sort() returns. The ascending() and descending() functions just adds to the array in orderBy.
Also you say “$w namespace is not accessible from these files”, yet 90% of the my code I have organized into chunks that deal with specific parts or functions of that page (ie: code load the filter options, code that dictate what to do when those filter options are interacted with) and it works fine on the main site (the duplicates may have some issues since I haven’t finished changing some stuff to account for pagination since I ran into the whole 2=1.75 issue). Can you explain how it is not accessible from those files? If it were truly not accessible shouldn’t they be unable to fill out those menu options, expand/hide those elements, etc.?
