I have setup a seperate wordpress installation for deleveloping a plugin.
But with the latest version of WP there is an annoying feature which I want to disable.
If I make a syntax error (e.g. missing brackets) a wp_die message is shown.
The text in german is “Die Website hat technische Schwierigkeiten. Bitte das E-Mail-Postfach des Website-Administrators prüfen, um dort weitere Anweisungen zu finden.”
Then everytime I get a email.
Because I have WP_DEBUG, WP_DEBUG_DISPLAY and WP_DEBUG_LOG set true there is no need for this mail. So I would appreticate if there is a way to disable this feature.
I also noticed that a need page is available “wp-admin/site-health.php”.
On this page I found a define which isn’t documented yet, so I don’t know what is does and what values it accept: WP_LOCAL_DEV. I have assumed that it is also a bool value and the page says that it is now enabled. But I don’t know what the benefit of the define is. So if anyone know it I would appreticat an explanation.
- The topic ‘How to disable the emails on errors’ is closed to new replies.