1

7 months agoby Rama krishna

App\Models\Session::block must return a relationship instance

I am getting error in video 75 , App\Models\Session::block must return a relationship instance . how can i solve this error . I am using Laravel version 6 now . And when i click on the name of the user , its inserting block & blocked_by on create event itself and showing this error .This is happening on creating a session to the user for the 1st time . once the session is created i am not getting this error . Please reply me ASAP . I was stuck here .

https://i.udemycdn.com/redactor/raw/2019-11-28_13-19-34-9ff6a5f966c67515fd127ce4d449dd40.png

Please look into the screen shot .

Ask Question
Most Visited
Categories