Hii , I am trying to update a column for which i m getting erro cannot use object as array ,i followed the docs an implemted below code but dont know what problem is :
$add_voting = new Voting();
$add_voting->setRating($_POST[‘ml’]);
Converting the object to array is also not helping as it returns “Unable to save object”.IDK why it is not saving the object as the docs are given as it is.