Skip to main content
Metrics type: Supporting MetricsCategory: Ecommerce Platform
The number of entries written to your OpenCart system error log in the last 24 hours, the rolling pulse of self-hosted platform health.

At a glance

OpenCart writes a system error log every time the framework or an extension hits a PHP error, a database problem, or a handled exception. This card counts how many entries landed in that log over the last 24 hours. On a healthy store the number is small and stable: a handful of deprecation notices, the odd transient. A jump means something changed, a freshly broken extension, a template edit gone wrong, a PHP version mismatch, a database hiccup. Because OpenCart is self-hosted, this log is your primary window into platform health, and the 24-hour count is the simplest way to keep an eye on it.

Calculation

Worked example

A UK auto-parts store on OpenCart 4.x. The error log normally records around 80 to 120 entries in any 24-hour span, mostly deprecation notices from two older extensions. On 14 Mar 26 a developer edits the product-page template to add a fitment-guide widget. What’s interesting here:
  1. A template edit, not an extension, caused it. The fitment-guide widget referenced a product attribute that did not exist on every product. On any product missing that attribute, the template threw a PHP warning on page load. With thousands of product views a day, the warnings stacked into the thousands.
  2. The count is a symptom; the log content is the diagnosis. The 24-hour count told the merchant that something was wrong and roughly when it started (between the 12:00 and 18:00 windows). Opening the actual log under System → Maintenance → Error Logs showed the repeated warning and the exact file and line, which pointed straight at the new template code.
  3. No orders failed, which is why a count matters. The store kept taking orders the whole time; nothing visibly broke. Without a log-volume pulse, this kind of slow-burn error storm can run for days, bloating the log file and masking new, more serious errors underneath the noise.
  4. The fix collapsed the count overnight. Wrapping the widget in a check for the attribute’s existence stopped the warnings. The 24-hour count drained back toward baseline as the spiked window rolled off, no manual log clearing required.

Sibling cards merchants should reference together

Reconciling against OpenCart

Where to look in the OpenCart admin: System → Maintenance → Error Logs shows the raw OpenCart error log, the exact source this card counts. You can read individual entries (file, line, message), download the log, or clear it. The “Clear” action empties the file but does not reset this card’s history. Extensions → Modifications is the next place to look when a spike coincides with a recent install or refresh. OpenCart admin views that look like the same number but aren’t:
  • The web server’s PHP error log (in your hosting panel or a system path) is a superset; it captures pre-bootstrap fatals OpenCart never sees. Counts will not match.
  • A freshly cleared error log shows zero in the admin while this card still holds the trailing 24-hour history.
  • The Dashboard shows no error information; a clean-looking dashboard can sit on top of a flooding log.
Why our number may legitimately differ from the OpenCart admin: Cross-connector note: a log-volume spike that coincides with a website-performance or uptime drop on a connected monitoring tool points at server resources (memory, CPU, disk) rather than a single piece of code. A spike with healthy server metrics points at the code, that is, an extension, a modification, or a template edit.

Known limitations / merchant FAQs

Is a non-zero error count bad? Not by itself. Almost every OpenCart store logs some background noise, mostly PHP deprecation notices from older extensions. What matters is the trend. A stable baseline is fine; a sudden multiple of it is the signal, which is why the alert is a 2-sigma spike rather than any-entries-at-all. Why count from the in-app log and not the server log? The in-app log is what OpenCart itself records, so it maps cleanly to OpenCart admin actions and extensions. The server PHP log is a superset that includes pre-bootstrap fatals; it is valuable but harder to attribute. For catastrophic failures that stop OpenCart booting, you still need the server log. I cleared the log but the card still shows a high number, why? Clearing the log under System → Maintenance empties the file in the admin, but this card counts the trailing 24 hours from history, so it does not reset on a clear. The count will fall on its own as the spiked window rolls off. A single broken page is throwing thousands of warnings, is that one error or thousands? Thousands, as far as this count goes, because each page load writes an entry. That is intentional: a high-traffic page throwing a warning on every view is a real, growing problem (it bloats the log and hides other errors), even though the root cause is one bug. Fix the bug and the count collapses. Does this count errors from all my storefronts? Yes. A single OpenCart install shares one codebase and one error log across every store_id. The count is install-wide and cannot be split per store. My count spiked right after a PHP upgrade, what happened? A PHP version bump frequently breaks older extensions that called removed or deprecated functions, flooding the log with new warnings or fatals. Check OpenCart Version Status and update or replace the incompatible extensions. Should I just turn error logging off to keep the count down? No. The log is your main window into platform health on a self-hosted cart. Turning it off hides problems rather than fixing them, and it removes the diagnostic content you need when a spike does happen. Fix the source of the errors instead.

Tracked live in Vortex IQ Nerve Centre

Error Log Volume (24h) is one of hundreds of KPI pulses Vortex IQ tracks across OpenCart and 70+ other ecommerce connectors. Nerve Centre runs the detection layer; Vortex Mind investigates the cause when something moves; Ask Viq lets you interrogate any number in plain English. Start for free or book a demo to see this metric running on your own data.