sphinx Posted April 28, 2015 Share Posted April 28, 2015 Hi all, Does anyone know much about laravel regarding an error like this: Warning: Missing argument 1 for Illuminate\Foundation\Application::detectEnvironment(), called in /var/sites/m/meet.relatable.co.uk/public_html/bootstrap/start.php on line 27 and defined in /var/sites/m/meet.relatable.co.uk/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php on line 258 Warning: Invalid argument supplied for foreach() in /var/sites/m/meet.relatable.co.uk/public_html/vendor/laravel/framework/src/Illuminate/Foundation/EnvironmentDetector.php on line 42 Ta Quote Link to comment https://forums.phpfreaks.com/topic/295913-invalid-argument-supplied-for-foreach/ Share on other sites More sharing options...
joel24 Posted April 28, 2015 Share Posted April 28, 2015 Can you post the full trace? And can you check that your APP_ENV param is set in your /.env file and let us know what it is? Quote Link to comment https://forums.phpfreaks.com/topic/295913-invalid-argument-supplied-for-foreach/#findComment-1510174 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.