#1
Parse error: syntax error, unexpected token "|", expecting ";" or "{" in C:\xampp\htdocs\professionals\engine\Model.php on line 629

this happened in another app when messing with members module and relations. I thought maybe I screwed something up or it was a mistake in the framework, so I updated (didn't fix it) and built a new app with trongate desktop but , this code persists. I am looking still at other things and learning about all this. trying to access .
I would like to reinstall Trongate but cant find "uninstall" or Trongate in my program directory.

http://localhost/professionals/members-join/submit_join

What does this mean? is it a mistake?
#2
I created a new app with the Trongate Desktop App and I get the same error message (syntax error). It happens when I try to open any page that does not exist. I looked into it and I think it is because of the new function return type updates in Model.php in the engine folder.

On lines 629 and 659 in Model.php the return types are set to ?array|object which are syntactically not correct and cause the error messages.
They should be: array|object|null

If you fix those return types on lines 629 and 659, then you will be presented with a new error message. It is caused by the return type of the __construct method on line 28. Currently it has a return type of void, however that is not correct since Constructor and Destructors cannot have any return type.

After fixing that I encountered another error caused by the return type of the get_one_where() method on line 272.

I am going to fix all of these now and create a pull request.
#3
I get this same message when I try to login to the admin panel of a trongate framework master copy newly generated by the Desktop app.
This happens before I have done anything.
#4
Update: I think have I managed to fix these syntax errors. Pull request has been sent.