thecodeholic/laravel-vue-ecommerce

Attempt to read property \"id\" on null

seanlunar opened this issue · 4 comments

on the administrator side orders view are showing blank with id on null, how can i fix this also showing error 500 from database but everythong else is working just. fine
Screenshot 2022-11-26 at 11 13 22 AM

I think that happens when the order is made on customer which does not have addresses.
I plan to restrict making order on the customer if the customer does not have addresses and that will fix the issues.

Thank you. that was exactly the problem.,
i love your work Simple but perfect

Thanks a lot. Let's leave the issue open until I restrict making an order if the address information is not provided on customer.

I've opened PR which should fix this #6