Hi there,
Thanks for using Independent Analytics.
When using the WP Crontrol plugin, you should see a line like this in the Action column: Closure in wp-content/plugins/independent-analytics-pro/IAWP/Cron_Job.php at line 16. The “Closure” is an anonymous function that gets called.
I don’t think it should be saying, “None.” I’m going to recommend that you deactivate and then reactivate Independent Analytics, and check if that resolves the message you’re seeing in WP Crontrol. Reactivating the plugin like this won’t have any impact on your data or settings.
I can give a bit more information before I do that. I’m a web developer so I have IA running on multiple websites I manage, including clients and my own website.
I checked on my own website and the Action field in WPCrontrol matches what you said it should look like, though that version is 2.14.8. Updating to v 2.14.9 did not break anything.
I repeated these steps on the affected client website and confirmed the issue seems isolated to that one client so far.
Disabling and re-enabling the plugin did not fix the issue, but did bring up a new error message: “Missing PDO extension” This client is on different hosting then any of my other clients, GoDaddy, which is where most of my clients are hosted.
Following this research I finished up with the following troubleshooting steps, as recommended by Ben:
- disabled Independant Analytics plugin
- re-enabled plugin
- Got new error message: Missing PDO extension
- Issue may be a hosting setting with Hostgator
- Enabled pdo and pdo_mysql in GoDaddy Cpannel PHP settings
- Disabled plugin
- re-enabled plugin
- checked WPCron events
- Issue resolved
Conclusion
GoDaddy hosting appears to have PHP extensions critical to this plugin disabled by default and they need to be manually enabled via the PHP Settings in the Cpanel.
If the site is missing the PDO extension, then that is definitely an issue. That will prevent the Analytics from working at all. You should see an error message about this when you view the Analytics menu.
With that said, it should be a quick fix via cPanel. You just need to enable the PDO extension for PHP version you’re currently using. We have a tutorial on how to do that with screenshots here: https://independentwp.com/knowledgebase/common-questions/pdo-error/
Yup, enabling the PDO extension was what I needed to do to fix it, as stated above.
Note that this may be an issue for others hosted on GoDaddy using this plugin, as the PDO extensions are not enabled there by default, but it’s pretty easy to go in and manually enable them if you know your way around the cPanel. For GoDaddy users, here’s the article from GoDaddy’s knowledge base to repeat the steps I took: https://www.godaddy.com/en-ca/help/enable-custom-php-modules-12036 (make sure you’re on the “Linus Hosting” tab as the other one is too complex for the casual user as it involved editing the php.ini files, which most users won’t want to do)
Great, I’m glad to hear that resolved the error, and thank you for sharing that link for other users with this issue.