• Resolved RadiantFreedom

    (@radiantfreedom)


    I have 3 cron events from this plugin that have no actions associated with them. Is this intentional or a bug?

    iawp_migration_fixer

    In 52 minutes
    Today at 6:00 pmOnce Hourly None (Help)

    iawp_cron_geo_database_health_check

    In 5 hours 3 minutes
    Today at 10:10 pmOnce Daily None (Help)

    iawp_fetch_favicons

    In 6 hours 52 minutes
    Tomorrow at 12:00 am Once Daily None (Help)

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Ben Sibley

    (@bensibley)

    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.

    Thread Starter RadiantFreedom

    (@radiantfreedom)

    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.

    Plugin Author Ben Sibley

    (@bensibley)

    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/

    Thread Starter RadiantFreedom

    (@radiantfreedom)

    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)

    Plugin Author Ben Sibley

    (@bensibley)

    Great, I’m glad to hear that resolved the error, and thank you for sharing that link for other users with this issue.

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

You must be logged in to reply to this topic.