Activity logs

jamesmanley
@jamesmanley
7 years ago
62 posts
Ok, for some time I keep getting this in the activity log " invalid search criteria in jrCore_db_search_items parameters" Don't seem to find any problems with the site but can someone tell me what it is please. Thank you.
updated by @jamesmanley: 06/12/17 12:49:06AM
michael
@michael
7 years ago
7,697 posts
Its probably some string in the skin that is using a variable from the address bar, but in one of the links on the site, that variable is not coming in. eg:

* search for a list of blog posts in the 'cats' category on site.com/a-profile/blog/cats
and the template has
search="blog_post = `$_post.option`"
where $_post.option is 'cats' from the address bar. when someone opens the url that is site.com/a-profile/blog/ and 'cats' doesnt come in, but the template search string is still firing, then you'll end up with

search="blog_post = "

which will trigger that error because you need to search on something.

Tags