Hello @askvortsov ,when I turn on the extension, I can not post a new theme. For precisely the new theme has been post, but some errror has been reported.
200
POST https://www.mysite.com/api/discussions
<br />
<b>Warning</b>: [WebPush] gmp extension is not loaded but is required for sending push notifications with payload or for VAPID authentication. You can fix this in your php.ini. in <b>/var/www/flarum/vendor/minishlink/web-push/src/WebPush.php</b> on line <b>79</b><br />
<br />
<b>Warning</b>: Trying to access array offset on value of type bool in <b>/var/www/flarum/vendor/pusher/pusher-php-server/lib/Pusher.php</b> on line <b>582</b><br />
<br />
<b>Warning</b>: [WebPush] gmp extension is not loaded but is required for sending push notifications with payload or for VAPID authentication. You can fix this in your php.ini. in <b>/var/www/flarum/vendor/minishlink/web-push/src/WebPush.php</b> on line <b>79</b><br />
<br />
<b>Fatal error</b>: Uncaught Laminas\HttpHandlerRunner\Exception\EmitterException: Output has been emitted previously; cannot emit response in /var/www/flarum/vendor/laminas/laminas-httphandlerrunner/src/Exception/EmitterException.php:24
Stack trace:
#0 /var/www/flarum/vendor/laminas/laminas-httphandlerrunner/src/Emitter/SapiEmitterTrait.php(40): Laminas\HttpHandlerRunner\Exception\EmitterException::forOutputSent()
#1 /var/www/flarum/vendor/laminas/laminas-httphandlerrunner/src/Emitter/SapiEmitter.php(27): Laminas\HttpHandlerRunner\Emitter\SapiEmitter->assertNoPreviousOutput()
#2 /var/www/flarum/vendor/laminas/laminas-httphandlerrunner/src/RequestHandlerRunner.php(98): Laminas\HttpHandlerRunner\Emitter\SapiEmitter->emit()
#3 /var/www/flarum/vendor/flarum/core/src/Http/Server.php(44): Laminas\HttpHandlerRunner\RequestHandlerRunner->run()
#4 /var/www/flarum/public/index.php(26): Flarum\Http\Server->listen()
#5 {main}
thrown in <b>/var/www/flarum/vendor/laminas/laminas-httphandlerrunner/src/Exception/EmitterException.php</b> on line <b>24</b><br />
gmp
? but I am fali to install using sudo apt install php8.0-gmp