I use cron job to do some CRUD operation using laravel Task Scheduling. On localhost and on my Share-Hosting server it worked fine for months until recently I keep getting this error when I run cron job on my Share-Hosting server. I did not make any changes to the code on my Share-Hosting server.
But on localhost it works fine. Based on my finding online I have tried the following.
None of this fixed the issue. I am not sure of what next to try because the same project works fine on different Share-Hosting Server.
asked Jul 31, 2017 at 15:21
After many weeks of trying to resolve this error. The following fixes worked
Now, cron job runs smoothly. I hope this helps someone. answered Jul 31, 2017 at 15:33
SeunopeSeunope 4,6542 gold badges22 silver badges29 bronze badges 4 Laravel 6 and higher (proc_open Error)It is because of Flare error reporting service enabled in debug mode There is a workaround for this. Publish flare config file and in Set
answered Dec 21, 2019 at 13:07
Mahdi BashirpourMahdi Bashirpour 15k11 gold badges108 silver badges136 bronze badges 2 You can use this at your own risk:
rfay 7,50838 silver badges70 bronze badges answered Sep 15, 2020 at 11:42
Hadi NoteHadi Note 1,33616 silver badges15 bronze badges When Flare error reporting service enabled in debug mode you'll see this error The solution is: Publish flare config file
in config/flare.php Set:
answered Nov 6, 2019 at 17:02
For me removing cached version of config.php file solve problem(Laravel 6). go to bootstrap/cache/config.php and remove file. Also don't forget to change APP_URL to your domain address. PHP version should be as required by laravel version. for shared host if you can't change php.ini, you should use laravel 5.8. answered Sep 26, 2019 at 18:04
reza jafarireza jafari 90511 silver badges13 bronze badges 0 |