this is how my checkout compopnent looks like
Oct 12, 2022
5
Level 1
"trying to access array offset on value of type null $order->subtotal = session()->get('checkout')['subtotal'];
Hello Guys i've been following this Laravel/livewire E-Commerce series and i ecountered this frustrating error. Everything seems to be oky with the code but each time i click on the place order button from my checkout page, it raises a "trying to access array offset on value of type null ['subtotal']". i really dont know what to do. i am kinda a newbie. will really appreciate if someone helps me out. thanks.
Please or to participate in this conversation.