laravel - Argument 1 passed to SymfonyComponentVarDumperServerConnection::__construct() ... called in DumpServerServiceProvider.php on line 49

one text

Solution:

From innocenzi on GitHub:

the issue comes from the fact that the configuration was cached without the debug-server config.

Basically, the file bootstrap/cache/config.php doesn't contain the debug-server key. If you delete this file, you will most likely clear the error as well.

Solution:

Delete the file yourProject/bootstrap/cache/config.php

Source