Got the actually blog posts sorted out but I am having trouble getting the categories and search functions to work.
I used the code from this example https://www.wix.com/corvid/example/search to base my page on but when I try doing a search or changing categories I’m getting and uncaught (in promise) error from WixCodeNamespacesandElementorySupport.js
Uncaught (in promise)
convertResult@ wixCodeNamespacesAnd…orySupport.min.js:4
exports.fromJson@ wixCodeNamespacesAnd…orySupport.min.js:4
n.onreadystatechange@ wixCodeNamespacesAnd…orySupport.min.js:4
wrapped@ raven.js:375
Promise.catch (async) eval@ index.js:13
eval@ withBreadcrumbs.js:19
try@ result.js:21
eval@ withBreadcrumbs.js:19
s@ jnv0o.js:38
n.iCategory_change@ jnv0o.js:69
e.@ runUserCode.js:27
postMessage_onMessage@ postMessage.es6:271
value@ internalAPIs.es6:141
delegateMessageToSDK@ worker.js:178
(anonymous)@ worker.js:170
handle@ queueUntilAllPrevIsProcessed.js:33
self.onmessage@ worker.js:79
This is the actual filter function
function filter(title, category) {
if (lastFilterTitle !== title || lastFilterCategory !== category) {
let newFilter = wixData.filter();
if (title)
newFilter = newFilter.contains('Title', title)
.or(newFilter.contains('Plain Content', title));
if (category)
newFilter = newFilter.contains('Categories', category);
$w('#dataset1').setFilter(newFilter);
lastFilterTitle = title;
lastFilterCategory = category;
}
}
The page in question, in English, is https://www.revivalclinicbangkok.com/health-news
The Blog/Categories Label field does not support contains() . See the Label field API for more information. Refer to Wix Blog with Corvid for more information.
according to the API reference you sent it supports " Can be filtered : eq, ne, contains, startsWith, hasSome"
@aarontharker1972 < head slap > Hmmm - I hate it when I’m stupid. For some reason I didn’t see contains . Let me look at it again. Sorry
It looks like the collection Blog/Categories doesn’t exist or is empty. I see content in the Blog/Posts collection, but the Blog/Categories collection doesn’t load.
@yisrael-wix well there are definitely a ton of categories in the blog so how can the collection be empty? I had trouble accessing the collection in editor as well but the blog itself seems to be able to access them fine
@aarontharker1972 Funny thing now, but I tried again just now and the Blog/Categories collection loads fine. I just wonder if the issue has to do with the Thai language being used in the field that you’re doing the contains() filter.
I’ll take a close look when I get back to the office on Sunday.
@yisrael-wix I did import a lot of these posts from an old Wordpress blog and some of them did not import properly. I have deleted the ones that I have found that were glitching though and it still is behaving the same.
@aarontharker1972 Some of the contents might be corrupted. I would suggest trying a much simpler query (just one contains) and if that works keep adding additional filters. You might also consider inspecting the data file that you are importing to see if there are any problems.
@yisrael-wix I have tried a single contains query and that threw exactly the same error.
As for data corruption I used the Wix import tool to import the posts from our old WordPress blog so there was no data file involved. I simply told it the address of our WordPress and and downloaded everything automatically. I’m going through all the posts manually but as there are 600 or so of them it is taking a while to do via the blog interface 
Is there a more direct means of accessing the database to check for data corruption? Before you mention the using the data collections manager it doesn’t show the blog database. I can see it in the Editor’s content manager but that is even slower than doing it through the blog admin panel.
@aarontharker1972 Since this fails for even a very simple query, I would suspect that there is an issue with the imported data. I suggest that you contact the Wix support team as they will be able to better evaluate your problem. Explain to them that you used the Wix Wordpress blog import tool, and that you are having problems with the imported data.
@yisrael-wix ok will give it a try.