Laravel 5.2 Chatter Forum Package errors
Hi, I am using your chatter forum in laravel 5.2 and it gives me the following error. "Type error: Argument 2 passed to DevDojo\Chatter\Events\ChatterBeforeNewDiscussion::__construct() must be an instance of Illuminate\Support\Facades\Validator, instance of Illuminate\Validation\Validator given, called in /home/mahmood/work/aalaauddin/vendor/devdojo/chatter/src/Controllers/ChatterDiscussionController.php on line 66" Can please someone please help?
Dear Mohamud-ibrahim-1, go to vendor/devdojo/src/Events/ChatterBeforeNewDiscussion.php and in the construct delete the validator param, the same with this $this->validator = $validator; and you will able to do the comment with out validation. At least is a solution while the fix are documentated.
Thank you both. @Alex-anonim, your solution works thank you again