Jesse Vlietveld
Jesse Vlietveld

Reputation: 393

Strange forward slash in 'clean' Laravel project

I was developing as usual on my Laravel project tweaking with the Queue driver settings in my .env file, when all of a sudden a random forward slash appeared at the top of my project which caused some random issues. I've cleared all cache's, routes, views etc but I am still getting the strange forward slash. I even get it in the console when I run a command. enter image description here

Every page: enter image description here

I assume its some kind of strange bug in Laravel. Hopefully someone can tell me whats the issue. Thanks in advance.

Upvotes: 0

Views: 438

Answers (1)

N69S
N69S

Reputation: 17205

check your files in the config folder: app.php, database.php, ... and also public/index.php and look for a \ before the <?php or if you closed it somewhere.

if you find nothing, lookout for an echo in those files. (on windows use grepwin for fast search)

Upvotes: 4

Related Questions