Just to clarify, you are receiving this message when you try to convert a project from 4.7 to 4.9? Are you attempting to open the project through the project browser and opening a copy or are you right clicking on the .uproject and choosing the Switch Unreal Engine version option?
Based on the message you posted it appears that an open brace “{” is missing from one of the files in your project (FPSGameMode.cpp).
Does the project compile inside Visual Studio? If there are errors in the code you can fix the errors and then build the project. After building you should then be able to open the project’s .uproject file.
Based on the screenshot this appears to be more of a generic compile issue rather than specifically related to changing the engine version for the project. Let me know if you can create a new project in 4.7 and convert the project from 4.7 to 4.8 and then to 4.9. If you’re still having problems with your original project you will have to fix any compile errors and then try to convert the project.
The function inside the curly braces in your screenshot does not indicate what the actual function is. Considering the “Super::StartPlay()” line it appears the missing line outside the open curly brace would be void FPSGameMode::StartPlay().
Going back to your first screenshot, if you add a space between the last include statement and the open curly brace, you would add void AFPSGameMOde::StartPlay() in that space.
The first line inside the curly brace is the only difference I see between the two screenshots. From a syntax standpoint, the first screenshot is closer to what is required to compile correctly. Changing that line back to what it was in the first screenshot and adding the line of code I provided in my previous comment should fix the issue you’re having.