The issue
I'm trying to upgrade from Flarum 1.5, and I'm getting a raft of errors with pusher. Pusher is disabled, so I figured I should just uninstall it. But
composer remove flarum/pusher
gives me a PHP version error. I could probably get around the version error if I could upgrade flarum (since the only warnings are from pusher), but until I remove pusher I don't know how to do that. Can I uninstall pusher manually?
Results of
composer remove flarum/pusher:
./composer.json has been updated
Running composer update flarum/pusher
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- laminas/laminas-diactoros 2.17.0 requires php 7.4 8.0.0 8.1.0 -> your php version (8.2.7) does not satisfy that requirement.
- flarum/core v1.5.0 requires laminas/laminas-diactoros 2.4.1 -> satisfiable by laminas/laminas-diactoros[2.17.0].
- flarum/core is locked to version v1.5.0 and an update of this package was not requested.
Removal failed, reverting ./composer.json to its original content.
Removal failed, flarum/pusher is still present, it may be required by another package. See composer why flarum/pusher
.
I have upgraded composer with self-update
Flarum information
Post your output of php flarum info here. Without this information providing support will take longer!
Flarum core 1.5.0
PHP version: 8.2.7
MySQL version: 10.11.4-MariaDB-1deb12u1
Loaded extensions: Core, date, libxml, openssl, pcre, zlib, filter, hash, json, pcntl, random, Reflection, SPL, session, standard, sodium, mysqlnd, PDO, xml, calendar, ctype, dom, exif, FFI, fileinfo, ftp, gettext, iconv, mysqli, pdo_mysql, Phar, posix, readline, shmop, SimpleXML, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlwriter, xsl, Zend OPcache
+------------------------------+---------+--------+
| Flarum Extensions | | |
+------------------------------+---------+--------+
| ID | Version | Commit |
+------------------------------+---------+--------+
| flarum-suspend | v1.5.0 | |
| flarum-flags | v1.5.0 | |
| fof-pages | 1.0.4 | |
| flarum-tags | v1.5.0 | |
| fof-user-directory | 1.2.3 | |
| fof-upload | 1.2.3 | |
| fof-spamblock | 1.0.2 | |
| fof-sitemap | 2.0.1 | |
| fof-recaptcha | 1.1.0 | |
| fof-reactions | 1.1.2 | |
| fof-polls | 1.2.0 | |
| flarum-subscriptions | v1.5.0 | |
| flarum-sticky | v1.5.0 | |
| flarum-statistics | v1.5.0 | |
| flarum-mentions | v1.5.0 | |
| flarum-markdown | v1.5.0 | |
| flarum-lock | v1.5.0 | |
| flarum-likes | v1.5.0 | |
| flarum-lang-english | v1.5.0 | |
| flarum-emoji | v1.5.0 | |
| flarum-bbcode | v1.5.0 | |
| flarum-approval | v1.5.0 | |
| clarkwinkelmann-mass-actions | 1.1.2 | |
| blomstra-spam-prevention | 1.2.1 | |
+------------------------------+---------+--------+
Base URL: (removed)
Installation path: (removed)
Queue driver: sync
Mail driver: mail
Debug mode: off