Prepared statement Needs to be Re-prepared?

I am trying to run a custom. query from a view. When I run the Query I get the following error.

I am only using a custom query because a normal paged query does not bring up any results.

Community Page
Last updated: