Problem line $cart->user_id=$pid->session()->get(\'sesuser\')[\'id\'];
description when i am create session the i am pass