Generally this “Trying to get property of non-object” error is occurred while trying to access an array as an object.
Make sure all the retrieved data from table are not array.
4
solved Trying to get property of non-object (View: C:\xampp\htdocs\enginepoker2\resources\views\pages\player_edit.blade.php)