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 7 replies, has 2 voices.
Last updated by Prosenjit Barman 1 year, 10 months ago.
Assisted by: Prosenjit Barman.
Author | Posts |
---|---|
August 11, 2023 at 6:57 am | |
hovhannesP |
Hello, my website is having issues with wpml |
August 11, 2023 at 8:29 am | |
August 11, 2023 at 8:35 am #14186761 | |
Prosenjit Barman WPML Supporter since 03/2023
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hi There, Here is your ticket. During my investigation, I found that the action scheduler tool of WooCommecrce continuously inserts data into its tables. This action exhausts the database and causes a fatal error. I also noticed that the ID for each action in the database is 0, which is also not correct. In this case, the structure of the tables needs to be updated properly. I kindly request you update the structure of the WooCommerce Action scheduler tables by following this article: hidden link Once the structure for all 4 tables is updated, activate the WooCommerce plugin and then check again if the issue persists or not. In order to update the structure, you can seek assistance from the server or hosting administrator. Please let me know the update. I will be happy to help if you need further assistance in this matter. Best regards, |
August 11, 2023 at 9:46 am #14187601 | |
hovhannesP |
Dear Prosenjit, We updated the structure of the tables accordingly. But the issue still persists. Can you please check? |
August 14, 2023 at 4:23 am #14194321 | |
Prosenjit Barman WPML Supporter since 03/2023
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hello There, Thanks for updating the key for the Action scheduler table. It seems that a persistent fatal error, which occurred whenever I attempted to access other pages, has now been successfully resolved as a result. However, while checking the data tables of the WPML plugin, I noticed that the key has also not been for the column of WPML data tables. Please check this screenshot(hidden link) of one of the tables for a better understanding. Maybe the database wasn't imported properly at the time of migration or the SQL mode is causing issues with the key. I'd kindly ask you to contact your hosting or developer and ask them if they can check for you if all the tables have the auto-increment feature enabled. You can also try applying the solution mentioned in this response: https://wpml.org/forums/topic/critical-error-when-not-even-doing-anything-on-the-site/#post-8117663 More information about the WPML Database: https://wpml.org/documentation/support/wpml-tables/ I hope it will help. Please let me know if you need further assistance in this matter. I will be happy to help. Best Regards, |
August 14, 2023 at 9:55 am #14196373 | |
hovhannesP |
Hi, thanks for the info. I will get back to you soon, already contacted the hosting provider. Will inform you about the results. |
August 15, 2023 at 12:01 pm #14202837 | |
hovhannesP |
Dear Prosenjit, the keys were updated, but I am still seeing the action scheduler. Can you please check now if everything is setup correctly? |
August 15, 2023 at 1:51 pm #14203593 | |
hovhannesP |
Dear Prosenjit, I have also noticed another issue, when I am trying to translate a product it brings a - There has been a critical error on this website. Please check your site admin email inbox for instructions - message |
August 16, 2023 at 3:21 am #14205841 | |
Prosenjit Barman WPML Supporter since 03/2023
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hello There, Thank you for updating the keys. It appears that the Fatal error, which was previously occurring when attempting to access the WooCommerce product section, has now been resolved. The Action Scheduler executes certain tasks in the background by WooCommerce. So, it will be activated. You can consult with the WooCommerce support team for more information. As far as I have checked, everything seems to be set up correctly now. Regarding the Fatal error while translating a product- I reviewed the debug log and identified the root cause of the issue. It appears that the 'AUTO INCREMENT' property hasn't been set for the 'rid' column in the "_icl_translation_status" table of the database. As a result, a duplicate ID is inserted into the database during the translation process which leads to a fatal error. Please open the "cod_icl_translation_status" table and set `AUTO INCREMENT` for the 'rid' column. You can reach out to your hosting provider in order to update that. Let me know the update. I will be happy to help if you need further assistance in this matter. Best Regards, |