EDIT: Nevermind, I found the culprit: Pusher was set up incorrectly. Feel free to delete/lock this topic.
Hello,
Whenever I do any action, like creating a topic, replying, liking, upvoting, downvoting, etc. I get this error on the bottom left of the screen:
Oops! Something went wrong. Please reload the page and try again."
Even though when I do reload the changes apply.
Any idea what might be causing this?
200
POST https://sonic-city.net/flarum/public/api/posts/2
<br />
<b>Deprecated</b>: hash_hmac(): Passing null to parameter #3 ($key) of type string is deprecated in <b>/home/soniccit/public_html/flarum/vendor/pusher/pusher-php-server/lib/Pusher.php</b> on line <b>400</b><br />
<br />
<b>Fatal error</b>: Uncaught Laminas\HttpHandlerRunner\Exception\EmitterException: Unable to emit response; headers already sent in /home/soniccit/public_html/flarum/vendor/pusher/pusher-php-server/lib/Pusher.php:400 in /home/soniccit/public_html/flarum/vendor/laminas/laminas-httphandlerrunner/src/Exception/EmitterException.php:15
Stack trace:
#0 /home/soniccit/public_html/flarum/vendor/laminas/laminas-httphandlerrunner/src/Emitter/SapiEmitterTrait.php(38): Laminas\HttpHandlerRunner\Exception\EmitterException::forHeadersSent('/home/soniccit/...', 400)
#1 /home/soniccit/public_html/flarum/vendor/laminas/laminas-httphandlerrunner/src/Emitter/SapiEmitter.php(21): Laminas\HttpHandlerRunner\Emitter\SapiEmitter->assertNoPreviousOutput()
#2 /home/soniccit/public_html/flarum/vendor/laminas/laminas-httphandlerrunner/src/RequestHandlerRunner.php(75): Laminas\HttpHandlerRunner\Emitter\SapiEmitter->emit(Object(Flarum\Api\JsonApiResponse))
#3 /home/soniccit/public_html/flarum/vendor/flarum/core/src/Http/Server.php(45): Laminas\HttpHandlerRunner\RequestHandlerRunner->run()
#4 /home/soniccit/public_html/flarum/public/index.php(26): Flarum\Http\Server->listen()
#5 {main}
thrown in <b>/home/soniccit/public_html/flarum/vendor/laminas/laminas-httphandlerrunner/src/Exception/EmitterException.php</b> on line <b>15</b><br />