Home›Support›English Support›[Waiting for user confirmation] Spinoko theme and wpml : critical error on /en/ page
[Waiting for user confirmation] Spinoko theme and wpml : critical error on /en/ page
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.
Our wait time is higher than usual, please make sure you are meeting the minimum requirement - https://wpml.org/home/minimum-requirements before you report issues, and if you can take a look at current Known Issues - https://wpml.org/known-issues/. Thank you.
Background of the issue:
I've just bought the WPML plugin to translate my website from French to English. I am using the Spinoko theme which is compatible with WPML. I've been translating my first page, but I am now experiencing a critical error on the translated page. I am using WPML for the first time and have been trying to solve the issue for 12 hours by translating all the custom fields and Spinoko files. I am considering asking for a refund but wanted to seek help first. The website is hidden link and is still under construction.
Symptoms:
Critical error on the translated /en/ page.
Questions:
What could be causing the critical error on the translated page?
How can I resolve the critical error when using WPML with the Spinoko theme?
This is a compatibility issue with the theme, I have escalated this issue to our compatibility team as this will require work to make the theme acf fields fully compatible with WPML.
In the meantime, as a workaround, can you add the following code to WPML->Settings->Custom XML configuration and update the pages to see if it helps?
If the problem still appears or some fields doesn't show up in translations, I suggest you to follow the below steps:
- Go to WPML->Settings->Custom Fields Translations and enable "Show "Multilingual Content Setup" meta box on post edit screen." and save
- Now edit the page with the issue in default language and in the bottom you will see multilingual custom fields
- Go to Custom Fields sections and click on show system fields
- Search the field that's not showing up and mark it as translate, copy, based on your preferences, if you set copy, set the system fields (same field name but that starts with _) to copy too.
Hi.
I've just followed the steps as requested and the page displays correctly now !!
At firts, I refreshed the page with the error right after adding the Custom XML but it did not change. Then, I went to the custom fields on the default language page and some custom fields appeared with message "This type of ACF field will always be set to "Copy once". So I did it, except for "Pros" and "Cons" which were on "Copy" but I could change itbecause of the Custom XML I think. Then I refreshed the page with the error and everything is fine now. I think adding the Custom XML solved the problem.
Thank you very much !!!