wordpress-seo icon indicating copy to clipboard operation
wordpress-seo copied to clipboard

Google reports index error on lastmod

Open shawnlunny opened this issue 12 years ago • 8 comments

webmastertools_error sitemap_bug

Version: Stable tag: 1.5.3.2

The error is saying the problem is on line 41, but there is no line 41. Looking in each of the files nothing stands out as incorrect date wise, but you can see from the screenshot that there is no last mod date on the one sitemap that I believe is causing the issue.

shawnlunny avatar May 19 '14 05:05 shawnlunny

Same error, no fix!

pouyasalimi avatar May 21 '14 13:05 pouyasalimi

Probably related to #930, looking into this.

jdevalk avatar Jun 04 '14 09:06 jdevalk

Could both of you give me example sitemap URLs to look at?

jdevalk avatar Jun 04 '14 10:06 jdevalk

Hello, I have the same issue, lastmod is empty in sitemap_index. Here is example url : http://www.besti.rs/sitemap_index.xml . Also there is wrong date when using sitemap for "author", its 1970...I'm using 1.5.3.3 wordpress SEO plugin on 3.9.1 WP. Note that this empty lastmod happens ONLY on this number of sitemaps, for example, if i use 2000 links per sitemap and there is only 1 post_tag-sitemap.xml (instead of 2 you can see now), there is no error.

Thanks

inodeitsolutions avatar Jun 14 '14 16:06 inodeitsolutions

@inodeitsolutions This has most likely been fixed by some recent commits @jdevalk made. If you're willing and able, please download the current GitHub master to test if this fixed it for you. Thanks.

jrfnl avatar Jun 15 '14 02:06 jrfnl

@jrfnl Thanks for quick response. I have already tried latest class-sitemaps.php from GitHub master, and also some fix suggestions i found on the internet, but nothing helped.

inodeitsolutions avatar Jun 15 '14 10:06 inodeitsolutions

@inodeitsolutions could you please check for any php error messages using the code in this gist ? If you find any which are WPSEO related, please provide the full error message preferably with the stack trace (you can anonymize the path to wp).

jrfnl avatar Jun 15 '14 11:06 jrfnl

Hi, and sorry for late answer, i was really busy :( Issue is fixed with latest update of wordpress seo 1.5.4.2 . So you can close the ticket. Thanks!

inodeitsolutions avatar Jul 24 '14 07:07 inodeitsolutions