Hi, when i execute the bellow co i am getting an error like this:
Notice: Trying to access array offset on value of type bool in C:\xampp\htdocs\vote\models\DhaairaaList.php on line 3174
// Row Custom Action event
function Row_CustomAction($action, $row)
{
if ($action == "updat" ){
$ibu_vote_reporting = ExecuteRow("SELECT * FROM votereporting WHERE id = (SELECT MAX(id) FROM votereporting WHERE Island = '".$row["Island"]."' && DhaairaCode = '".$row["DhaairaCode"]."')");
$ibu_vote_rep_update = ExecuteStatement("UPDATE dhaairaa SET Ibu = '$ibu_vote_reporting[Ibu]', No = '$ibu_vote_reporting[No]' WHERE Island = '".$row["Island"]."' && DhaairaCode = '".$row["DhaairaCode"]."'");
$this->setSuccessMessage("Updated");
return true;
}
}
can you pls. let me know what the error is.