The issue
When trying to install any extension I'm getting this error:
In JsonFile.php line 375:
"https://flarum.org" does not contain valid JSON
Parse error on line 1:
<...
^
Expected one of: 'STRING', 'NUMBER', 'NULL', 'TRUE', 'FALSE', '{', '['
It looks like soemthing is broken. Checked logs and enabled debug, there's no additional info that will help in troubleshooting.
Any help?
Flarum information
php flarum info
Flarum core: 1.8.5
PHP version: 8.2.22
MySQL version: 10.11.8-MariaDB-ubu2204
Loaded extensions: Core, date, libxml, openssl, pcre, zlib, dom, enchant, FFI, filter, gmp, hash, json, pcntl, random, Reflection, SPL, session, standard, mysqlnd, PDO, readline, xml, xmlreader, xmlwriter, bcmath, bz2, calendar, ctype, curl, mbstring, fileinfo, ftp, gd, gettext, iconv, igbinary, imagick, imap, intl, exif, memcache, memcached, msgpack, mysqli, pdo_mysql, pdo_sqlite, Phar, posix, pspell, realpath_turbo, redis, relay, shmop, SimpleXML, soap, sockets, sodium, sqlite3, swoole, sysvmsg, sysvsem, sysvshm, tidy, timezonedb, tokenizer, xmlrpc, xsl, zip, Zend OPcache
+-----------------------------------+---------+--------+
| Flarum Extensions | | |
+-----------------------------------+---------+--------+
| ID | Version | Commit |
+-----------------------------------+---------+--------+
| flarum-flags | v1.8.0 | |
| flarum-tags | v1.8.0 | |
| flarum-approval | v1.8.1 | |
| flarum-suspend | v1.8.1 | |
| flarum-mentions | v1.8.3 | |
| flarum-subscriptions | v1.8.0 | |
| fof-user-directory | 1.3.3 | |
| fof-follow-tags | 1.2.2 | |
| flarum-nicknames | v1.8.0 | |
| fof-pages | 1.0.8 | |
| fof-impersonate | 1.1.1 | |
| flarum-markdown | v1.8.0 | |
| zerosonesfun-direct-links | 3.1 | |
| v17development-seo | v1.8.0 | |
| michaelbelgium-discussion-views | v7.2.1 | |
| malago-ads | 0.3.2 | |
| justoverclock-feedback | 0.1.9 | |
| justoverclock-edit-posts | 0.1.1 | |
| ianm-synopsis | 1.3.2 | |
| ianm-follow-users | 1.4.4 | |
| glowingblue-password-strength | 4.0.0 | |
| fof-username-request | 1.2.4 | |
| fof-user-bio | 1.3.2 | |
| fof-upload | 1.5.4 | |
| fof-subscribed | 1.1.4 | |
| fof-split | 1.1.1 | |
| fof-sitemap | 2.2.1 | |
| fof-reactions | 1.3.5 | |
| fof-pwned-passwords | 1.1.1 | |
| fof-profile-image-crop | 1.1.6 | |
| fof-moderator-notes | 1.2.2 | |
| fof-merge-discussions | 1.4.1 | |
| fof-links | 1.2.2 | |
| fof-forum-statistics-widget | 1.2.1 | |
| fof-formatting | 1.0.3 | |
| fof-disposable-emails | 1.0.0 | |
| fof-default-user-preferences | 1.2.1 | |
| fof-default-group | 1.1.2 | |
| fof-custom-footer | 1.1.2 | |
| fof-byobu | 1.3.5 | |
| fof-best-answer | 1.4.1 | |
| flarum-sticky | v1.8.0 | |
| flarum-statistics | v1.8.0 | |
| flarum-lock | v1.8.0 | |
| flarum-likes | v1.8.0 | |
| flarum-lang-english | v1.8.0 | |
| flarum-extension-manager | v1.0.1 | |
| flarum-emoji | v1.8.0 | |
| flarum-bbcode | v1.8.0 | |
| clarkwinkelmann-status | 1.0.0 | |
| clarkwinkelmann-create-user-modal | 1.3.1 | |
| clarkwinkelmann-author-change | 1.0.3 | |
| askvortsov-moderator-warnings | v0.6.3 | |
| askvortsov-checklist | v1.3.1 | |
+-----------------------------------+---------+--------+
Base URL: https://discussions.rsdasa.com
Installation path: /home/runcloud/webapps/discussions-rsdasa-com
Queue driver: sync
Session driver: file
Scheduler status: core.admin.dashboard.status.scheduler.never-run
Mail driver: smtp
Debug mode: off