The issue
When trying to install or update extensions I get this error in composer log: [Error]
Class "Symfony\Component\Finder\Iterator\FilenameFilterIterator" not found
Then site will return HTTP 500 error.
What could be the issue with my installation? Thanks.
Flarum information
Flarum core: 1.8.5
PHP version: 8.2.15
MySQL version: 10.5.23-MariaDB-cll-lve-log
Loaded extensions: Core, date, libxml, openssl, pcre, sqlite3, zlib, bz2, calendar, ctype, curl, hash, filter, ftp, gettext, json, iconv, SPL, pcntl, random, readline, Reflection, session, standard, mbstring, shmop, SimpleXML, tokenizer, xml, dom, fileinfo, gd, imagick, intl, exif, PDO,mysqlnd, mysqli, pdo_mysql, Phar, zip
+--------------------------+---------+--------+
| Flarum Extensions | | |
+--------------------------+---------+--------+
| ID | Version | Commit |
+--------------------------+---------+--------+
| flarum-flags | v1.8.0 | |
| flarum-tags | v1.8.0 | |
| flarum-approval | v1.8.1 | |
| v17development-seo | v1.8.0 | |
| nearata-twofactor | v2.2.1 | |
| hikarilan-passkey-login | 0.2 | |
| fof-sitemap | 2.2.1 | |
| fof-profile-image-crop | 1.1.6 | |
| fof-pretty-mail | 1.1.2 | |
| fof-nightmode | 1.5.3 | |
| fof-custom-footer | 1.1.2 | |
| flarum-suspend | v1.8.1 | |
| flarum-subscriptions | v1.8.0 | |
| flarum-sticky | v1.8.0 | |
| flarum-statistics | v1.8.0 | |
| flarum-nicknames | v1.8.0 | |
| flarum-mentions | v1.8.3 | |
| flarum-markdown | 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 | |
| blomstra-turnstile | 0.1.4 | |
| acpl-mobile-tab | 1.4.1 | |
+--------------------------+---------+--------+
Base URL: ***
Installation path: /home//*
Queue driver: sync
Session driver: file
Scheduler status: Never run
Mail driver: smtp
Debug mode: off
More logs
Running composer update fof/pages --with-all-dependencies
Loading composer repositories with package information
Updating dependencies
Lock file operations: 1 install, 13 updates, 0 removals
Upgrading doctrine/deprecations (1.1.2 => 1.1.3)
Locking fof/pages (1.0.8)
Upgrading symfony/config (v5.4.31 => v5.4.35)
Upgrading symfony/console (v5.4.34 => v5.4.35)
Upgrading symfony/css-selector (v7.0.0 => v7.0.3)
Upgrading symfony/event-dispatcher (v5.4.34 => v5.4.35)
Upgrading symfony/filesystem (v6.4.0 => v6.4.3)
Upgrading symfony/finder (v5.4.27 => v5.4.35)
Upgrading symfony/http-foundation (v5.4.34 => v5.4.35)
Upgrading symfony/mime (v5.4.26 => v5.4.35)
Upgrading symfony/process (v5.4.34 => v5.4.35)
Upgrading symfony/string (v6.4.2 => v6.4.3)
Upgrading symfony/translation (v5.4.31 => v5.4.35)
Upgrading symfony/yaml (v5.4.31 => v5.4.35)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 1 install, 13 updates, 0 removals
Downloading symfony/yaml (v5.4.35)
Downloading symfony/translation (v5.4.35)
Downloading symfony/mime (v5.4.35)
Downloading symfony/event-dispatcher (v5.4.35)
Downloading symfony/string (v6.4.3)
Downloading symfony/console (v5.4.35)
Downloading symfony/filesystem (v6.4.3)
Downloading symfony/config (v5.4.35)
Downloading symfony/finder (v5.4.35)
Downloading symfony/http-foundation (v5.4.35)
Downloading symfony/process (v5.4.35)
Downloading symfony/css-selector (v7.0.3)
Downloading doctrine/deprecations (1.1.3)
0/13 [>---------------------------] 0%
4/13 [========>-------------------] 30%
6/13 [============>---------------] 46%
9/13 [===================>--------] 69%
11/13 [=======================>----] 84%
13/13 [============================] 100%
Upgrading symfony/yaml (v5.4.31 => v5.4.35): Extracting archive
Upgrading symfony/translation (v5.4.31 => v5.4.35): Extracting archive
Upgrading symfony/mime (v5.4.26 => v5.4.35): Extracting archive
Upgrading symfony/event-dispatcher (v5.4.34 => v5.4.35): Extracting archive
Upgrading symfony/string (v6.4.2 => v6.4.3): Extracting archive
Upgrading symfony/console (v5.4.34 => v5.4.35): Extracting archive
Upgrading symfony/filesystem (v6.4.0 => v6.4.3): Extracting archive
Upgrading symfony/config (v5.4.31 => v5.4.35): Extracting archive
Upgrading symfony/finder (v5.4.27 => v5.4.35): Extracting archive
Upgrading symfony/http-foundation (v5.4.34 => v5.4.35): Extracting archive
Upgrading symfony/process (v5.4.34 => v5.4.35): Extracting archive
Upgrading symfony/css-selector (v7.0.0 => v7.0.3): Extracting archive
Upgrading doctrine/deprecations (1.1.2 => 1.1.3): Extracting archive
Installing fof/pages (1.0.8): Extracting archive
0/14 [>---------------------------] 0% Update of symfony/yaml failed
Update of symfony/translation failed
Update of symfony/mime failed
Update of symfony/event-dispatcher failed
Update of symfony/string failed
Update of symfony/filesystem failed
Update of symfony/config failed
Update of symfony/finder failed
Update of symfony/console failed
Update of symfony/http-foundation failed
Install of fof/pages failed
Update of symfony/process failed
Update of doctrine/deprecations failed
13/14 [==========================>-] 92% Update of symfony/css-selector failed
14/14 [============================] 100%
In Finder.php line 757:
[Error]
Class "Symfony\Component\Finder\Iterator\FilenameFilterIterator" not found