Hello,
Thank you for contacting Rank Math support. We’re sorry that you’re experiencing this issue with our plugin. We appreciate your cooperation and patience as we try to find a solution for you.
To be able to help troubleshoot this, we’ll need to see your debug log to understand what is causing the error on your website. The debug log is a file that records any errors or warnings that occur on your site. It can help us identify and fix the problem faster.
To share your debug log with us, please follow these steps carefully:
- Open your wp-config.php file. You can find it in the root folder of your site, usually in /public_html/ or /www/.
- Before the line that says /* That’s all, stop editing! Happy blogging. */, add this code:
// Enable WP_DEBUG mode
define( 'WP_DEBUG', true );
// Enable Debug logging to the /wp-content/debug.log file
define( 'WP_DEBUG_LOG', true );
// Disable display of errors and warnings
define( 'WP_DEBUG_DISPLAY', false );
@ini_set( 'display_errors', 0 );
This code will enable the debug mode and create a debug.log file in the /wp-content/ folder of your site.
- Go to your website and try to perform the action that caused the error again i.e. publish the post. This will trigger the error and generate the debug.log file.
- Go to the /wp-content/ folder of your site and look for the debug.log file. It should contain some information about the error that occurred.
- Send us a copy of the debug.log file. You can use a service like wetransfer.com to upload it and share the link with us.
We hope these instructions are clear and easy to follow. If you have any difficulty or questions, please let us know. We’re here to help you.
Thank you for using Rank Math.
Hi Adetayo,
After reading the log, I disabled ‘instant indexing’ and after that, the error was gone. But that would be a shame to disable. But at least it points us in the right direction!
Regards,
Bas
Hello,
The error comes from the fact that the history table for the IndexNow API is currently empty.
To resolve this issue, please submit one URL of your website manually to the IndexNow API by going to WordPress Dashboard > Rank Math > Instant Indexing and making sure you are submitting to the IndexNow API.
After that, you should be able to run the plugin without any issues.
We hope this helps you understand the situation better and resolve the issue. If you have any other questions or concerns, please feel free to contact us again. We’re always here to assist you.
Thank you.
Hi Jitendra,
I checked this and it seems to work again
Thanks a lot!
Hello,
We are glad that helped.
Please feel free to reach out to us again in case you need any other assistance.
We are here to help.
Thank you.