Why this error occurs:
This error occurs due to unrequired spaces in the wordpress files(files which are mentioned in the error).

How to remove error:

1. Open the concerned file, which shows error(see the path mentioned in the error) either through filezilla or go to wordpress editor.

2. Remove extra spaces from above and below the file i.e first letters of the file should be with no spaces at all either in the beginning or in the end.

3. Save the file and refresh the page, where the error was previously.

Happy coding 🙂