{"id":36428457,"url":"https://github.com/alleyinteractive/wp-fatal-handler","last_synced_at":"2026-01-11T18:27:26.033Z","repository":{"id":301184516,"uuid":"1008443611","full_name":"alleyinteractive/wp-fatal-handler","owner":"alleyinteractive","description":"A better fatal error handler for WordPress.","archived":false,"fork":false,"pushed_at":"2025-08-18T15:05:41.000Z","size":1268,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-09-19T00:39:30.665Z","etag":null,"topics":["wordpress","wordpress-plugin"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alleyinteractive.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-25T14:51:46.000Z","updated_at":"2025-08-18T15:05:44.000Z","dependencies_parsed_at":"2025-08-14T20:18:58.155Z","dependency_job_id":"8933be0f-adbd-4856-90ef-1db607224d71","html_url":"https://github.com/alleyinteractive/wp-fatal-handler","commit_stats":null,"previous_names":["alleyinteractive/wp-fatal-handler"],"tags_count":4,"template":false,"template_full_name":"alleyinteractive/create-wordpress-plugin","purl":"pkg:github/alleyinteractive/wp-fatal-handler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alleyinteractive%2Fwp-fatal-handler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alleyinteractive%2Fwp-fatal-handler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alleyinteractive%2Fwp-fatal-handler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alleyinteractive%2Fwp-fatal-handler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alleyinteractive","download_url":"https://codeload.github.com/alleyinteractive/wp-fatal-handler/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alleyinteractive%2Fwp-fatal-handler/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28317704,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T14:58:17.114Z","status":"ssl_error","status_checked_at":"2026-01-11T14:55:53.580Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["wordpress","wordpress-plugin"],"created_at":"2026-01-11T18:27:25.390Z","updated_at":"2026-01-11T18:27:26.025Z","avatar_url":"https://github.com/alleyinteractive.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WP Fatal Error Handler\n\nContributors: alleyinteractive\n\nTags: alleyinteractive, wp-fatal-handler\n\nStable tag: 0.1.3\n\nRequires at least: 6.3\n\nTested up to: 6.7\n\nRequires PHP: 8.2\n\nLicense: GPL v2 or later\n\n[![Testing Suite](https://github.com/alleyinteractive/wp-fatal-handler/actions/workflows/all-pr-tests.yml/badge.svg)](https://github.com/alleyinteractive/wp-fatal-handler/actions/workflows/all-pr-tests.yml)\n\nA better fatal error handler for WordPress powered by\n[Whoops](https://github.com/filp/whoops).\n\n![Screenshot of plugin](./screenshots/screenshot.png)\n\nBy default, WordPress' error handling provides limited information when dealing with\nfatal errors.\n\n![Screenshot of core](./screenshots/core-error.png)\n\nThis plugin replaces the default WordPress fatal error handler with a Whoops\nerror handler, which provides a much more useful error page with stack traces,\ncode snippets, and more. It also provides a JSON response for API requests. The\nWhoops handler will only be applied to fatal errors where `WP_DEBUG` is set to\n`true.\n\n## Installation\n\nYou can install the package via Composer:\n\n```bash\ncomposer require alleyinteractive/wp-fatal-handler\n```\n\n## Usage\n\nActivate the plugin in WordPress and it will automatically register the Whoops\nerror handler for fatal errors. It is recommended to load this plugin as early\nas possible (perhaps in `mu-plugins`), so that it can catch all fatal errors\nthat occur during the WordPress bootstrap process.\n\n## Configuration\n\nBy default the plugin will register the Whoops error handler and only handle\nfatal errors (where core usually displays `There has been a critical error on\nthis website.` ).\n\nTo disable the registration of the error handler, you can use the\n`wp_fatal_handler_register` filter:\n\n```php\nadd_filter( 'wp_fatal_handler_register', '__return_false' );\n```\n\n**Note:** this filter should be applied before the plugin is loaded.\n\n## Conflict with Query Monitor\n\nBy default Query Monitor will handle fatal errors which will prevent this plugin\nfrom displaying its error page. To allow this plugin to handle fatal errors, you\ncan disable Query Monitor's error handling by using the following code:\n\n```php\ndefine( 'QM_DISABLE_ERROR_HANDLER', true );\n```\n\n## Changelog\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.\n\n## Credits\n\nThis project is actively maintained by [Alley\nInteractive](https://github.com/alleyinteractive). Like what you see? [Come work\nwith us](https://alley.com/careers/).\n\n- [Sean Fisher](https://github.com/srtfisher)\n- [All Contributors](../../contributors)\n\n## License\n\nThe GNU General Public License (GPL) license. Please see [License File](LICENSE) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falleyinteractive%2Fwp-fatal-handler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falleyinteractive%2Fwp-fatal-handler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falleyinteractive%2Fwp-fatal-handler/lists"}