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 10 replies, has 2 voices.
Last updated by marcoS-96 1 year, 10 months ago.
Assisted by: Mohamed Sayed.
Author | Posts |
---|---|
February 28, 2023 at 11:37 am #13134607 | |
marcoS-96 |
Hello, I’ve create a staging environment without other plugins and activating another Theme (Astra) from default (Avada). If I try to submit form “Modulo di contatto” [wpforms id="44"] from If I deactivate WPML String Translation plugin all works fine. I’ve activated debug mode and debug.log report a PHP Fatal error: [28-Feb-2023 09:39:08 UTC] PHP Warning: Undefined array key 0 in /www/weyourconsult_197/public/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Lst.php on line 146 [28-Feb-2023 09:39:08 UTC] PHP Fatal error: Uncaught TypeError: array_key_exists(): Argument #1 ($key) must be a valid array offset type in /www/weyourconsult_197/public/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Obj.php:98 I can give you admin user and SFTP credentials if you need. Please, could you check? Marco |
February 28, 2023 at 2:40 pm #13136695 | |
Mohamed Sayed |
Hi Marco, This is a known issue that happens if you have a form with checkboxes created by WPForms and running under a PHP 8x server. Our developers are working to release a fix soon. Please create a full backup then try the workaround mentioned in the following errata page: https://wpml.org/errata/wpforms-php-8x-issue-submitting-a-form-with-checkboxes-fields/ Regards, |
March 1, 2023 at 9:05 am #13142673 | |
Mohamed Sayed |
Hi Marco, We just released WPForms Multilingual 0.3.1 with a fix for this issue. Please create a full backup then update WPForms Multilingual to the latest version. Regards, |
March 2, 2023 at 12:13 pm #13154573 | |
marcoS-96 |
Hello Mohamed, I've updated to WPForms Multilingual 0.3.1, but now, for example for form “Modulo di contatto” [wpforms id="44"] from hidden link It could depends from you or from WpForms? Many thanks. Marco |
March 2, 2023 at 3:29 pm #13156613 | |
Mohamed Sayed |
Hi Marco, Please provide me with the notice you see in the debug log file. Also, could you please check the browser's console for any JavaScript errors that appear when you submit the form? I couldn't check the page because Wordfence is blocking me, Can you please whitelist my IP 41.45.211.158 then let me know so that I can check the form? |
March 2, 2023 at 3:46 pm #13156901 | |
marcoS-96 |
Hi Mohamed. [02-Mar-2023 12:04:22 UTC] PHP Notice: Function is_category was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /www/weyourconsult_197/public/wp-includes/functions.php on line 5835 I attach also console js error that seems 403 Many thanks, Marco |
March 2, 2023 at 10:23 pm #13159011 | |
Mohamed Sayed |
Hi, I don't think the PHP notice is related, could you Please check if the issue persists in a minimal environment by following these steps: - Deactivate all the plugins that are not related to WPML. ❌ Please backup your database and website before performing the above test ❌ |
March 3, 2023 at 8:59 am #13161495 | |
marcoS-96 |
Ok Mohamed, I'll check in next days. Many thanks. Marco. |
March 3, 2023 at 1:49 pm #13164469 | |
Mohamed Sayed |
Hi, Take your time, I will be waiting for your updates. |
March 10, 2023 at 8:28 am #13214481 | |
marcoS-96 |
Hi Mohamed, WpForms submission issue doesn't depends from WPML. I've The Newsletter plugin hidden link and its WpForms addon. With WpForms I've activated WP Mail SMTP. WpForms that has connection with The Newsletter had a conflict because I've left The Newsletter SMTP option enabled. I've disabled and I've resolved the problem. Not so easy to find, but maybe this issue could be useful for someone that has the same configuration. Thanks a lot, Marco. |