Support the ongoing development of Laravel.io →
posted 10 years ago
Requests

Hi all

I'm having a really weird issue that I haven't been able to solve yet. Random x's appear in the output of artisan (CLI) in both Windows & Linux (same code). For example:

php artisan serve
xLaravel development server started on http://localhost:8000

Like, when I make a typo, it outputs:

php artisan typo
x
  [InvalidArgumentException]
  Command "typo" is not defined.

They always do in json responses, like so: (json responses don't even have anything to do with artisan, do they?)

x{"message":"Not found","status_code":404}

I have this issue both on my Windows pc running the development server and my Linux server running Apache2. I really have no clue where this may come from and haven't found other people with the same problem. Can't find any mistaken "x" in the code or something.

Any help would be highly appreciated. Thanks!

Btw: couldn't find a "response" tag or something more relevant than "requests". Sorry!

Last updated 3 years ago.
0

Uhm... I feel kinda stupid now! :D Came across this question: http://stackoverflow.com/questions/25696488/laravel-b-character-on-version-4-1-x Seems like the same problem, and the answer to that fixed it for me... He mentioned it could be that the character was put before the <?php tag, so I searched for "x<?php" and indeed, there it was! Haha...

Last updated 3 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

deanwyns deanwyns Joined 31 Oct 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.