I have noticed that while MySQL allows me to use some field names without issue, it seems that PHPMaker may have its own list of those it considers “prtotected”
I have on a few occasions stumbled upon some by chance that have caused errors such as:
Trying to get property 'ViewValue' of non-object
Adding an underscore before the fieldname in my custom code fixes itIs there a definitive list somewhere of field names that should be avoided?
Basically the reserved words in PHPMaker, such as discussed in this topic: https://www.hkvforums.com/viewtopic.php?f=18&t=43811You may actually press [Ctrl] + [Space] of keyboard from Code Editor in your PHPMaker 2022 project to get the list of your fields name, for example from Row_Inserting server event location.