Upon every search request on Front-End the temporary search table, unique to each website visitor, (e.g. "inp_ses_932492397_inp_Search") is created in the database to store search results. The "932492397" in table name represents Session ID of that user (the session is specific to used web browser).
Unfortunately when search is performed by Guest (non logged-in user) the search table is never automatically deleted, because Guest doesn't have any real session associated with them.
Solution
In "\CategoriesEventHandler::OnSimpleSearch" and "\kCatDBEventHandler::OnSimpleSearch" methods:
- locate "if ( !$search_table_exists ) {" statement at the end of the method
- inside that IF add this code: $this->Application->StoreVar('search_performed', 1);