Conversation
supportSitemap can be read, but has errors https://prnt.sc/L_wNBPN2Q5kA example: https://asianicinsights.com/sitemap-posttype-post.2026.xml
Hi, there is an error output from your theme that breaks the sitemap XML code. You can see the error at the top of every page on your site https://asianicinsights.com : Warning : Undefined array key “auto_login_key” in … on line 3 Your first step should be to prevent errors from being public. Do you have WP_DEBUG set to true in your wp-config.php? If so, and if you are not actively monitoring errors, consider setting it to false. Then add these lines: define( 'WP_DEBUG_LOG', true ); define( 'WP_DEBUG_DISPLAY', false ); @ini_set( 'display_errors', 0 ); If that does not help, try to set display_errors to 0 in your server/hosting PHP settings. Next, you might want to fix the issue that causes the warning message. It seems related to your theme…
Warning : Undefined array key “auto_login_key” in … on line 3 already fix, but sitemap still error https://prnt.sc/x1YFL39h2SwP
Errors in Google Search Console can will take a while to go away. I checked your sitemaps and they all work correctly now. But the yearly Post sitemaps are a bit slow. You can try setting the option “Split by” to “Month” for Posts on Settings > XML Sitemap on the Post types tab. This will create more but faster sitemaps in the index. It might also help to modify a recent post, even if you do not change any text (just resave the post) so that the Last modified date changes in the sitemap. Then resubmit the sitemap index either via the WordPress admin (if you set up a Google API connection) or in Google Search Console directly. This might trigger Google to revisit your sitemap and see that the error has gone.
Hi, there is an error output from your theme that breaks the sitemap XML code. You can see the error at the top of every page on your site https://asianicinsights.com : Warning : Undefined array key “auto_login_key” in … on line 3 Your first step should be to prevent errors from being public. Do you have WP_DEBUG set to true in your wp-config.php? If so, and if you are not actively monitoring errors, consider setting it to false. Then add these lines: define( 'WP_DEBUG_LOG', true ); define( 'WP_DEBUG_DISPLAY', false ); @ini_set( 'display_errors', 0 ); If that does not help, try to set display_errors to 0 in your server/hosting PHP settings. Next, you might want to fix the issue that causes the warning message. It seems related to your theme…
Warning : Undefined array key “auto_login_key” in … on line 3 already fix, but sitemap still error https://prnt.sc/x1YFL39h2SwP
Errors in Google Search Console can will take a while to go away. I checked your sitemaps and they all work correctly now. But the yearly Post sitemaps are a bit slow. You can try setting the option “Split by” to “Month” for Posts on Settings > XML Sitemap on the Post types tab. This will create more but faster sitemaps in the index. It might also help to modify a recent post, even if you do not change any text (just resave the post) so that the Last modified date changes in the sitemap. Then resubmit the sitemap index either via the WordPress admin (if you set up a Google API connection) or in Google Search Console directly. This might trigger Google to revisit your sitemap and see that the error has gone.