- Layer
- 2. The Application Catacombs
- Type
- Layer Boss
- Uptime
- 500
- Latency
- 30 seconds (max_execution_time reached)
- Threat Level
- ★★★★☆
Lore
Deep in the Application Catacombs sleeps the Fatal Error Dragon, coiled around a hoard of deprecated functions and abandoned code snippets. It wakes when someone edits functions.php directly on production “just to add one line.” Its breath is pure PHP fatal error: Uncaught Error: Call to undefined function. One blast and the whole site goes down, wp-admin included, which is the part that really hurts.
Unlike the White Screen Wraith, the Dragon is proud. It always signs its work with a file name and a line number, if you know where to look.
How to defeat it
Enable debug mode, find the line, patch it. Then turn debug mode back off before the Dragon’s secrets are shown to every visitor.
Real-world tip: A PHP fatal error stops WordPress from running, so the site (and often wp-admin) goes down. Turn on WP_DEBUG and WP_DEBUG_LOG in wp-config.php to write errors to wp-content/debug.log rather than showing them to visitors. The message names the file and line. Fix or revert that code, or rename the faulty plugin’s folder to disable it, then switch debugging off again. Test code changes on staging first.
