X
🐾 Coming from PetMatchPro 6.x? Version 8 adds real adoption analytics, similar-animal suggestions, SEO-friendly URLs, and overlay badges. See What's New →
PetMatchPro
  • Partners
    • AnimalsFirst
    • PetPoint
    • RescueGroups
  • What’s New
  • Shop
  • Demo
  • FAQ
  • Knowledge Base
  • About Us
  • Contact Us
  • My Account
  • Cart
Select Page
Green rocket icon for Getting Started documentation category

Getting Started

6
  • Activate Your License
  • Setup Wizard Walkthrough
  • Connecting Your Shelter System
  • Understanding License Tiers
  • Creating Your First Search Page
  • Creating Your First Detail Page
Blue code brackets icon for Shortcodes and Configuration documentation category

Shortcodes & Configuration

12
  • Shortcode Builder
  • [pmp-search] Reference
  • [pmp-details] Reference
  • [pmp-detail] Reference
  • [pmp-option] Reference
  • Parameters by License Tier
  • Common Shortcode Recipes
  • Pagination Setup
  • Excluding Values
  • Search Filter Button
  • Detail Button Hover Text
  • Search Card Hover Text
Purple palette icon for Templates and Design documentation category

Templates & Design

7
  • Search Templates Gallery
  • Detail Templates Gallery
  • Poster Templates
  • Theme Template Overrides
  • Color Customization
  • Font Size Customization
  • Detail Title Formats
Orange image with star icon for Icons and Overlays documentation category

Icons & Overlays

6
  • Understanding Pet Icons
  • Understanding Overlays
  • Icon Reference Gallery
  • Customizing Icon Display
  • Value-Based Icons
  • Icon Size Customization
Teal tag icon for Labels and Customization documentation category

Labels & Customization

3
  • Custom Labels Guide
  • Changing Labels via Filtering
  • Custom Currency & Date Formats
Blue funnel icon for Filters and Search documentation category

Filters & Search

5
  • Setting Up Search Filters
  • Species & Breed Filtering
  • Filter Value Management
  • Excluding Values via Filtering
  • Partner-Specific Filter Options
Violet chain link icon for Partner Integration Guides documentation category

Partner Guides

3
  • AnimalsFirst Integration Guide
  • PetPoint Integration Guide
  • RescueGroups Integration Guide
Red bar chart icon for Analytics and Tracking documentation category

Analytics & Tracking

7
  • Understanding PMP Analytics
  • GA4 Configuration
  • Google Tag Manager Setup
  • Leveraging Analytics
  • WP-Cron Requirements for PetMatchPro Analytics
  • Queue Health and Tools
  • Privacy and Data Retention
Amber wrench icon for Troubleshooting and FAQ documentation category

Troubleshooting

15
  • Common Error Messages
  • API Connection Issues
  • Template Not Found Errors
  • Theme Template Override Not Loading
  • Performance & Caching Best Practices
  • Animals Not Displaying
  • Stale Content / Cache Issues
  • Styling Conflicts
  • Empty Field Display
  • Analytics Queue Stuck or WP-Cron Not Running
  • Premium Feature Not Appearing After Upgrade
  • Troubleshoot the PetMatchPro Shortcode Builder
  • Reading PMP Debug Logs
  • wp-config.php Configuration Constants
  • How to Contact Support
Lightbulb icon representing PetMatchPro best practices guides for homepage layouts, button strategy, performance tuning, and template selection

Best Practices

10
  • Featuring Animals on Your Homepage
  • Adding Animals to Sidebars and Other Pages
  • Using Banners and Subtitles Effectively
  • Overlays and Icons for Quick Visual Cues
  • Writing Effective Detail Page Instructions
  • Button Configuration for Conversion
  • Optimizing Performance with API Caching
  • Customizing Typography and Icon Sizes
  • Lost and Found Search Best Practices
  • Template Selection Guide
View Categories
  • Home
  • Knowledge Base
  • Troubleshooting
  • Analytics Queue Stuck or WP-Cron Not Running

Analytics Queue Stuck or WP-Cron Not Running

4 min read

Analytics Queue and WP-Cron Issues #

PetMatchPro’s analytics pipeline (8.7.0+) relies on WordPress’s scheduling system (WP-Cron) to flush a queue of impression and conversion events into daily summary tables. If WP-Cron is broken or disabled, the queue grows, the analytics dashboard stops updating, and recent activity is missing from reports.

This guide walks through diagnosing the issue and getting cron healthy. Analytics tools are Preferred tier.

Symptoms #

  • The Analytics dashboard shows no new impressions or conversions for hours or days
  • The “Last rollup” timestamp is well in the past
  • The analytics event queue depth keeps growing instead of draining
  • An admin notice mentions “WP-Cron” or “scheduled task not firing”

Step 1: Check the Tools Tab #

Go to PetMatchPro > Tools. Three accordions help diagnose the analytics pipeline:

Accordion What It Shows
Analytics Queue Current queue depth, last successful flush, next scheduled flush time
Cron Self-Test Schedules a one-shot test event 60 seconds in the future and reports whether it actually fired
Rebuild Daily Summaries Manually re-aggregates raw events into daily summaries (useful after a stuck period)

Open Analytics Queue first. If the queue depth is non-zero and the next-scheduled time is in the past or shows “not scheduled”, WP-Cron is the most likely culprit.

PetMatchPro admin Tools tab with the Analytics Queue accordion expanded, showing Queue Depth of 6 events, Last Flush 1 minute ago, Next Scheduled in 45 seconds, plus Refresh and Flush Queue Now buttons

Step 2: Run the Cron Self-Test #

  1. Open the Cron Self-Test accordion.
  2. Click Start Self-Test.
  3. Wait up to 90 seconds. The test schedules an event 60 seconds out and polls for completion.

Result interpretation:

  • “Cron is healthy” — WP-Cron is firing. If the queue is still stuck, jump to Step 5.
  • “Does not appear to be firing” — WP-Cron is broken. Continue with Step 3.

Step 3: Check for DISABLE_WP_CRON #

Many managed hosts disable the default WP-Cron handler and replace it with a real server cron. If it’s disabled but no replacement is configured, scheduled events never fire.

  1. Open wp-config.php in your site root.
  2. Search for DISABLE_WP_CRON.
  3. If you find define('DISABLE_WP_CRON', true);, you must configure server-side cron (Step 4).
  4. If the line is missing or set to false, WP-Cron should be running on visitor traffic. If your site has very low traffic, scheduled events may run late or not at all (see Step 5).

Step 4: Set Up Server-Side Cron (Recommended) #

If DISABLE_WP_CRON is true or your traffic is too low to trigger WP-Cron reliably, configure a real cron job on your server to hit wp-cron.php on a schedule.

Option A — cPanel/Plesk:

  1. Log into your hosting control panel.
  2. Find Cron Jobs (cPanel) or Scheduled Tasks (Plesk).
  3. Add a new job that runs every 5 minutes:
    */5 * * * * curl -s https://yourdomain.com/wp-cron.php?doing_wp_cron > /dev/null 2>&1
  4. Replace yourdomain.com with your actual domain.

Option B — Managed host:

Many managed hosts (WP Engine, Kinsta, Pantheon, SiteGround) provide their own WP-Cron replacement that runs automatically. Check your host’s documentation or open a support ticket asking them to confirm WP-Cron is configured for your site.

Option C — External cron service:

Services like EasyCron, Cronless, or cron-job.org can hit your wp-cron.php URL on a schedule without server access. Free tiers usually handle 5-minute intervals.

Step 5: Cron Runs But Queue Is Still Stuck #

If the Cron Self-Test passes but the queue isn’t draining, something is preventing the flush hook from completing.

  1. Check PHP error log. A fatal error during the flush will leave the queue intact.
  2. Check PHP memory limit. Very large queues can OOM the flush. Bump memory_limit to 256M or higher.
  3. Manually flush. In the Analytics Queue accordion, click Flush Queue Now. This bypasses cron and runs the flush in your admin request. If it succeeds, cron should keep up going forward.

Step 6: Rebuild Missing Summaries #

Once the queue is draining and cron is healthy, the Analytics dashboard may still be missing data for the days when cron was broken. Open Tools > Rebuild Daily Summaries and click Rebuild. This re-aggregates raw events into daily summaries for the configured backfill window.

PetMatchPro admin Tools tab showing all accordions (Analytics Queue, API Diagnostics, Cache Management, Cron Self-Test, Export/Import Settings, License Summary, Rebuild Daily Summaries) with Rebuild Daily Summaries expanded, the Rebuild Daily Summaries button visible, and a success message reading "Rebuilt 41 days, 2099 rows written"

Prevention #

  • If your site has low traffic, set up server-side cron from the start — don’t rely on WP-Cron’s visitor-driven model.
  • Monitor the Analytics Queue accordion periodically. A queue depth above a few thousand for more than an hour is a warning sign.
  • After major plugin updates, run the Cron Self-Test to confirm scheduled hooks survived the upgrade.

Next Steps #

  • WP-Cron Requirement — How PetMatchPro uses scheduled tasks
  • Queue Health and Tools — Detailed Tools-tab walkthrough
  • Understanding PetMatchPro Analytics — What gets tracked and how
Analytics Queue Stuck or WP-Cron Not Running ultima modifica: 2026-04-30T12:35:39-04:00 da PetMatchPro
Updated on April 30, 2026

What are your Feelings

  • Happy
  • Normal
  • Sad

Share This Article :

  • Facebook
  • X
  • LinkedIn
  • Pinterest
Empty Field DisplayPremium Feature Not Appearing After Upgrade

Submit a Comment Cancel reply

Your email address will not be published. Required fields are marked *

Table of Contents
  • Analytics Queue and WP-Cron Issues
    • Symptoms
    • Step 1: Check the Tools Tab
    • Step 2: Run the Cron Self-Test
    • Step 3: Check for DISABLE_WP_CRON
    • Step 4: Set Up Server-Side Cron (Recommended)
    • Step 5: Cron Runs But Queue Is Still Stuck
    • Step 6: Rebuild Missing Summaries
    • Prevention
    • Next Steps

© Copyright 2018-2026 by PetMatchPro, All Rights Reserved

  • Privacy Policy
  • Terms of Use
  • Disclaimer
  • Login