Hide error message when returning a null data set.
-
I’m using this plugin to display multiple data tables on hundreds of pages. I’m getting data from a MYSQL table. When I try to display a table when the data set for a particular query is null (ie. no records returned), I get a very unappealing error message on the webpage that starts with:
“[gdoc Error: Query produced zero results: SELECT phone_number…..]”
If there are no records, then I want to tell the visitor that there are no records, so this is part of the design of this particular site. Is there a way to replace the default “[gdoc error…]” message with a user-friendly message like “No records found” in the default objects for all tables?
- The topic ‘Hide error message when returning a null data set.’ is closed to new replies.