error on line 3 at column 6

#81200
  • Resolved Firsthatch
    Rank Math free

    Dear RankMath,

    I am building the multilingual site with WordPress multisite. While setting sitemap, I met an error on line 3 at column 6. Please find the links for detail. Would it be possible to help me on this issue?

    Look forward to your reply.

    Best regards,
    Lin

Viewing 6 replies - 1 through 6 (of 6 total)
  • Alberto
    Rank Math business

    Hello,

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

    That is usually due to an extra whitespace at the end or beginning of the functions.php file on your theme. You can check it and try to remove it, but if you don’t find it, let us know and we will be happy to take a look for you.

    Looking forward to helping you. Thank you.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hi Alberto,

    Unfortunately, I cannot find it. Would it be possible for you to take a look at this issue? I have added the login info in the sensitive data.

    Hello,

    The site seems to be a subsite managed through a network and therefore I can’t add, deactivate or activate plugins/themes.

    To find find the issue you have to find first the cause. You can do this by doing the following:

    1. Install and activate a default theme on the site. Clear your cache, resave your permalinks settings and check if the issue disappears from your sitemap.

    2. If the issue is not with your theme, you can reactivate your theme then go to plugins page. Deactivate the plugins one by one, while still checking your sitemap until you find the cause of the issue.

    If not the issue is not with either your theme or plugins, then it is likely coming from your wp configuration file(s)

    You can also try this guide here: https://wejn.org/stuff/wejnswpwhitespacefix.php.html to fix all whitesapces on your files.

    Hope that helps. If you have any further question(s), please let us know. Thank you.

    Dear Michael,

    I followed your suggestion and deactivated the plugins one by one. However, i cannot find the cause. Is there anything I can do on this issue?

    Look forward to your reply.

    Best regards,
    Lin

    Alberto
    Rank Math business

    Hello,

    Were you also able to check the themes, configuration files, and finally the tool my colleague suggested (this one: https://wejn.org/stuff/wejnswpwhitespacefix.php.html)?

    Looking forward to help you.

    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 6 replies - 1 through 6 (of 6 total)

The ticket ‘error on line 3 at column 6’ is closed to new replies.