Error Trap
-
Hi Dan,
Your plugin is working great! It is invaluable. Many thanks.
I’m looking for a way to trap errors.
In the normal course of my use, I will try to access spreadsheet fields that are not yet defined. E.g, trying to access field Z2, when it is not initialized (empty).
Currently, that creates an error:
“Undefined index: values in dans-gsheets.php on line 199”If there a way to trap or test for this? Perhaps returning “” or false?
FWIW, I’m calling your routine using $data = do_shortcode(….)
Of course I test the result, but the call generates the error.Again, many thanks for a simple, sweet plugin!
-Dave
- The topic ‘Error Trap’ is closed to new replies.