0

RSS page shows an error

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

Anyone knows what to do with this?

0

It turns out that if there is a php file that has a space or a line before the opening bracket, the space will pass to xml file and throw this error. In my case it was a custom theme's registration.php file that started with a space. Once erased everything was back to normal.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.