Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
PHP Fatal error: Uncaught Error: Call to undefined method Symfony\Component\Process #37
First of all, thank you for this great WP CLI script. Really hope to get it running on our system. Running the following command:
On this machine:
Which results in this error:
The install went as following:
Although I see
I am unsure how to check if the symfony/process is loaded. However checking the /vendor/symfony/process/ path the php scripts are installed.
Running the install command an second time gives no warnings or errors. I assume the correct version is installed.
EDIT: The process component Changlog states 4.2.0.
I manually downloaded symfony/process 4.2.3 and replaced the old version. I uploaded an new image and tried to optimize it but it fails with the same error.
I bumped into the same error as you
could you please detail what changes have you made ?
what last patch, and what file have you edited ?
the file to edit is
It works indeed, but I haven't "downgraded to last patch (which is ?)