You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 2, 2022. It is now read-only.
Argument 1 passed to Symfony\Component\Process\Process::__construct() must be of the type array, string given, called in /laravel/vendor/binarytorch/blogged/src/Commands/InstallCommand.php on line 55
solution
update file /laravel/vendor/binarytorch/blogged/src/Commands/InstallCommand.php on line 55
with below code.
$process = new Process([$composer.'dump-autoload']);
Describe the bug
The install command fails with a TypeError caused by wrong
Process()
parameter usage here (it expects an array as first parameter):blogged/src/Commands/InstallCommand.php
Line 55 in 4c7d12b
To Reproduce
Steps to reproduce the behavior:
php artisan blogged:install
in a fresh Laravel 7.x installation.Expected behavior
The execution of
composer dump-autoload
.Screenshots
If applicable, add screenshots to help explain your problem.
The error occures at least with Laravel 7.x because it uses Symfony Process 5.x which requires the array usage as descripted here:
https://symfony.com/doc/5.0/components/process.html#usage
The text was updated successfully, but these errors were encountered: