error on line 1 at column 10: XML declaration allowed only at the start of the document

Created on 16 December 2020, over 3 years ago
Updated 21 April 2023, about 1 year ago

I'm getting "error on line 1 at column 10: XML declaration allowed only at the start of the document". It's putting extra spaces before " <?xml version="1.0"?>"

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States kruser

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡΅πŸ‡±Poland besek

    Anyone found solution of this issue? I have the same problem and can't find what is causing it

  • πŸ‡΅πŸ‡±Poland besek

    Ok, I actually just resolved my issue: it was caused by empty line in my MYTHEME.theme file. But it might be also another file in theme. It's worth to verify if it's somewhere in the theme by switching to default theme and checking if error still occurs. I'm leaving it here, as it may help somebody.

Production build 0.69.0 2024