6

Actual Error Message is

Argument 1 passed to Symfony\Component\VarDumper\Server\Connection::__const ruct() must be of the type string, null given, called in C:\xampp\htdocs\pa fg.com.bd\vendor\beyondcode\laravel-dump-server\src\DumpServerServiceProvid er.php on line 49 

I setup my Existing Laravel Project in New PC (Machine). But, After complete all of the process i'm unable to run the project because of the mention error above.

0

1 Answer 1

19

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

Sign up to request clarification or add additional context in comments.

2 Comments

I have deleted cached config.php as you said but the issue was still there. I m using Laravel 8.51.
Simple restart your server hope the issue will be solve

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.