Maintenance Tools
Open Competitions → Settings → Tools. Select a maintenance tool and click Save changes. Each maintenance selection runs once. The Object Cache preference stays saved until you change it.
| Tool | Purpose |
|---|---|
| Clear Cache | Clear competition prize and ticket caches and remove expired reservations |
| Clear Analytics Cache | Refresh cached Analytics data |
| Regenerate Grouped Instant Prizes | Rebuild saved groups, values, claimed totals, and counts |
| Regenerate Instant Prizes Count | Recalculate the saved prize count |
| Repair Database | Repair required custom tables, columns, and indexes |
Database repair
Section titled “Database repair”Use Repair Database if an error reports a missing competition table, column, or index. Take a database backup first. After the repair, check the result message and reopen the affected competition screen.
The Database Status panel also offers Repair / Recreate Database Tables. The repair preserves existing rows. If the database is busy, wait and try again. For an incomplete repair, check database permissions and the competitions-for-woocommerce log under WooCommerce → Status → Logs.
Developers can find database structure and collation details in Data & Competition State.
Object cache
Section titled “Object cache”Object Cache Status shows whether persistent caching is active. Leave Disable persistent plugin cache (use non-persistent storage). unchecked for normal use.
If ticket or prize information stays out of date, enable this option and click Save changes. It asks the cache to keep competition data only for each page request. Your cache plugin must support this mode. See Caching & Refresh Problems if the display remains stale.
Cron token
Section titled “Cron token”The Tools screen also manages the external cron token and exposes copyable task URLs. A token accepts 32 to 128 letters, numbers, hyphens, or underscores. Update scheduled requests after changing it.
See Cron Setup for schedules, request behavior, and status codes.
External Cron Status shows each task’s latest start and successful completion. Refresh the page to update the status.
