Title: TLloancy Stack Trace
Author: Thomas Lloancy
Published: <strong>ছেপ্টেম্বৰ 15, 2026</strong>
Last modified: ছেপ্টেম্বৰ 15, 2026

---

প্লাগিনৰ সন্ধান কৰক

![](https://ps.w.org/tlloancy-stack-trace/assets/banner-772x250.png?rev=3696705)

![](https://ps.w.org/tlloancy-stack-trace/assets/icon-256x256.png?rev=3696705)

# TLloancy Stack Trace

 [Thomas Lloancy](https://profiles.wordpress.org/tlloancy/)-ৰ দ্বাৰা

[ডাউনল’ড কৰক](https://downloads.wordpress.org/plugin/tlloancy-stack-trace.1.0.0.zip)

 * [বিশদ বিৱৰণ](https://as.wordpress.org/plugins/tlloancy-stack-trace/#description)
 * [পৰ্য্যালোচনা](https://as.wordpress.org/plugins/tlloancy-stack-trace/#reviews)
 *  [ইনষ্টলেশ্যন](https://as.wordpress.org/plugins/tlloancy-stack-trace/#installation)
 * [বিকাশ](https://as.wordpress.org/plugins/tlloancy-stack-trace/#developers)

 [সাহায্য](https://wordpress.org/support/plugin/tlloancy-stack-trace/)

## বৰ্ণনা

TLloancy Stack Trace records PHP fatals (memory exhausted, parse error, and similar),
uncaught exceptions, `wp_die` failures, and exceptions that a third-party plugin
caught so the site would not white-screen.

Each row stores:

 * The last SQL that actually belongs to the crash (from `$wpdb`, or from a small
   adapter when a plugin talks to MySQL outside `$wpdb`)
 * Memory usage, peak, and the configured limit
 * File and line
 * The plugin, theme, or core component most likely involved
 * The request URL

Entries live in a dedicated table, under Tools  Stack Trace. You can export CSV 
or clear the log.

This is not a debug.log viewer and not a live profiler. Generic log plugins tail
PHP or WordPress logs. Stack Trace records **why a request died**: the SQL that 
belongs to the crash (including plugins that never set `$wpdb->last_query`), memory
at the limit, and exceptions another plugin caught so the site would not white-screen.
Typical case: an All-in-One WP Migration export that fails with “refresh and try
again” while the real cause is a 128M SELECT or a full disk.

It is for the morning after: the site crashed, nobody was watching, and you want
the cause.

#### Plugins that bypass $wpdb

Some exporters (All-in-One WP Migration among them) run SQL on `$wpdb->dbh` directly.`
$wpdb->last_query` is then empty or already overwritten (cron, Action Scheduler).
Stack Trace keeps SQL in memory via adapters and, on failure, can read that plugin’s
own error-log `last_query` field. It does not edit third-party files and does not
hook their export pipeline as a stage.

#### Automatic update failure emails (WordPress 7.2+)

A failed automatic plugin update already includes the fatal message, file, and line.
Stack Trace adds memory and last SQL from the same loopback check, with a link to
the full log.

## ইনষ্টলেশ্যন

 1. Upload the `tlloancy-stack-trace` folder to `/wp-content/plugins/`.
 2. Activate the plugin from the Plugins screen.
 3. Open the log under Tools  Stack Trace.

## সঘনাই উত্থাপিত প্ৰশ্ন

### Does this slow the site down?

On a normal request the cost is a shutdown callback that returns immediately unless
PHP reports a fatal. A row is written only when something is recorded. Adapters 
add work only for the target plugin’s AJAX (for example an All-in-One export hop):
a header check on success, disk I/O only on failure.

### How many entries are kept?

300 by default. Older rows are pruned when you open the admin page. Override the
limit with `TLLST_MAX_ENTRIES` in wp-config.php.

### Does the plugin change other plugins’ files?

No. It does not reorder `active_plugins` and it does not patch files on disk.

### Why is the last SQL not always from $wpdb?

If the crash is inside a known custom MySQL client, `$wpdb->last_query` is often
unrelated. The adapter’s in-memory SQL (or that plugin’s error log) is used instead.

## পৰ্য্যালোচনা

এই প্লাগিনৰ বাবে কোনো পৰ্য্যালোচনা নাই।

## অৱদানকাৰী আৰু বিকাশকাৰীসকল

“TLloancy Stack Trace” হৈছে মুক্ত উৎসৰ ছফ্টৱেৰ। এইসকল লোকে এই প্লাগিনত অৱদান আগবঢ়াইছে।

অৱদানকাৰীসকল

 *   [ Thomas Lloancy ](https://profiles.wordpress.org/tlloancy/)

[আপোনাৰ ভাষাত “TLloancy Stack Trace” অনুবাদ কৰক।](https://translate.wordpress.org/projects/wp-plugins/tlloancy-stack-trace)

### বিকাশৰ প্ৰতি আগ্ৰহী?

[ক’ড ব্ৰাউজ কৰক](https://plugins.trac.wordpress.org/browser/tlloancy-stack-trace/),
[SVN ৰিপজিটৰী](https://plugins.svn.wordpress.org/tlloancy-stack-trace/) চাওক নাইবা
[RSS](https://plugins.trac.wordpress.org/log/tlloancy-stack-trace/?limit=100&mode=stop_on_copy&format=rss)-
দ্বাৰা [বিকাশৰ পঞ্জী](https://plugins.trac.wordpress.org/log/tlloancy-stack-trace/)
ছাবস্ক্ৰাইব কৰক।

## সলনি-পঞ্জী

#### 1.0.0

 * Initial release.
 * Fatals, swallowed exceptions, and memory crashes with SQL, memory, file/line.
 * Adapter for All-in-One WP Migration (observe only).
 * WordPress 7.2 automatic update failure emails include memory and last SQL from
   the loopback check, per failed plugin.

## মেটা

 *  **1.0.0** সংস্কৰণ
 *  **3 সপ্তাহ আগত** শেষবাৰ আপডে’ট হৈছিল
 *  সক্ৰিয় ইনষ্টলেশ্যন **10টাতকৈ কম**
 *  WordPress-ৰ সংস্কৰণ ** 6.0 বা তাতকৈ ওপৰৰ **
 *  ইমানলৈকে পৰীক্ষা কৰা হৈছে **7.1.2**
 *  PHP-ৰ সংস্কৰণ ** 7.4 বা তাতকৈ ওপৰৰ **
 *  ভাষা
 * [English (US)](https://wordpress.org/plugins/tlloancy-stack-trace/)
 * [crash](https://as.wordpress.org/plugins/tags/crash/)[debug](https://as.wordpress.org/plugins/tags/debug/)
   [error log](https://as.wordpress.org/plugins/tags/error-log/)[fatal error](https://as.wordpress.org/plugins/tags/fatal-error/)
   [memory](https://as.wordpress.org/plugins/tags/memory/)
 *  টেগবোৰ
 *  [উচ্চখাপৰ ভিউ](https://as.wordpress.org/plugins/tlloancy-stack-trace/advanced/)

## ৰে’টিংবোৰ

এতিয়ালৈ কোনো পৰ্য্যালোচনা দাখিল কৰা হোৱা নাই।

[Your review](https://wordpress.org/support/plugin/tlloancy-stack-trace/reviews/#new-post)

[সকলো পৰ্য্যালোচনা চাওক](https://wordpress.org/support/plugin/tlloancy-stack-trace/reviews/)

## অৱদানকাৰীসকল

 *   [ Thomas Lloancy ](https://profiles.wordpress.org/tlloancy/)

## সাহায্য

কিবা ক’বলগীয়া আছে? সহায় লাগে?

 [সাহায্যৰ ফ’ৰাম চাওক](https://wordpress.org/support/plugin/tlloancy-stack-trace/)