Home › Support › English Support › [Resolved] TypeError:n props is undefined & Cannot cancel job
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
This topic contains 2 replies, has 1 voice.
Last updated by Patrick Cruz 4 months ago.
I am trying to:
Cancel a job.
Link to a page where the issue can be seen:
I expected to see:
the job to disappear
Instead, I got:
JSON.parse: unexpected character at line 1 column 1 of the JSON data
Got an JS error:
TypeError: n.props is undefined - hidden link
It looks like it's related to CORS policy. we have it set to only allow our domain.
Do you know which domains do I need to allow? I tried wpml.org but no luck.
nvm. I didn't set it right.
for anyone who's having this issues you need to allow api.wpml.org
My issue is resolved now. Thank you!