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.
Tagged: Exception
This topic contains 4 replies, has 2 voices.
Last updated by Andrey 11 months, 1 week ago.
Assisted by: Andrey.
Author | Posts |
---|---|
June 29, 2024 at 9:39 am #15857378 | |
tjasaj-2 |
Background of the issue: Symptoms: VM645:1 Uncaught (in promise) SyntaxError: Unexpected token '<', "<h4> Are "... is not valid JSON . Screenshot: hidden link Questions: Are "... is not valid JSON' mean and how can I resolve it? |
June 30, 2024 at 9:51 am #15861935 | |
Andrey WPML Supporter since 06/2013 Languages: English (English ) Russian (Русский ) Timezone: Europe/Kyiv (GMT+03:00) |
Thank you for contacting WPML support. Have you tried temporarily deactivating all other plugins except WPML to see if the issue still occurs? Also, consider adding another language temporarily and then deleting this one, as you mentioned that you want to keep only one language, to make sure that is not the reason. I've enabled debug information for this support ticket. Please see this link for instructions on how to get this information from your site and provide it to us: http://wpml.org/faq/provide-debug-information-faster-support/ |
June 30, 2024 at 11:15 am #15862123 | |
tjasaj-2 |
The error is completely code related. I assume from what I saw that the ajax request return is expecting a JSON object, but it receives direct HTML. I'd be happy to provide you direct access to our website if that would speed up the resolution process. |
July 1, 2024 at 8:33 pm #15870441 | |
Andrey WPML Supporter since 06/2013 Languages: English (English ) Russian (Русский ) Timezone: Europe/Kyiv (GMT+03:00) |
I need to request temporary access (wp-admin and FTP) to your site – preferably to a test site where the problem has been replicated if possible – in order to be of better help. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it. |
July 2, 2024 at 3:24 pm #15876557 | |
Andrey WPML Supporter since 06/2013 Languages: English (English ) Russian (Русский ) Timezone: Europe/Kyiv (GMT+03:00) |
I want to inquire about possibly creating a local copy of your website. To do this, I'll need to temporarily install a Duplicator or All In One Migration plugin on your site. This will enable me to duplicate your site and its content. If you'd rather handle this process independently, you can provide me with the snapshot and send me the installer file and the zipped package you downloaded. Let me know how you feel about this. |