There was an issue scheduling the recurring action required for Analytics

#1068727
  • Resolved Jaspreet Singh
    Rank Math free

    Hi i am getting issue
    There was an issue scheduling the recurring action required for Analytics; if the problem persists, please contact our support team.

    rank_math/analytics/email_report_event Failed rank-math Every 1 month 2025-07-16 00:00:00 +0000
    (16 hours 41 minutes ago)
    2025-07-15 11:34:41 +0000
    action created
    2025-07-16 00:00:01 +0000
    action started via WP Cron
    2025-07-16 00:00:02 +0000
    action failed via WP Cron: abs(): Argument #1 ($num) must be of type int|float, string given

    i tried here also but there have some issue
    please help
    thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

    We apologize for the issue you are facing with scheduling the recurring action for Analytics. It seems that there is a problem with the WP Cron job that is supposed to run the analytics actions. Here are a few steps you can take to troubleshoot this issue:

    1. Check WP-Cron Settings: Ensure that your wp-config.php file has the following line set:

      define('DISABLE_WP_CRON', false);

      This setting allows WP-Cron to run.

    2. Install WP Crontrol Plugin: You can install and activate the WP Crontrol plugin to manage and monitor your cron jobs. After activation, navigate to Tools → Cron Events in your WordPress dashboard to check for any errors or issues with the scheduled actions.
      Navigate to Cron Events

    3. Run Pending Actions Manually: From the Cron Events page, you can manually run any pending actions related to Rank Math analytics. Look for the action named rank_math/analytics/data_fetch and run it manually.
      Run Rank Math Analytics data fetch manually.

    4. Check for Errors: If you see any errors above the Cron Events list, click on the "More Information" link to get details about the error, which can help in diagnosing the issue.
      Cron Error

    5. Debug Log: If the issue persists, consider creating an Analytics debug log file by adding the following filter to your theme’s rank-math.php file:

      add_filter( 'rank_math/analytics/log_response', '__return_true' );

      After adding this, run the pending scheduled actions again and check the log file located in /wp-content/uploads/rank-math/.

    If these steps do not resolve the issue, please reply to this ticket with any error messages you encounter or additional details about your setup, and a human agent from our support team will assist you further. Thank you for your patience!

    Sources:
    Resolving Rank Math Analytics Related Issues » Rank Math
    Resolving Rank Math Analytics Related Issues » Rank Math

    i am getting this error

    There was a problem spawning a call to the WP-Cron system on your site. This means WP-Cron events on your site may not work. The problem was:

    cURL error 28: Resolving timed out after 3000 milliseconds

    what is solution…??

    Hello,

    In this case, please get in touch with your hosting provider and ask them to fix the WP-Cron issue.

    You can share this link with them:
    https://github.com/johnbillion/wp-crontrol/wiki/Problems-with-spawning-a-call-to-the-WP-Cron-system#curl-error-28-operation-timed-out-after-3000-milliseconds-with-0-bytes-received

    Without this working correctly, our plugin can’t correctly fetch the data from Google.

    Looking forward to helping you.

    There is no solution available on this link
    there are 3 more websites on same server they have no issue like this

    Hello,

    Apologies for the confusion, here’s the correct link:
    https://wp-crontrol.com/help/problems-spawning-wp-cron/#curl-error-28-operation-timed-out-after-3000-milliseconds-with-0-bytes-received

    If the issue persists, assuming you are using the latest version of all the plugins and the themes (please update if not yet), this can be caused by conflicting plugin/theme with Rank Math.

    To determine that, please follow this troubleshooting guide:
    https://rankmath.com/kb/check-plugin-conflicts/

    Here is a video you can follow as well: https://www.youtube.com/watch?v=FcIWRhcUP2c

    Only the site admin would know and your users won’t be affected by this troubleshooting.

    Looking forward to helping you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

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

The ticket ‘There was an issue scheduling the recurring action required for Analytics’ is closed to new replies.