Dear Rank Math Support Team,I’m experiencing two issues with the latest version of Rank Math SEO on my WordPress site running PHP 8.1.
Below are the details from my debug.log:
1.PHP Deprecated Errors:[25-May-2025 09:37:11 UTC] PHP Deprecated: number_format(): Passing null to parameter #1 ($num) of type float is deprecated in /home/qmviuvxj/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/analytics/class-summary.php on line 123
[25-May-2025 09:37:11 UTC] PHP Deprecated: number_format(): Passing null to parameter #1 ($num) of type float is deprecated in /home/qmviuvxj/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/analytics/class-summary.php on line 124
These errors suggest that null values are being passed to number_format() in the analytics module, which is deprecated in PHP 8.1.
2.Cron Error:[25-May-2025 10:37:09 UTC] Cron reschedule event error for hook: action_scheduler_run_queue, Error code: invalid_schedule, Error message: Event schedule does not exist., Data: {“schedule”:”every_minute”,”args”:[“WP Cron”],”interval”:60}
This might be related to Rank Math, as it uses Action Scheduler
**System Details:
Rank Math Version: (1.0.245]
WordPress Version: [6.8.1]
PHP Version: 8.1
Active Plugins: [Rank Math SEO, lognizer ,backuply, statertemplate, elementor contact form 7, speedycache]
Theme: [Astra version 4.11.1]
WP-Cron Status: WP-Cron is enabled (no DISABLE_WP_CRON in wp-config.php).
Steps Tried:
Confirmed Rank Math is updated to the latest version.
Cleared Rank Math analytics cache (if applicable).
Checked WP-Cron functionality by manually running wp-cron.php.
The errors persist, and I’m hesitant to downgrade to PHP 7.4 due to security concerns. Could you please investigate these issues and suggest a fix? Let me know if you need additional details, such as a staging site or admin access.Thank you,
(Golden predictions)
Hello,
Thank you so much for getting in touch.
We can see that our accounts team already replied to your email and processed a refund on your requested transaction. Kindly check that out.
If you still have any questions, just reply and we will be more than happy to clarify any doubts you might have.
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.