Hi! After the last update, Google cannot scan the sitemap, error 404! When I open the map in the browser, it sometimes works, sometimes it doesn’t, also a 404 error.
In addition, there is such a mistake:
type
E_WARNING (2)
info
file_get_contents(/wp-content/uploads/rank-math/rank_math_ba1c41a9c0fb87ea966b2ca7a2c8c241.xml): Failed to open stream: No such file or directory
file
/wp-admin/includes/class-wp-filesystem-direct.php
line
39
Addition to the problem. The 404 error was also on another site. On both sites, I rolled back to the previous version of the plugin. This fixed the problem on one of the sites, but the problem remained on the other. It turned out that the conflict arose with the PWA plugin. I had to disable PWA. Now I can’t determine which of the two plugins creates a conflict – is PWA incompatible with Rand Math or vice versa? But we must take into account that there was also a 404 error on the second site before the rollback, but the PWA plugin is not installed there. I don’t see any errors in the logs, except 404. Turning on the debug mode showed only this problem, but it does not coincide with the time when the 404 error appeared. PHP Deprecated: The wp_no_robots function has been deprecated since version 5.7.0 <strong></strong>! Use wp_robots_no_robots(). in /wp-includes/functions.php on line 5211
2. The wp_no_robots function error: We do not use this function anywhere in our plugin. Your theme or some other plugin must be using it.
It seems to be working fine on our end.
Assuming you are using the latest version of all the plugins, themes, and WordPress (please update if not yet), it would seem like a conflict with one of the plugins or the theme you are using.