If you’re running a WordPress site with the RankMath SEO plugin and encounter issues this help desk article will guide you through the troubleshooting process and provide solutions.
Issue Description:
Your site is having 504, 520, or 502 error with a host error after passing through Cloudflare. The issue was related to high resource usage and a database error related to the RankMath plugin.
Solution Steps:
Step 1: Check Server Resources
- If you encounter a 504 error, 520 error or 502 error high resource usage, it’s essential to check your server resources.
- Consider scaling up resources if necessary.
Step 2: Restart Container
- After scaling up resources, restart the container to apply the changes.
- Ensure that this action is taken specifically for the affected site.
Step 3: Verify Site Availability
- Confirm that the site is up and running after the container restart.
Step 4: Check for Database Errors
- If you notice WordPress database errors related to the RankMath plugin, such as the error below:
WordPress database error Table 'db.wp_rank_math_analytics_ga' doesn't exist for query...
- Check if the RankMath plugin is properly connected. It may disconnect after a server restart.
- Reconnect the RankMath plugin to resolve these table-related issues.
Step 5: Ensure RankMath is Up to Date
- Make sure that you have the latest version of the RankMath plugin installed.
- If not, update the plugin to the latest version.
Step 6: Deactivate Analytics Feature (If Not Needed)
- If you don’t require the RankMath analytics feature for your site, consider deactivating it.
- This can help reduce resource usage and prevent related errors.
Step 7: Research Known Issues
- Look for known issues related to the RankMath plugin on WordPress forums or support pages.
- Check if the issue you’re facing has been reported and if any solutions are available.
Step 8: Seek Assistance
- If the issue persists or you’re unsure how to proceed, reach out to your hosting provider or RankMath plugin support for further assistance.
Step 9: Remove Unnecessary Features
- If necessary, remove unnecessary features or functionalities of the RankMath plugin to reduce resource usage.
By following these steps, you can address common issues related to the RankMath plugin on your WordPress site. If problems persist, don’t hesitate to seek help from your hosting provider or the RankMath support team.