ERROR MESSAGE - Syntax error in formula or condition: invalid syntax (, line 1)'

Also, I am getting this ERROR: "AttributeError: ‘SalaryStructure’ object has no attribute ‘set_totals’ " while adding a salary component in a salary structure.

The issue is onFrappe Cloud hosted version instance.