laravel-vue-ecommerce icon indicating copy to clipboard operation
laravel-vue-ecommerce copied to clipboard

Attempt to read property \"id\" on null

Open seanlunar opened this issue 3 years ago • 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

seanlunar avatar Nov 26 '22 09:11 seanlunar

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.

thecodeholic avatar Nov 26 '22 09:11 thecodeholic

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

seanlunar avatar Nov 26 '22 09:11 seanlunar

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

thecodeholic avatar Nov 26 '22 09:11 thecodeholic

I've opened PR which should fix this https://github.com/thecodeholic/laravel-vue-ecommerce/pull/6

mandixx avatar Dec 19 '22 14:12 mandixx