The issue
I'm trying to add the PWA option to my Flarum forum. However, when I try to upload the icon which it says it's required in order to enable the PWA, it says: Oops! Something went wrong. Please reload the page and try again.
In the requests tab I can see it says 500 Internal Server Error. POST https://forum.magjistratura.edu.al/flarum/public/api/pwa/logo/72 500 (Internal Server Error) from requests.js
(anonymous) @ request.js:171
(anonymous) @ request.js:23
(anonymous) @ request.js:22
e.request @ Application.tsx:518
(anonymous) @ UploadImageButton.js:49
dispatch @ jquery.js:5430
v.handle @ jquery.js:5234
Flarum information
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
Flarum core: 1.8.1
PHP version: 8.0.29
MySQL version: 5.7.42
Loaded extensions: Core, date, libxml, openssl, pcre, zlib, filter, hash, json, pcntl, readline, Reflection, SPL, session, standard, bcmath, calendar, ctype, curl, dom, ftp, gd, iconv, imap, mbstring, mysqlnd, PDO, Phar, posix, SimpleXML, sockets, sqlite3, tokenizer, xml, xmlwriter, xsl, zip, mysqli, pdo_mysql, pdo_sqlite, xmlreader
+----------------------+---------+--------+
| Flarum Extensions | | |
+----------------------+---------+--------+
| ID | Version | Commit |
+----------------------+---------+--------+
| flarum-flags | v1.8.0 | |
| flarum-approval | v1.8.0 | |
| flarum-tags | v1.8.0 | |
| flarum-suspend | v1.8.0 | |
| flarum-subscriptions | v1.8.0 | |
| flarum-sticky | v1.8.0 | |
| flarum-statistics | v1.8.0 | |
| flarum-mentions | v1.8.1 | |
| flarum-markdown | v1.8.0 | |
| flarum-lock | v1.8.0 | |
| flarum-likes | v1.8.0 | |
| flarum-lang-english | v1.8.0 | |
| flarum-emoji | v1.8.0 | |
| flarum-bbcode | v1.8.0 | |
| askvortsov-pwa | v3.3.3 | |
+----------------------+---------+--------+
Base URL: https://forum.magjistratura.edu.al/flarum/public
Installation path: /home/magjistra/public_html/forum.magjistratura.edu.al/flarum
Queue driver: sync
Session driver: file
Mail driver: mail
Debug mode: off