Try this open terminal go to ur project folder and type composer dump-autoload
kunalcoder23 said:
Try this open terminal go to ur project folder and type composer dump-autoload
Tried both composer dump-autoload and artisan cache-clear and no luck.
To anyone stuck as well, this is how I fixed my problem:
Replaced the following in the Service Provider:
$this->validator = $app['validator']->make($app->request->all(), $request->rules(), $request->messages());
With:
$this->validator = Validator::make($app->request->all(), $request->rules(), $request->messages());
And be sure to add the following to the top of the file:
use Validator;
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community