Same here. All of a sudden none of the scope methods in my models are working. Also, the first() method does not seem to be working either. Here's one of the exceptions I'm seeing below:
[2014-02-28 10:37:12] production.ERROR: exception 'BadMethodCallException' with message 'Call to undefined method Illuminate\Database\Query\Builder::type()' in ///***/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:189
Edit: I use Eloquent for all models.
thanks tampadesign. If i replace "return call_user_func_array" by "call_user_func_array", it works!
Can i let it like that for the moment?
What I did was set my composer to use the last stable release (v4.1.22) and ran a composer update to revert back to that version. Everything works again for me after it finished.
So, pretty much just stick to the stable releases to avoid problems like this. :)
Where do you find the name of the last laravel stable release?
https://github.com/laravel/framework
Near the top, there is a numbered releases link (currently '37 Releases'). Click that and the last stable release should be at the top of the next page. To save you some time, here's the direct link: https://github.com/laravel/framework/releases
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community