Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

thefluidapp's avatar

Error on Install Composer Dependencies Step

I am having this issue on Install Composer Dependencies step. Here is the error below. I have searched the internet with no success. I have put in a Envoyer ticket with no response. Thanks in advance for your help!

Using global Composer installation. Loading composer repositories with package information Installing dependencies from lock file Package operations: 50 installs, 0 updates, 0 removals

  • Installing doctrine/lexer (v1.0.1): Loading from cache
  • Installing doctrine/inflector (v1.1.0): Loading from cache
  • Installing doctrine/collections (v1.4.0): Loading from cache
  • Installing doctrine/cache (v1.6.1): Loading from cache
  • Installing doctrine/annotations (v1.4.0): Loading from cache
  • Installing doctrine/common (v2.7.2): Loading from cache
  • Installing erusev/parsedown (1.6.2): Loading from cache
  • Installing psr/http-message (1.0.1): Loading from cache
  • Installing guzzlehttp/psr7 (1.4.2): Loading from cache
  • Installing guzzlehttp/promises (v1.3.1): Loading from cache
  • Installing guzzlehttp/guzzle (6.2.3): Loading from cache
  • Installing jakub-onderka/php-console-color (0.1): Loading from cache
  • Installing vlucas/phpdotenv (v2.4.0): Loading from cache
  • Installing symfony/css-selector (v3.2.7): Loading from cache
  • Installing tijsverkoyen/css-to-inline-styles (2.2.0): Loading from cache
  • Installing symfony/polyfill-mbstring (v1.3.0): Loading from cache
  • Installing symfony/var-dumper (v3.2.7): Loading from cache
  • Installing symfony/routing (v3.2.7): Loading from cache
  • Installing symfony/process (v3.2.7): Loading from cache
  • Installing symfony/http-foundation (v3.2.7): Loading from cache
  • Installing symfony/event-dispatcher (v3.2.7): Loading from cache
  • Installing psr/log (1.0.2): Loading from cache
  • Installing symfony/debug (v3.2.7): Loading from cache
  • Installing symfony/http-kernel (v3.2.7): Loading from cache
  • Installing symfony/finder (v3.2.7): Loading from cache
  • Installing symfony/console (v3.2.7): Loading from cache
  • Installing swiftmailer/swiftmailer (v5.4.6): Loading from cache
  • Installing paragonie/random_compat (v2.0.10): Loading from cache
  • Installing ramsey/uuid (3.6.1): Loading from cache
  • Installing symfony/translation (v3.2.7): Loading from cache
  • Installing nesbot/carbon (1.22.1): Loading from cache
  • Installing mtdowling/cron-expression (v1.2.0): Loading from cache
  • Installing monolog/monolog (1.22.1): Loading from cache
  • Installing league/flysystem (1.0.41): Loading from cache
  • Installing laravel/framework (v5.4.18): Loading from cache
  • Installing symfony/psr-http-message-bridge (v1.0.0): Loading from cache
  • Installing berkayk/onesignal-laravel (v0.9.7): Loading from cache
  • Installing laravel-notification-channels/onesignal (1.0.1): Loading from cache
  • Installing nikic/php-parser (v3.0.5): 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.8.3): Loading from cache
  • Installing laravel/tinker (v1.0.0): Loading from cache
  • Installing orangehill/iseed (v2.3.1): Loading from cache
  • Installing doctrine/dbal (v2.5.12): Loading from cache
  • Installing larapack/doctrine-support (v0.1.1): Loading from cache
  • Installing intervention/image (2.3.11): Loading from cache
  • Installing arrilot/laravel-widgets (3.7.0): Loading from cache
  • Installing tcg/voyager (v0.11.10): Loading from cache
  • Installing webpatser/laravel-uuid (2.0.1): Loading from cache Generating autoload files

Illuminate\Foundation\ComposerScripts::postInstall php artisan optimize

[ErrorException] Invalid argument supplied for foreach()

Content-type: text/html; charset=UTF-8

Script php artisan optimize handling the post-install-cmd event returned with error code 1

0 likes
1 reply

Please or to participate in this conversation.