Laravel-todo-app icon indicating copy to clipboard operation
Laravel-todo-app copied to clipboard

Error on clicking dashboard

Open sirkaranja opened this issue 3 years ago • 1 comments
trafficstars

after registering a new user I get an error

App\Models\User::tasks must return a relationship instance, but "null" was returned. Was the "return" keyword used? (View: E:\todo\resources\views\dashboard.blade.php)

sirkaranja avatar Jun 27 '22 14:06 sirkaranja

Can you share the screenshot of your TasksController.php

parthp1808 avatar Jul 19 '22 04:07 parthp1808