When I modify, I get this error ;
POST http://localhost/flarum/api/discussions
<br />
<b>Deprecated</b>: Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php://input stream instead. in <b>Unknown</b> on line <b>0</b><br />
<br />
<b>Warning</b>: Cannot modify header information - headers already sent in <b>Unknown</b> on line <b>0</b><br />
<br />
<b>Fatal error</b>: Uncaught exception 'RuntimeException' with message 'Unable to emit response; headers already sent' in C:\xampp\htdocs\flarum\vendor\zendframework\zend-diactoros\src\Response\SapiEmitter.php:31
Stack trace:
#0 C:\xampp\htdocs\flarum\vendor\zendframework\zend-diactoros\src\Server.php(170): Zend\Diactoros\Response\SapiEmitter->emit(Object(Flarum\Api\JsonApiResponse), 2)
#1 C:\xampp\htdocs\flarum\vendor\flarum\core\src\Http\AbstractServer.php(34): Zend\Diactoros\Server->listen()
#2 C:\xampp\htdocs\flarum\api.php(16): Flarum\Http\AbstractServer->listen()
#3 {main}
thrown in <b>C:\xampp\htdocs\flarum\vendor\zendframework\zend-diactoros\src\Response\SapiEmitter.php</b> on line <b>31</b><br />
I checked php.ini and there is no problem
When i using only xampp, i had not problem like that. But now im using xampp with ssh. So i mean i dont have problem when i install flarum manually. But when i install flarum with composer, that problem starts to happen.. Where is the problem? How can i solve that?