Hello, after creating an array and assigning it to a variable in session:
$order = array ();
$order['token'] = 'token';
$order['product'] = 'product-name';
$session->order = $order;
I try to insert another item:
$session->order['price'] = 'price';
But it doesn't work:
Notice: Indirect modification of overloaded property ProcessWire\Session::$order has no effect in...
Isn't possible to modify such session variable? I could build another array from the session variable, add the new item, and then store it again in session, but doesn't looks good.