• Resolved Senri Miura

    (@senribb)


    My shortcodes stopped working.

    Recently, all SlimStat shortcodes have been returning 0 (see code below). By the way, another site on the same server works fine.

    Visitors: [slimstat f=’count’ w=’ip’]strtotime equals today[/slimstat] / [slimstat f=’count’ w=’ip’]strtotime equals yesterday[/slimstat] ([slimstat f=’count’ w=’ip’]strtotime equals now &&& interval_minutes equals -5[/slimstat] online)
    Page Views: [slimstat f=’count’ w=’id’]strtotime equals today[/slimstat] / [slimstat f=’count’ w=’id’]strtotime equals yesterday[/slimstat] ≫Details

    Rolling back the SlimStat plugin or deleting and reinstalling it doesn’t change the result. Even when I increase the PHP maximum memory usage value to 2.5GB, the result remains 0.
    By the way, the following error message is displayed in the Maintenance tab in SlimStat’s settings, but I am not using any caching plugins.

    Tracker error [March 10, 2026 8:07 PM] 101 Invalid data signature. Please try clearing your WordPress cache.

    I can’t figure out the cause of this problem, so please tell me how to solve it.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Parhum Khoshbakht

    (@parhumm)

    Hi @senribb,

    Thanks for the detailed report — the error code and shortcode examples made it much easier to investigate.

    We tested your exact shortcode syntax against the codebase and confirmed the shortcodes are working correctly. The root cause is error 101 — it’s blocking the tracker from saving new visits, which is why all your counts show 0.

    Here’s what’s happening: error 101 means the security signature embedded in your pages no longer matches the key stored in SlimStat’s settings. This breaks every time the plugin is reinstalled, because a new key is generated — but your pages still serve the old signature. Even without a caching plugin, most hosting providers run server-level caching (Nginx FastCGI cache, LiteSpeed cache, Varnish, or Cloudflare) that you wouldn’t see from WordPress.

    Here’s how to fix it:

    1. Ask your hosting provider to purge the server-side page cache for this site completely
    2. Clear your browser cache (or test in a private/incognito window)
    3. Visit a few pages on your site
    4. Wait 2-3 minutes, then check SlimStat’s dashboard — you should see new visits appearing

    Once new visits show up, your shortcodes will return the correct numbers again.

    Since your other site on the same server works fine, this confirms it’s a per-site cache issue — that site likely had its cache cleared naturally or wasn’t cached when the plugin was reinstalled.

    Also, if you have GDPR Compliance Mode enabled, SlimStat won’t track any visits until the visitor accepts the consent banner. If you want the banner completely off, make sure GDPR Compliance Mode is set to Off under SlimStat > Settings > Consent Management. With it on, visitors who haven’t accepted the banner won’t be tracked — so your shortcode counts would also stay at 0 for those visits.

    We’re tracking this at: https://github.com/wp-slimstat/wp-slimstat/issues/176

    Let us know if purging the cache resolves it!

    Thread Starter Senri Miura

    (@senribb)

    Hello @parhumm,

    Thank you very much for your quick reply.
    After that, I uninstalled the SlimStat plugin (deleting the database) and reinstalled it, which temporarily resolved the problem.

    However, although I selected GeoLite2 (I have a MaxMind license key) as the Geolocation Provider in the Tracker tab of the SlimStat settings and was able to update the Geolocation Database, no matter what I selected for the GeoIP Database Source, it remained set to ‘Disable’.

    I have also disabled GDPR compliance mode.

    Is the problem still present?

    Plugin Contributor Parhum Khoshbakht

    (@parhumm)

    Hi @senribb ,

    Glad to hear the shortcodes are working again!

    The geolocation provider issue you’re seeing has been fixed in version 5.4.2, which we just released. We rewrote how the geolocation settings are handled — the provider selection now saves and applies correctly, and the database downloads are much more reliable.

    Please update to v5.4.2 through your WordPress dashboard (Dashboard > Updates), then go to SlimStat > Settings > Tracker, select your preferred geolocation provider, enter your MaxMind license key, and save. The setting should stick and the database will download automatically.

    Let us know if everything works as expected after the update!

    Plugin Contributor Parhum Khoshbakht

    (@parhumm)

    Hi @senribb ,

    Just checking in — we hope the geolocation settings are working properly after the update.

    We’ve since released v5.4.4, which includes additional fixes for chart display, weekly reporting, and server compatibility. We’d recommend updating to the latest version through Dashboard > Updates when you get a chance.

    If everything’s working on your end, feel free to mark this thread as resolved. And if anything else comes up, don’t hesitate to open a new thread — we’re happy to help.

    Plugin Contributor Parhum Khoshbakht

    (@parhumm)

    Hi @senribb ,

    Quick heads-up — we just released v5.4.6, which is a major stability update for the entire 5.4.x line. Upgrading to 5.4.x broke tracking for many users: visitor counts dropped to zero, IPs were masked without permission, and a consent banner appeared on sites that never asked for one. This release fixes all of that — after updating, your site works the way it did before 5.4.0, no manual steps required.

    Since your original issue was caused by a stale data signature after reinstalling, this update also addresses cache-related tracking failures more gracefully, including better fallback transport when a request fails.

    One thing to keep in mind: if you’re using any caching plugin (or your host runs server-level caching), clear the cache after updating. Then visit a few pages and check SlimStat’s Access Log to confirm new data is being recorded.

    If anything comes up after the update, we’re here — just open a new thread.

    Thread Starter Senri Miura

    (@senribb)

    Hello @parhumm,

    I understood. I’m currently not using SlimStat on my main site, but I’ll test its functionality on another site. Thank you very much for reporting this issue.

Viewing 6 replies - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.