🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
Hagakure – Yet Another Error Reporter icon
Maintained Tested up to 7.0.9 #1 in backtrace

Hagakure – Yet Another Error Reporter

A WordPress plugin to clarify meaningless errors like "Allowed memory size of xxxxxxxx bytes exhausted".

Active installs30+10+ tier
Downloads · 30d289▲ +120.6% vs prev. 30d
Rating5/52 reviews
Health score53/100Fair
All-time downloads3KSince May 2019
Support resolved—No recent threads
RequiresWP 5.9PHP 7.4+
Downloads · 7d59• 0% week over week
Our verdict

Use with caution

Hagakure works, but test it on a staging site before relying on it in 2026. It runs on 30+ sites, is rated 5/5 and was last updated 6 months ago, and scores 53/100 on our health check.

  • Small user base (30+ active installs)
  • Very few reviews so far

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

71421Sep 4Oct 18Dec 2
Yesterday17
Daily average (1y)3
Peak day29Nov 6, 2026
Last 12 months1.2K

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where Hagakure stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
backtrace #3 46 Best backtrace plugins →
debug >100 4,696 Best debug plugins →
error #52 10,000 Best error plugins →
error log #66 8,267 Best error log plugins →
slow-query #23 2,637 Best slow-query plugins →

Version adoption

Share of active sites per release.

  • 1.3100.0%

Rating breakdown

★★★★★★★★★★ 5 from 2 reviews

  • 5★100.0%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★0.00%

About Hagakure – Yet Another Error Reporter

From the official readme · v1.3.3

Description

Have you ever seen an error log like the one below?

PHP Fatal error: Allowed memory size of xxxxxx bytes exhausted (tried to allocate xxx bytes) in /var/www/wordpress/wp-includes/wp-db.php on line 2007

This means that PHP memory limit is exhausted while retrieving data from a database. In any case, this happens when your site has big data and makes insane loops inside.

But we want to know that which plugin tried to retrieve data?

Hagakure adds extra information to error.log file when wp-db.php causes memory limit error:

[08-May-2019 10:28:37 UTC] wpdb Error Backtrace:
#1      Kunoichi\Hagakure\DbLogger->filter_query()      /app/public/wp-includes/class-wp-hook.php       Line 286
#2      WP_Hook->apply_filters()        /app/public/wp-includes/plugin.php      Line 208
#3      apply_filters   /app/public/wp-includes/wp-db.php       Line 1871
#4      wpdb->query()   /app/public/wp-includes/wp-db.php       Line 2579
#5      wpdb->get_results()     /app/public/wp-includes/class-wp-query.php      Line 2979
#6      WP_Query->get_posts()   /app/public/wp-includes/class-wp-query.php      Line 3387
#7      WP_Query->query()       /app/public/wp-includes/post.php        Line 1961
#8      get_posts       /app/public/wp-content/plugins/hagakure/hagakure.php    Line 34
#9      {closure}       /app/public/wp-includes/class-wp-hook.php       Line 286
#10     WP_Hook->apply_filters()        /app/public/wp-includes/class-wp-hook.php       Line 310
#11     WP_Hook->do_action()    /app/public/wp-includes/plugin.php      Line 465
#12     do_action       /app/public/wp-includes/template-loader.php     Line 13
#13     require_once    /app/public/wp-blog-header.php  Line 19
#14     require /app/public/index.php   Line 17
#15     URI: /?p=1

This log will always follow the memory limit Fatal Error by wp-db.php. Now you can find #8 calls get_posts repeatedly.

We recommend watching logs with notification services like CloudWatch Logs.
This error occurs in the productional environment, and you may not have a chance to see it occurs.
We use Hagakure with our hosting service, please look forward to seeing our blog published and describing the integration!

This plugin also adds debug backtrace to error logs. To modify the error level to a detailed backtrace, define the constant in wp-config.php or somewhere else:

define( 'HAGAKURE_ERROR_LEVEL', E_NOTICE | E_USER_WARNING | E_WARNING | E_USER_ERROR );

Besides that, if SAVEQUERIES is set true, the slow query log will be logged with PHP debug backtrace. This helps you to debug.

Acknowledgements

The base text for dummy content is “Three Ghost Story” by Charles Dickens. The text file is modified the one of Project Gutenberg.

Installation

Requirements

  • WordPress 5.9 or later.
  • PHP 7.4 or later. Tested and supported on PHP 7.4, 8.0, 8.2 and 8.3.

Steps

  1. Upload hagakure folder to the /wp-content/plugins directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. That’s it. This plugin will work as background.

Changelog

1.3.3

  • Respect the error suppression operator(@) and error_reporting() so that intentionally suppressed errors (e.g. EINTR from blocking socket functions) are no longer logged.

1.3.2

  • Display only the request URI for non-DB errors in the error log.

1.3.1

  • Bump required PHP and WP version.
  • Fix memory limit error log logic.
  • Move the ownership to TAROSKY Inc from Kunoichi Inc. Tarosky is a parent company of Kunoichi Inc. Developers are the same ☺️

1.2.0

  • Slow query can be logged with the backtraces.

1.1.0

  • Add Request URI to backtrace.

1.0.0

  • Add warning and notice detail handler.

Full changelog on WordPress.org →

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

Best Hagakure alternatives

All backtrace plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
2 oik bwtrace oik bwtrace Debug trace for WordPress, including ad hoc action hook and filter tracing. by bobbingwide 20+ ★★★★★★★★★★ 5 (1) 2 years ago 40
3 Debug Toolkit Debug Toolkit Code debug made easier and more enjoyable. by Tonya Mork 10+ ★★★★★★★★★★ 5 (13) 8 years ago 35
4 Hikari Krumo Hikari Krumo Krumo is a debug tool able of collapsing array and object values so that it takes less… 10+ ★★★★★★★★★★ No reviews 16 years ago 23
5 Debug Bar Query Tracer Debug Bar Query Tracer A Debug Bar plugin that lets you trace what plugins are causing database queries. by Chris M. 10+ ★★★★★★★★★★ 1 (1) 15 years ago 18
6 Notice TraceLog Notice TraceLog Easily display PHP backtraces when Notices occur. Designed for developers to quickly… by shuliakmaster <10 ★★★★★★★★★★ No reviews 1 year ago 30

FAQ

Hagakure: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is Hagakure free?

Yes. Hagakure is free to download and use from the official WordPress.org plugin directory.

Is Hagakure safe to use in 2026?

Hagakure works, but test it on a staging site before relying on it in 2026. It runs on 30+ sites, is rated 5/5 and was last updated 6 months ago, and scores 53/100 on our health check.

How many websites use Hagakure?

Hagakure is active on 30+ WordPress websites and has been downloaded 3,004 times since it launched in May 2019. It was downloaded 289 times in the last 30 days.

Does Hagakure work with WordPress 7.1?

Hagakure is officially tested up to WordPress 7.0.9, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

What PHP version does Hagakure need?

Hagakure requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was Hagakure last updated?

The latest version, 1.3.3, was released on June 4, 2026 (6 months ago).

Who makes Hagakure?

Hagakure is developed and maintained by Tarosky Inc..

What are the best alternatives to Hagakure?

The most popular alternatives to Hagakure are oik bwtrace (20+ installs), Debug Toolkit (10+ installs) and Hikari Krumo (10+ installs).

Powered by PageForge

One template and a spreadsheet. A real page for every search.

PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.

  • CSV and XLSX, plus Google Sheets on Professional and Enterprise
  • Its own title, URL, SEO fields and schema for every page
  • Works with the block editor, Elementor, Divi and Avada
  • Free on WordPress.org, no credit card

↑↓ to move↵ to open