Lately I’ve been experience a bug where it gives me this error message when I click on the sorting button on one of my grids:
Of course I took the liberty of taking a little peek into the source code where the line throwing the error is:
<?php echo nmButtonOutput($this->arr_buttons, "bcancelar", "scBtnOrderCamposHide('" . $this->tbar_pos . "')", "scBtnOrderCamposHide('" . $this->tbar_pos . "')", "Bsair1", "", "", "", "absmiddle", "", "0px", $path_btn, "", "", "", "", "", "only_text", "text_right", "", "");
?>
Whilst a couple of lines above that it uses $tbar_pos instead of $this->tbar_pos. However no ‘luck’ in trying to reproduce to problem as of now.
Now of course I can just remake the grid but that’d take quite the amount of time so I was hoping someone might have a fix.
EDIT: Nevermind it doesn’t seem to be up to the $this suddenly in front of the tbar pos as removing it when deployed doesn’t fix it