Google sitemap error 500

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    Could you please check your server error log and let me know the kind of errors that are reported?

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Hi. Thankyou for the answer. Here I pasted from error log the latest incidents.Thanks

    [23-Dec-2019 15:37:18 UTC] PHP Fatal error: Uncaught Exception: DateTimeZone::__construct(): Unknown or bad timezone () in /home/namelaka/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/sitemap/class-timezone.php:57
    Stack trace:
    #0 /home/namelaka/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/sitemap/class-timezone.php(57): DateTimeZone->__construct(”)
    #1 /home/namelaka/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/sitemap/class-timezone.php(40): RankMath\Sitemap\Timezone->get_datetime_with_timezone(‘2019-12-12 08:5…’)
    #2 /home/namelaka/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/sitemap/class-generator.php(267): RankMath\Sitemap\Timezone->format_date(‘2019-12-12 08:5…’)
    #3 /home/namelaka/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/sitemap/class-generator.php(200): RankMath\Sitemap\Generator->sitemap_index_url(Array)
    #4 /home/namelaka/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/sitemap/class-generator.php(186): RankMath\Sitemap\Gene in /home/namelaka/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/sitemap/class-timezone.php on line 57
    [23-Dec-2019 15:37:32 UTC] PHP Fatal error: Uncaught Exception: DateTimeZone::__construct(): Unknown or bad timezone () in /home/namelaka/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/sitemap/class-timezone.php:57
    Stack trace:
    #0 /home/namelaka/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/sitemap/class-timezone.php(57): DateTimeZone->__construct(”)
    #1 /home/namelaka/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/sitemap/class-timezone.php(40): RankMath\Sitemap\Timezone->get_datetime_with_timezone(‘2019-12-12 08:5…’)
    #2 /home/namelaka/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/sitemap/class-generator.php(267): RankMath\Sitemap\Timezone->format_date(‘2019-12-12 08:5…’)
    #3 /home/namelaka/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/sitemap/class-generator.php(200): RankMath\Sitemap\Generator->sitemap_index_url(Array)
    #4 /home/namelaka/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/sitemap/class-generator.php(186): RankMath\Sitemap\Gene in /home/namelaka/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/sitemap/class-timezone.php on line 57
    [24-Dec-2019 09:47:17 UTC] PHP Fatal error: Uncaught Exception: DateTimeZone::__construct(): Unknown or bad timezone () in /home/namelaka/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/sitemap/class-timezone.php:57
    Stack trace:
    #0 /home/namelaka/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/sitemap/class-timezone.php(57): DateTimeZone->__construct(”)
    #1 /home/namelaka/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/sitemap/class-timezone.php(40): RankMath\Sitemap\Timezone->get_datetime_with_timezone(‘2019-12-12 08:5…’)
    #2 /home/namelaka/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/sitemap/class-generator.php(267): RankMath\Sitemap\Timezone->format_date(‘2019-12-12 08:5…’)
    #3 /home/namelaka/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/sitemap/class-generator.php(200): RankMath\Sitemap\Generator->sitemap_index_url(Array)
    #4 /home/namelaka/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/sitemap/class-generator.php(186): RankMath\Sitemap\Gene in /home/namelaka/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/sitemap/class-timezone.php on line 57
    [24-Dec-2019 09:47:26 UTC] PHP Fatal error: Uncaught Exception: DateTimeZone::__construct(): Unknown or bad timezone () in /home/namelaka/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/sitemap/class-timezone.php:57
    Stack trace:
    #0 /home/namelaka/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/sitemap/class-timezone.php(57): DateTimeZone->__construct(”)
    #1 /home/namelaka/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/sitemap/class-timezone.php(40): RankMath\Sitemap\Timezone->get_datetime_with_timezone(‘2019-12-12 08:5…’)
    #2 /home/namelaka/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/sitemap/class-generator.php(267): RankMath\Sitemap\Timezone->format_date(‘2019-12-12 08:5…’)
    #3 /home/namelaka/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/sitemap/class-generator.php(200): RankMath\Sitemap\Generator->sitemap_index_url(Array)
    #4 /home/namelaka/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/sitemap/class-generator.php(186): RankMath\Sitemap\Gene in /home/namelaka/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/sitemap/class-timezone.php on line 57

    Hi again. I’ve change wp timezone from UTC-1 to Madrid (UTC+1), iit was badly configured. but now the problem has changed.

    +++++++++
    This page contains the following errors:
    error on line 2 at column 6: XML declaration allowed only at the start of the document
    Below is a rendering of the page up to the first error.
    +++++++++

    Thanks

    Hi,

    Thanks a lot for your query and we are so sorry about the trouble this must have caused.

    Please follow the instructions here to fix the issue you are facing: https://rankmath.com/kb/fix-sitemap-issues/#xml-text-declaration

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)

The ticket ‘Google sitemap error 500’ is closed to new replies.