I have an application using Laravel 5.1 and several cron jobs. It's hosted on a centos6 server using PHP 5.6. This app has been running on this server since Friday without any issues and then when I log in to check today, I have many instances of this error logged in my Laravel logs.
production.ERROR: exception 'ErrorException' with message 'Invalid argument supplied for foreach()' in /vendor/symfony/console/Input/ArgvInput.php:279
In addition, all of the cron jobs on the site stopped working. After doing some research on the issue, it was suggested that I set register_argc_argv = On
in the ini for php. I have done this, but to no avail. I also updated composer to see if it would correct itself - but again nothing.