-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Call to a member function get() on null #82
Comments
Did you ever find a solution to this except for downgrading? |
I think I'll have another look on this Used this Plugin(1.1.1) in another Projekt (Laravel 8.26.1, Nova 3.21.0) and everything works fine. However i just tried again (in the Projekt with the Problem) and even though the Laravel and Nova Versions are the same i get the mentioned error. The implementation in the Resource looks the same. |
@dillingham Please let me know if you'd rather I open a separate issue for this. In my implementation, AttachMany works for one model (Users) but not for another in the same resource.
This works.
This only works partially, as the Users model works fine but the next one returns null. |
Specs:
Laravel 7.x
Nova 3.x
Problems
When upgrading the Plugin to Version
1.1.x
we get the following Exception.We downgraded again to
1.0.11
with which everything works as expected.This happens in Version
1.1.1
and1.1.0
Nova Resource Part
Eloquent Relation Part
The text was updated successfully, but these errors were encountered: