{"id":18926063,"url":"https://github.com/getpagespeed/wp-error-reporting-patch","last_synced_at":"2026-05-03T15:33:24.940Z","repository":{"id":134154586,"uuid":"150804840","full_name":"GetPageSpeed/wp-error-reporting-patch","owner":"GetPageSpeed","description":"Wordpress Error Reporting Patch","archived":false,"fork":false,"pushed_at":"2018-12-30T19:23:36.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-25T00:34:41.675Z","etag":null,"topics":["php","security","wordpress","wordpress-plugin"],"latest_commit_sha":null,"homepage":"https://www.getpagespeed.com/server-setup/security/php-security-disable-error_reporting-now","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GetPageSpeed.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2018-09-28T23:40:08.000Z","updated_at":"2018-12-30T19:23:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"1be6c665-6c20-4da6-ab0d-cf5b3ac42000","html_url":"https://github.com/GetPageSpeed/wp-error-reporting-patch","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/GetPageSpeed/wp-error-reporting-patch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GetPageSpeed%2Fwp-error-reporting-patch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GetPageSpeed%2Fwp-error-reporting-patch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GetPageSpeed%2Fwp-error-reporting-patch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GetPageSpeed%2Fwp-error-reporting-patch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GetPageSpeed","download_url":"https://codeload.github.com/GetPageSpeed/wp-error-reporting-patch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GetPageSpeed%2Fwp-error-reporting-patch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32575109,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"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":["php","security","wordpress","wordpress-plugin"],"created_at":"2024-11-08T11:14:26.036Z","updated_at":"2026-05-03T15:33:24.910Z","avatar_url":"https://github.com/GetPageSpeed.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Wordpress Error Reporting Patch\n\nThis plugin automatically patches `wp-load.php` and disables known Wordpress core calls to `error_reporting()`.\n\n## Some background\n\nPHP versions \u003e= 7.0 have [changed their internal design](https://bugs.php.net/bug.php?id=71340) to allow (for hackers benefit), to adjust error reporting level while overridding whatever level was set by system admin.\n\nAbility to call `error_reporting(0)`, allows hackers to [stay undetected easily while exploiting your server](https://www.getpagespeed.com/server-setup/security/php-security-disable-error_reporting-now). \n\nFor production websites, disallowing the `error_reporting` function *altogether* is the best security measure you can take about it. \n\nYou should obviously disable `error_reporting` function in your `php.ini`. But once you do, you will find quite a few warnings in your logs:\n\n\u003e error_reporting() has been disabled for security reasons in wp-load.php on line 24\n\n\u003e error_reporting() has been disabled for security reasons in load.php on line 333\n\nThis complementary plugin will make sure that Wordpress will not try to call `error_reporting()`, thus eliminating those unnecessary warnings.\n\nSo the plugin:\n\n* keeps your logs cleaner\n* makes your Wordpress run a few less lines of unnecessary code\n\n## Install\n\nJust download the .zip and place the extracted directory over to `wp-content/plugins`. Or install via [WP-CLI](https://www.getpagespeed.com/web-apps/wordpress/wp-cli):\n\n    wp plugin install https://github.com/GetPageSpeed/wp-error-reporting-patch/archive/master.zip --activate\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetpagespeed%2Fwp-error-reporting-patch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgetpagespeed%2Fwp-error-reporting-patch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetpagespeed%2Fwp-error-reporting-patch/lists"}