I downloaded the Github zip that was current about ten days ago and installed it on a website. Today I tried switching the website to PHP8, but have run into a problem with the calc element.
Error messages:
Unsupported operand types: string + string
/plugins/fabrik_element/calc/calc.php(105) : eval()'d code:1
Unsupported operand types: string + string
/plugins/fabrik_element/calc/calc.php(315) : eval()'d code:1
number_format(): Argument #1 ($num) must be of type float, string given
plugins/fabrik_element/calc/calc.php(105) : eval()'d code:2
Reverted to PHP7.4 and it runs OK again.
Checked my calc.php against the version in Github and they are identical.
Is this an issue with calc.php or with what I've entered in the calc element for that table?
Error messages:
Unsupported operand types: string + string
/plugins/fabrik_element/calc/calc.php(105) : eval()'d code:1
Unsupported operand types: string + string
/plugins/fabrik_element/calc/calc.php(315) : eval()'d code:1
number_format(): Argument #1 ($num) must be of type float, string given
plugins/fabrik_element/calc/calc.php(105) : eval()'d code:2
Reverted to PHP7.4 and it runs OK again.
Checked my calc.php against the version in Github and they are identical.
Is this an issue with calc.php or with what I've entered in the calc element for that table?