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: Known issue
This topic contains 7 replies, has 2 voices.
Last updated by Mateus Getulio 1 year, 2 months ago.
Assisted by: Mateus Getulio.
Author | Posts |
---|---|
February 14, 2023 at 12:16 pm #13030035 | |
marcoS-108 |
Tell us what you are trying to do? |
February 14, 2023 at 8:25 pm #13033973 | |
Mateus Getulio Supporter
Languages: English (English ) Portuguese (Brazil) (Português ) Timezone: America/Sao_Paulo (GMT-03:00) |
Hello there, Thank you for contacting our support. Could you please elaborate a little more on this issue, so I can better understand? E.g. Is there an error message, what are the steps you've tried, etc. Sometimes screenshots illustrating what you mean may go a long way to clarify what words fail to transmit, so if you like, make use of “upload an image” below the comment area. Thank you, please let us know. Mateus |
February 15, 2023 at 8:17 am #13036753 | |
marcoS-108 |
I'm trying to install the WooCommerce Multilingual & Multicurrency. In the last step of the installation my site crashes. And I have to recover it again. I have gone through that process with one of your colleagues yesterday, but the chat got interrupted, that's why I sent you the last lines of debug files, because the whole file is to big. I hope that helps. What can I do? |
February 15, 2023 at 8:04 pm #13043753 | |
Mateus Getulio Supporter
Languages: English (English ) Portuguese (Brazil) (Português ) Timezone: America/Sao_Paulo (GMT-03:00) |
Hey there, Thanks for your reply. We have checked the previous debug logs, and we were able to spot this: PHP Fatal error: Uncaught InvalidArgumentException: element_id and type do not match for element_id:71 the database contains tax_category while this function was called with tax_product_cat in /wp-content/plugins/sitepress-multilingual-cms/classes/core-abstract-classes/class-wpml-set-language.php:34 This kind of error generally happens because of corrupt entry or misconfiguration in the database. Please check the errata page related to this issue: https://wpml.org/errata/fatal-error-invalidargumentexception-element_id-and-type-do-not-match/ Let's try some possible solutions to see if this gets corrected: **IMPORTANT** - Please make a backup of the site files and database before doing the following procedures: #1 If you can still access your WP Dashboard: - Go to WPML -> Support #2 If you can’t access the WP Dashboard or the steps above do not help: - Get access to your database using phpMyAdmin (or any other similar tool) It might be necessary to replicate this workflow a couple of times until the issue is fixed. Please give those instructions a try and let us know how they go. We're looking forward to your reply. Thanks! Kind regards, |
February 16, 2023 at 2:49 pm #13050067 | |
marcoS-108 |
Hi, thank you for that. I did the - Go to WPML -> Support Should I still do the Thank you for the explanation. All best, Marko |
February 16, 2023 at 8:56 pm #13052757 | |
Mateus Getulio Supporter
Languages: English (English ) Portuguese (Brazil) (Português ) Timezone: America/Sao_Paulo (GMT-03:00) |
Hi Marko, Thanks for your reply. If the issue persists, yes, you should do the steps described in the #2 possible solution. If you face difficulties on this, or if the problem remains after these steps, I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. 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. Our Debugging Procedures I will be checking various settings in the backend to see if the issue can be resolved. Although I won't be making changes that affect the live site, it is still good practice to backup the site before providing us access. In the event that we do need to debug the site further, I will duplicate the site and work in a separate, local development environment to avoid affecting the live site. Privacy and Security Policy We have strict policies regarding privacy and access to your information. Please see: **IMPORTANT** - Please make a backup of site files and database before providing us access. Please, let me know if you need any additional details. Have a nice day. |
February 20, 2023 at 1:14 pm #13069933 | |
marcoS-108 |
I hope, you received all the necessary info. I tried to install the WooCommerce Multilingual & Multicurrency and site crashed again. I did not yet had the time to do #2. All best, Marko |
February 20, 2023 at 9:18 pm #13073949 | |
Mateus Getulio Supporter
Languages: English (English ) Portuguese (Brazil) (Português ) Timezone: America/Sao_Paulo (GMT-03:00) |
Hi Marko, Thanks for your reply! We have skipped the WCML setup and now we are able to access the WooCommerce -> WCML tab. Could you please review it and check if everything is fine now? Thank you! Regards, |