Error when syncing with web project: TypeError: __str__ returned non-string (type NoneType)

URL of experiment: Sign in · GitLab

Description of the problem: I have a paradigm that is currently hosted on Pavlovia and works well. However, when I tried to change the completed url and sync the script from local to online, I ran into the following error. I went in and changed the code directly in the JS script but would love some advice on how to resolve this so I can continue editing locally. Thank you!

Traceback (most recent call last):
File “/Applications/”, line 1344, in onPavloviaSync
File “/Applications/”, line 793, in fileExport
File “/Applications/”, line 74, in generateScript
File “/Applications/”, line 247, in compileScript
File “/Applications/”, line 219, in _makeTarget
File “/Applications/”, line 256, in writeScript
File “/Applications/”, line 817, in writeExpSetupCodeJS
TypeError: str returned non-string (type NoneType)