Duplicate variables are present in the template
We discovered an issue with the Manage Variables window that could create duplicate variables when adding a new variable.
That affects the following versions of PhraseExpander (check the release history here):
With any of those versions, when creating a new variable in the Manage variables window, PhraseExpander could create a duplicate.
This prevents the template from executing and causes the application to crash.
Update to the latest version of PhraseExpander
Even if you are running a version of PhraseExpander that doesn't have the bug, the problem might still if duplicates were created with the previous version.
How to fix the duplicate variables
When you try executing a template that contains duplicate variables, PhraseExpander will show you an error message (v.188.8.131.52 or above) or crash (v.184.108.40.206, v.220.127.116.11, v.18.104.22.168, v.22.214.171.124, v.126.96.36.199).
The error message will tell you the name of the variable.
To fix this, you need to remove the duplicate variable
Open the Manage Variable window by clicking on Variables → Manage
You'll see one or more duplicate variables, with a red background color
To remove it, you need to first rename it. Click on the variable name and choosing a different one
Remove the variable by clicking on Remove
Repeat the procedure for all the other duplicate variables (if present) and then click OK to save