Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+4 votes
1.2k views
in Q2A Core by
I see these warning messages in error_log file:

[22-Mar-2015 09:57:53 Europe/Helsinki] PHP Warning:  session_start(): Cannot send session cache limiter - headers already sent (output started at /home/myfolder/public_html/qa/qa-include/ajax/asktitle.php:76) in /home/myfolder/public_html/qa/qa-include/app/users.php on line 146

[22-Mar-2015 10:01:49 Europe/Helsinki] PHP Warning:  session_start(): Cannot send session cache limiter - headers already sent (output started at /home/myfolder/public_html/qa/qa-include/ajax/asktitle.php:76) in /home/myfolder/public_html/qa/qa-include/app/users.php on line 146

[22-Mar-2015 10:01:53 Europe/Helsinki] PHP Warning:  session_start(): Cannot send session cache limiter - headers already sent (output started at /home/myfolder/public_html/qa/qa-include/ajax/asktitle.php:76) in /home/myfolder/public_html/qa/qa-include/app/users.php on line 146

[22-Mar-2015 10:01:58 Europe/Helsinki] PHP Warning:  session_start(): Cannot send session cache limiter - headers already sent (output started at /home/myfolder/public_html/qa/qa-include/ajax/asktitle.php:76) in /home/myfolder/public_html/qa/qa-include/app/users.php on line 146

This warning is logged when a new a question is posted.
Q2A version: 1.7
Language: Turkish

Help, please.
Q2A version: 1.7

1 Answer

+1 vote
by

Fixed by https://github.com/q2a/question2answer/issues/440

Add 

     $userid = qa_get_logged_in_userid();

in the beginning of asktitle.php

...