AI1EC hiding my own plugin errors
-
An error in my own plugin was completely hidden because its exception was caught, and ignored, by the AI1EC exception handler.
AI1EC invokes both set_error_handler() and set_exception_handler() – but fails to restore them before exiting.
Fix: In the last line of all-in-one-event-calendar.php, I added restore_exception_handler() and restore_error_handler() – and now the error in my own plugin shows up in the error log.
Is this an AI1EC error?
Perhaps not – but it’s poor programming practice which causes pain to its plugin developer peers.
- The topic ‘AI1EC hiding my own plugin errors’ is closed to new replies.