valet-linux
valet-linux copied to clipboard
using valet share
ngrok by @inconshreveable (Ctrl+C to quit)
Session Status online
Account farhan novian (Plan: Free)
Version 2.3.40
Region United States (us)
Web Interface http://127.0.0.1:4040
Forwarding http://e4f2-180-244-135-158.ngrok.io -> http://test.test:80
Forwarding https://e4f2-180-244-135-158.ngrok.io -> http://test.test:80
Connections ttl opn rt1 rt5 p50 p90 PHP Fatal error: Uncaught TypeError: Symfony\Component\Console\Output\Output::writeln(): Argument #1 ($messages) must be of type iterable|string, null given, 0 0 0.00 0.00 0.00 0.00 udes/helpers.php on line 68 and defined in /home/zennovian/.config/composer/vendor/symfony/console/Output/Output.php:97
Stack trace:
#0 /home/zennovian/.config/composer/vendor/cpriego/valet-linux/cli/includes/helpers.php(68): Symfony\Component\Console\Output\Output->writeln()
#1 /home/zennovian/.config/composer/vendor/cpriego/valet-linux/cli/valet.php(281): output()
#2 [internal function]: Silly\Application->{closure}()
#3 /home/zennovian/.config/composer/vendor/php-di/invoker/src/Invoker.php(74): call_user_func_array()
#4 /home/zennovian/.config/composer/vendor/mnapoli/silly/src/Application.php(96): Invoker\Invoker->call()
#5 /home/zennovian/.config/composer/vendor/symfony/console/Command/Command.php(310): Silly\Application->Silly{closure}()
#6 /home/zennovian/.config/composer/vendor/symfony/console/Application.php(1020): Symfony\Component\Console\Command\Command->run()
#7 /home/zennovian/.config/composer/vendor/symfony/console/Application.php(312): Symfony\Component\Console\Application->doRunCommand()
#8 /home/zennovian/.config/composer/vendor/symfony/console/Application.php(168): Symfony\Component\Console\Application->doRun()
#9 /home/zennovian/.config/composer/vendor/cpriego/valet-linux/cli/valet.php(408): Symfony\Component\Console\Application->run()
#10 {main}
thrown in /home/zennovian/.config/composer/vendor/symfony/console/Output/Output.php on line 97

which version of php?
that line is refered to Symfony\Component\Console\Output\ConsoleOutput maybe that library was updated...
I have the same issue using PHP 8.1
Can confirm that the error goes away when using PHP 8.0 - this suggests that the valet share command does not support PHP 8.1 or PHP 8.2.
I have the same issue using PHP 8.2