I’m facing issue accessing some field values with curly brackets inside PHP button code. For example, if I have field ‘emp_accepted’ (type TINYINT setup as checkbox with slider switch) and when tried to access the field value using {emp_accepted} it returns error ‘Array to String conversion’. In the past, I have done this without any issue. Interestingly I can access some field values without any issue such as {emp_id}, {emp_firstname}, etc
When accessing the same code from events or calling PHP method from events then it works fine. If the PHP method called by PHP button code then the error appears. Currently using scriptcase ver 9.4.018