-
Notifications
You must be signed in to change notification settings - Fork 585
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
Trying to get property 'image' of non-object #108
Comments
Could be something to do with laravel-ecommerce-example/resources/views/checkout.blade.php Lines 136 to 152 in 983ed29
Maybe try wrapping @if($item->model)
...
@endif If this fixes your problem there's likely still an underlying issue such as a missing foreign key. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, I am currently facing an issue where I click proceed to checkout using a user account that are not in my first entry in the user table. I am unable to load the checkout page and with an error message " Trying to get property 'image' of non-object".
When I use guest checkout or the user account of the first entry of my user table, I have no such issues and I am able to do my checkout and all.
Does anyone have any idea what is causing this?
The text was updated successfully, but these errors were encountered: