PHP Fatal error regarding Symfony
2023/05/08 17:24:35 [error] 29323#29323: *862 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Symfony\Component\Process\Exception\LogicException: Process must be started before calling "getErrorOutput()". in /var/www/Postmill/vendor/symfony/process/Process.php:1596
Stack trace:
#0 /var/www/Postmill/vendor/symfony/process/Process.php(1394): Symfony\Component\Process\Process->requireProcessIsStarted()
#1 /var/www/Postmill/vendor/symfony/process/Process.php(697): Symfony\Component\Process\Process->readPipesForOutput()
#2 /var/www/Postmill/vendor/symfony/dotenv/Dotenv.php(477): Symfony\Component\Process\Process->getErrorOutput()
#3 [internal function]: Symfony\Component\Dotenv\Dotenv->Symfony\Component\Dotenv\{closure}()
#4 /var/www/Postmill/vendor/symfony/dotenv/Dotenv.php(446): preg_replace_callback()
#5 /var/www/Postmill/vendor/symfony/dotenv/Dotenv.php(377): Symfony\Component\Dotenv\Dotenv->resolveCommands()
#6 /var/www/Postmill/vendor/symfony/dotenv/Dotenv.php(257): Symfony\Component\Dotenv\Dotenv->lexValue()
#7 /var/www/Postmill/vendor/symfony/dote" while reading response header from upstream, client: 127.0.0.1, server: _, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.2-fpm.sock
Edited by John Rupert