I've fixed this issue on my side; it's just a matter of an "end" instruction that was simply misplaced.
For anyone wanting the solution while waiting for the mod author to fix it:
1- Unzip "..\AppData\Roaming\Factorio\mods\RPGsystem_2.1.1.zip",
2- Open "control.lua" preferably with a text editor like Notepad++,
3- Find the "LevelUPPlayer" function at line 1019,
4- In the function, locate the code block which starts with "if btname=='btLVU_global.personalxp.LV_Reach_Dist' then",
5- In the four lines right below, notice the "end" word at the end of the fourth line,
6- Move this "end" word to one line below and remove one tabulation to align the "end" word to the "if" word from above.
EDIT: Welp, the issue returns when reloading the save, so no solution for now.