Laravel installation in Bluehost getting error Invalid argument supplied for foreach()? I try to host my Laravel application in BlueHost i follow this tutorial http://blog.stickyrice.net/archives/2014/laravel-putty-shared-hosting/comment-page-1/#comment-59468
i installed composer succesfully when i create new project in last line im getting this error
Generating autoload files
> php artisan clear-compiled
[ErrorException]
Invalid argument supplied for foreach()
Content-type: text/html
Script php artisan clear-compiled handling the post-install-cmd event returned w ith an error
[RuntimeException]
Error Output:
create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--r epository REPOSITORY] [--repository-url REPOSITORY-URL] [--dev] [--no-dev] [--no -plugins] [--no-custom-installers] [--no-scripts] [--no-progress] [--keep-vcs] [ --no-install] [--ignore-platform-reqs] [--] [<package>] [<directory>] [<version>
ERROR IMAGE LINK http://imgur.com/gallery/nWtpBN5/new my application running sucessfully but when i try to use php artisan command im getting same error
Sir sorry for tagging you but i hope you can help me on this @JeffreyWay
Dear sir @JeffreyWay sorry for tagging you and i solved this problem :)
after the Installation i manually use command like this
php-cli artisan clear-compiled
~~~
and i can access artisan command **php-cli artisan** insteed of **php artisan**
Thanks .
Please sign in or create an account to participate in this conversation.