Skip to content
This repository was archived by the owner on Feb 7, 2025. It is now read-only.

VoyagerBreadController.php line 37 : Trying to get property of non-object #39

Closed
olipiskandar opened this issue Nov 1, 2016 · 4 comments

Comments

@olipiskandar
Copy link

can you fix this ?

@fletch3555
Copy link
Collaborator

Did you run php artisan voyager:install?

I was able to work around a similar error (different line number, same message) by making sure the roles were imported BEFORE any users during a db migration/seed, since Voyager has a "created" listener for users that sets the default role to "user".

If that doesn't sound related to what you're doing, then please provide more information, such as the full stacktrace from the logs, whether you're running Voyager OOTB or if you added it to an existing project, and any modifications you may have made.

@qcol
Copy link

qcol commented Nov 1, 2016

I have the same error. It happened when created custom table and added Bread to it. After this operation, error occurs on dashboard page:

VoyagerBreadController.php line 37 : Trying to get property of non-object

When deleted Bread - everything works fine again.

@aroon9002ahmed
Copy link

i have same error
FatalErrorException in VoyagerBreadController.php(37) : eval()'d code line 1:
Class 'App\products' not found

@github-actions
Copy link
Contributor

This issue has been automatically locked since there has not been any recent activity after it was closed. If you have further questions please ask in our Slack group.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants