I'm getting an error when trying to save edits in my custom component.
I have another edit.php that works well.
I identified that the problem lies in the table file, specifically in the function
When I have the function in my table file, whenever I save the edit, it gives me an SQL error:
`table_users` was not locked with LOCK TABLES
When I take the function out, it gives me a different error (the weirdest part is that even with the function not being there, it still says the function name):
Error Save failed with the following error:
parent_id in PrefixNameTableTableName::check()
The problem is that I don't need
parent_id. How can I solve it?