I have a laravel application deployed on a kubernetes cluster when i try to use laravel tinker im getting below error after hitting enter for every command
ErrorException with message 'Undefined variable: status'
on my local machine there is no such problem at all
im stuck at debuggin this. how can i get error trace to find out where this is happening
Laravel 5.6 Psy Shell v0.9.12 (PHP 7.1.33 — cli)
After many hours digging in psysh source code, i found the problem.
i had some pcntl_xxx
functions disabled in my php.ini file, removed them and everything works fine now.
by the way, for anyone interested the exact path of where this error happened :
in vendor/psy/psysh/src/ExecutionLoop/ProcessForker.php
file look for private function called createSavegame()