Turn on debugging without displaying it on the web pages. Errors are written to a log file in wp-content.