• I’ve created a series of custom forms that are used to track scheduled officials for hockey games. The system works fine, but I want to add error handling into the PHP code so that I can easily catch any errors that occur.

    Unfortunately, the EXIT() and DIE() PHP functions seem to break the page completely, as does the WP_DIE() function. I’ve been reduced to putting in a bunch of IF statements to check for previous errors and collecting error information in variables. There’s gotta be a better way, and I’m betting the users of these forums know all about it.

    Can someone direct me to some explanations that make actual sense?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error Handling PHP In WordPress’ is closed to new replies.