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: Bug
This topic contains 6 replies, has 2 voices.
Last updated by silviaN-7 1 year, 11 months ago.
Assisted by: Andreas W..
Author | Posts |
---|---|
June 7, 2023 at 5:37 am #13781997 | |
silviaN-7 |
I get the following error: [07-Jun-2023 05:31:12 UTC] PHP Notice: Undefined index: product_id in /home/citymyuh/public_html/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Integrations/Elementor/class-wpml-elementor-translate-ids.php on line 132 |
June 8, 2023 at 8:11 pm #13795661 | |
Andreas W. WPML Supporter since 12/2018 Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
Hello, Does it solve the issue, if you go to the original product, make a small edit and then save the product and translate it? If not, does it solve the issue for this product, if you duplicate the product with a plugin like "Yoast Duplicate"? Is there more than one affected product on the site? Best regards |
June 9, 2023 at 6:35 am #13797029 | |
silviaN-7 |
I'm using elementor to create a product template. The button is removed from the templates and it stopped generating errors but I will have to get it back. You may want to have a look at the backend yourself as the website is generating more errors from WPML in the error log file. |
June 9, 2023 at 9:10 am #13798115 | |
silviaN-7 |
Here is an example of the errors I get in the log file: [09-Jun-2023 07:55:45 UTC] PHP Notice: file_get_contents(): read of 8192 bytes failed with errno=12 Cannot allocate memory in /home/citymyuh/public_html/wp-content/plugins/beautiful-and-responsive-cookie-consent/class/class-nsc_bar_plugin_configs.php on line 146 [09-Jun-2023 08:56:50 UTC] PHP Warning: array_intersect(): Expected parameter 1 to be an array, bool given in /home/citymyuh/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/action-filter-loader/class-wpml-action-type.php on line 72 |
June 9, 2023 at 2:49 pm #13800665 | |
Andreas W. WPML Supporter since 12/2018 Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
Hello, This looks like an issue between WPML String Translation and the plugin "Beautiful and responsive cookie consent". The problem should disappear if you disable "Beautiful and responsive cookie consent" - could you please test that? Also, take note that the author mentions this on wordpress.org: - multilanguage support with premium add-on: beautiful-cookie-banner.com Source: https://wordpress.org/plugins/beautiful-and-responsive-cookie-consent/ I further would suggest that you use a compatible alternative, if possible. Compatible Cookie Consent Plugins: If this will not be an alternative, I can offer a WPML Test Site on which we can try to recreate this issue. Best regards |
June 19, 2023 at 11:51 am #13851009 | |
silviaN-7 |
I have switched the plugin and it works OK now. Thanks! |