Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

jpbourdon's avatar

Php artisan return null

I don't know if it's link by I don't have any problem before update Php Storm (2016.2) but now every php artisan command return null ! Any idea ? Thanks...

0 likes
6 replies
jpbourdon's avatar

Thanks Tomi but no result. Very strange because I have another 5.2 project and artisan work well...

jpbourdon's avatar

Thanks Toni for your support. Because it was a new project I reinstall it and I have no problem. I suppose I made a bad manipulation somewhere. No time to search a lot.

aacssh's avatar

Although it's a year old post, I am sharing my experience which is similar to this question. Same happened to me. Everytime I run 'php artisan' command it returned null.

Later I realized that it was returning the value of an environment variable I dumped with method 'dd()' some somewhere in my code. Just removing that line of code made everything normal. Hope this helps. Thank you.

5 likes

Please or to participate in this conversation.