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: Documentation request
This topic contains 7 replies, has 2 voices.
Last updated by tomasS-17 1 year, 10 months ago.
Assisted by: Prosenjit Barman.
Author | Posts |
---|---|
August 1, 2023 at 7:22 pm #14137319 | |
tomasS-17 |
Hello, INVALID DOMAIN - ERROR AFTER WPML SETUP DONE I installed the backup of this website more than 10 times already and I run out of ideas on how to sort this out. Please, can you help to identify the issue and give me a clue how to make the WPML running? This isn't first time I am using it. I installed it to many website of my clients, and never had any issue. There is another few websites with WPML on the same server as this website is. All ok. But repolar.care is a mystery. Here is a video (screen video shot) hidden link Unfortunately can't provide this exact debug info you asking below as the website gets broken after WPML setup. Only I can do is to call the backup of the fresh website without WPML, install WPML and go through the setup again - but it will get broken. Only debug log is the one you asked someone else in your support - the wp-config instructions. Here it is: hidden link |
August 2, 2023 at 2:13 pm #14143259 | |
Prosenjit Barman WPML Supporter since 03/2023
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hello There, I appreciate the effort you put into creating the video and briefly explaining the issue. It is clear and easy to understand. Please find the response to each issue you've mentioned, below. - INVALID DOMAIN: I understood that even after following everything mentioned in the documentation, you still can't add different domains for other languages. In order to enable this language URL format, it's necessary that all domains have the SSL certificate. If you check the "What you will need" section on the documentation that you mentioned, you'll see that the last item is: - You should have an SSL certificate for each site translation or one multi-domain SSL certificate. Please check this option with your hosting provider and I hope the issue will be resolved right after enabling the SSL. Let me know the update. - ERROR AFTER WPML SETUP DONE: Thanks for sharing the Error log. We have already been able to trace the same issue and published an errata mentioning the cause and solution. Please check the Errata below and try the workaround mentioned there. - https://wpml.org/errata/fatal-error-invalidargumentexception-element_id-and-type-do-not-match/ I hope the issue will be solved after that. But, feel free to let me know if you need any further assistance. I will be happy to help. Best Regards, |
August 2, 2023 at 3:16 pm #14143621 | |
tomasS-17 |
Hi Prosenjit, thank you for quick answer. All the domains have the SSL certificate active. Do you have any other tips please? I am going to try to sort the other issue tonight. Tomas |
August 2, 2023 at 7:21 pm #14144525 | |
tomasS-17 |
Hi again, so.. Still no success with the domain. SSL is (and was) active. Also no success with the error after setup done. In the support area I clicked "troubleshooting" link, but there isn't the button "Fix post type assignment" mentioned in the third step. Could I ask you guys to do it for me? Please... Tomas |
August 3, 2023 at 11:34 am #14149035 | |
Prosenjit Barman WPML Supporter since 03/2023
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hello Tomas, I rechecked your site and can see that the SSL is still not activated for the domain. I verified this by clearing cookies and browsing in incognito mode. For a clearer understanding, please check this screenshot: hidden link Can you please force the HTTPS protocol for the domain and check if the issue still persists or not? If everything is configured correctly, you should see a padlock icon in the URL bar of the browser. Make sure to verify that for both the main and other domains. You can also reach out to the hosting provider and consult with them regarding this matter. I hope they will help you better in this matter. Regarding the Fatal error- You need to delete some corrupted data from the Database. If you're having trouble doing that, I can do that for you. I will need access to your wp-admin and FTP and also permission to install a Database plugin and execute some database queries. It would be better to have a testing site where the issue is replicated. 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. IMPORTANT Looking forward to your response. Best Regards, |
August 7, 2023 at 9:46 am #14162575 | |
Prosenjit Barman WPML Supporter since 03/2023
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hi Tomas, Kindly be informed that the issue you encountered after completing the WPML setup is solved now. I deleted the corrupted 'element_id' from the database and that solves the issue. Regarding the issue with setting up different domains per language- I can see that the SSL is forced for the main domain but I still can see that the SSL for the secondary domain is not configured properly. Apart from that, a redirection to your main domain is happening which is not usual. I kindly request you to confirm: After confirming these, if you try to access the secondary domain, you should see the default content without any redirection. Let me know the update. I will be happy to help if you need further assistance in this matter. Best Regards, |
August 7, 2023 at 9:05 pm #14166217 | |
tomasS-17 |
Hi, thank you, sorting the SSL atc with the webhosting support. In the meantime, I checked the website. Thank you for sorting out the issue. Now I see that all pages and posts from the website are gone. All showing 404 error. When I looked into admin > pages/posts - I see there is 21 published posts, but they aren't visible in the post listings. Same as Pages. How did could happen?? It was there before the WPML setup done. I kept your login details the same as I sent before, please feel free to check/fix what happened. Thank you so much for your help! |
August 8, 2023 at 10:28 am #14168421 | |
tomasS-17 |
Hi, thanks for your help. In the end, we decided we will do the translations manually without the help of WPML. We will do 4 different installations for each domain and we will be sorted. This bug and all the SSL setup seem to be more complicated. Please don't do any action I asked you above. |