Mandrill Reports under the Dashboard admin menu
-
The report on this page do not update. They seem to be stuck on the numbers created when I first looked at the page. The Dashboard widget seems to be updating fine.
Is there a transient I can delete from the db or something?
-
hmm… There is: wpmandrill-stats. And there’s also a persistent option with the same name used as a backup.
There seems to be a problem that prevent it to get updated but I’ve been unable to reproduce it ??
The transient (and the persistent backup option) is supposed to be updated every hour by wpMandrill::saveProcessedStats()
My best guess is that the plugin is showing the persistent backup option and somehow it never gets updated. If that’s the case, there are two possible situation happening here: Either the ‘cron hook’ is not getting called (wpm_update_stats) or wpMandrill::GetProcessedStats() is returning an empty variable.
And I can’t reproduce either of these scenarios. Can you describe a little bit your setup please? Host OS/version? Web server/version? Wp/version? wpMandrill/version?
You can send me email to will *at] mailchimp *dot] com if you want.
Hi Will,
My first attempt to update the stats; I used WP Control to manually run the cron. Didn’t work. I’m fairly certain my cron are firing because my site is fairly active.
My second attempt to update the stats; I queried the options table for LIKE “%mandril%” and deleted the wpmandrill-stats option. There wasn’t a transient. I assume that is because I had just run the cron manually. This successfully updated my stats. My guess is that wpmandrill-stats is the persistent backup you mentioned.
When I query the db now, there is a transient.
I check again in a few hours to see if the page stas are updating.
Here’s my info:
WordPress Version: 3.6.1 Multisite: No Permalink Structure: /%year%/%monthnum%/%day%/%postname%/ Active Theme: Striking 5.2.1 PHP Version: 5.4.15 MySQL Version: 5.5.32-cll Web Server Info: Apache PHP Safe Mode: No PHP Memory Limit: 256M PHP Upload Max Size: 64M PHP Post Max Size: 8M PHP Upload Max Filesize: 64M PHP Time Limit: 90 PHP Max Input Vars: 2000 WP_DEBUG: Disabled WP Remote Post: wp_remote_post() works Session: Enabled Session Name: PHPSESSID Cookie Path: / Save Path: /tmp WordPress Memory Limit: 40MB DISPLAY ERRORS: On (1) FSOCKOPEN: Your server supports fsockopen. cURL: Your server supports cURL. SOAP Client: Your server does not have the SOAP Client enabled. SUHOSIN: Your server does not have SUHOSIN installed. ACTIVE PLUGINS: Affiliates Pro: 2.4.1 Artiss README Parser: 1.2 Artiss Transient Cleaner: 1.2 AskApache Password Protect: 4.6.8 BackupBuddy: 4.1.1.5 bbPress: 2.3.2 bbPress - Mark as Read: 0.3 bbPress - Private Replies: 1.0.7 bbPress Admin Bar Addition: 1.7.1 bbPress Custom Reply Notifications: 1.0.1 bbPress New Topic Notifications: 1.1 bbPress Stay Checked: 1.0 Better Recent Posts Widget Pro: 2.0.3 Better Subpages Widget: 2.0.3 Broken Link Checker: 1.8.3 Bug Library: 1.2.7 Category Checklist Tree: 1.3.1 Connections: 0.7.9 Connections cMap - Template: 3.0.3 Connections Excerpt - Template: 2.0 Connections Excerpt Plus - Template: 1.0.1 Connections Form: 1.0.1 Connections Link: 1.0 Connections Market - Template: 3.0 Connections ROT13: 0.1 Connections SiteShot: 1.0.2 Connections Slim - Template: 1.0 Connections Slim Plus - Template: 1.0 Connections Tile - Template: 3.0 Connections Tile Plus - Template: 3.0 Connections Toolbar: 1.0 Cookies for Comments: 0.5.5 Custom Headers and Footers: 1.2 Custom Login Logo: 1.0 Disable Comments: 1.0.1 Disable XML-RPC: 1.0 Duplicate Post: 2.4.1 Easy Content Types: 2.6.9 Easy Digital Downloads: 1.7.2 Easy Digital Downloads - Affiliates Pro: 1.2.0 Easy Digital Downloads - Customizations: 1.0 Easy Digital Downloads - Email Templates: 1.0.3 Easy Digital Downloads - Manual Purchases: 1.4 Easy Digital Downloads - PDF Invoices: 2.0.3 Easy Digital Downloads - Software Licenses: 1.8.2 Easy Digital Downloads - Stripe Payment Gateway: 1.6.4 Easy Digital Downloads Toolbar: 1.5.1 EDD Changelog: 1.0 EDD Coming Soon: 1.2 EDD Download Info: 0.1.6 GD bbPress Attachments: 1.9.2 GetShopped Support Forum Plugin: 3.0.1 Google Analyticator: 6.4.5 Limit Login Attempts: 1.7.1 Menu Template Tags: 1.0 Nav Menu Roles: 1.3.4 Ninja Forms: 2.2.46 Peter's Login Redirect: 2.7.1 Pingdom Real User Monitoring: 1.0 Posts By Taxonomy Widget Pro: 1.0 Post Types Order: 1.6.2 Redirection: 2.3.3 Restrict Content: 2.1 Revision Control: 2.3 RTE Comments: 1.0.3 Stop Spammer Registrations Plugin: 4.3 Subscribe To Comments: 2.1.2 Sugar FAQs for WordPress: 1.2.3 Testimonials Manager: 2.0.4 User Switching: 0.8.2 W3 Total Cache: 0.9.3 WangGuard: 1.5.10 WordPress SEO: 1.4.15 WordPress Social Share Buttons: 1.1.2 WP-Syntax: 1.0 WP Crontrol: 1.2.2 wpMandrill: 1.32 WP Menu Cart: 2.1.5 WP Smush.it: 1.6.5.3
Will,
I’ve determined that the cron is running, but the stats are not updating. After the cron runs, the transient is removed so the stats must be loading from
wpmandrill-stats
. So would that mean thatwpMandrill::GetProcessedStats()
is returning an empty variable?Hi shazahm1,
We found something that needs to be tweaked in the Mandrill side of things that is making the stats updating process to fail for some accounts.
Once tuned all affected wpMandrill installations *should* start working automatically as expected.
I’ll post an update here once it’s deployed.
By the way… thanks a lot for helping us debug this elusive bug!
Great news!
Any updates here?
Hi, any updates here?
The stats in the wordpress dashboard is up to date whereas the content in the Dashboard > Mandrill Reports show no stats at all.
Sorry for the delay,
We’ve been unable to replicate the problem so we’ve released a new version that will add new log messages to your wp log file.
Please, list them here.
- The topic ‘Mandrill Reports under the Dashboard admin menu’ is closed to new replies.