phplee
Ive followed all the instructions and when i select a plan. i get
'The selected tariff added to cart .'
But the cart also says it empty?
any help would be great guys,,,
phplee
After much searching in the code the kerb.php component is trying to get the user id by:
Auth::getUser()->id
However for some strange reason return nothing. but if i try this as a test it returns name ok:
Auth::getUser()->name
any ideas why Auth::getUser()->id isn't working?
thanks
phplee
for the record, I've solved it. it was actually due to me using die() when i was debugging the 'Plans' plugin. it wouldn't return 'id' for some strange reason. echo worked fine.
die( Auth::getUser()->id)
Last updated
1-3 of 3