Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
1.6k views
in Q2A Core by
edited by

Warning: Cannot modify header information - headers already sent by (output started at C:\wamp\www\qa\qa-lang\pl\qa-lang-options.php:1) in C:\wamp\www\qa\qa-include\qa-page.php on line 205
(...
callstack
...)

The fast solution is to convert my language files to UTF-8 without BOM.

However it is not very elegant  feature if I cannot use UTF-8 with BOM.

 

EDIT: The same problem is present with theme files.
EDIT 2: The same problem is present with plugin files.

Q2A version: 1.5

1 Answer

+2 votes
by
This is a PHP issue, and I don't think Q2A can do anything about it.
by
It sounds quite unusual. I always used php files with BOM in my programs and they worked okay. Maybe there is some workaround? Or the problem reason isn't so hopeless?
by
I'm afraid I don't know much more - perhaps someone with greater experience of PHP's internals can shed more light on the subject. I know I have personally always had problems when starting PHP files with a UTF-8 BOM.
by
Ok then. So it could be useful to add a notice in theme and plugin instruction that people need to use UTF8 without byte order mark.

Thanks for great quality product!
by
Good idea - will do.
...