Level 32
Never mind, I didn't realise one of the packages I was pulling in was pulling in a 'dev-master' version, which was causing the issue. As soon as I changed to a more stable (actual) version it deployed with no issues.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
When I deploy through composer I get the following message during the Install Composer Dependencies section...
- Installing swiftmailer/swiftmailer (v5.4.1)
Loading from cache
- Installing jakub-onderka/php-console-color (0.1)
Loading from cache
- Installing jakub-onderka/php-console-highlighter (v0.3.2)
Loading from cache
- Installing dnoegel/php-xdg-base-dir (0.1)
Loading from cache
- Installing psy/psysh (v0.5.2)
Loading from cache
[ErrorException]
Undefined property: Composer\Util\Filesystem::$filesystem
install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-plugins] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--ignore-platform-reqs] [packages1] ... [packagesN]
Any ideas, or know how to fix it?
I've already tried composer clear-cache, but that doesn't seem to go anything either, it still throws the same error.
Never mind, I didn't realise one of the packages I was pulling in was pulling in a 'dev-master' version, which was causing the issue. As soon as I changed to a more stable (actual) version it deployed with no issues.
Please or to participate in this conversation.