Skip Navigation

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.

Sun Mon Tue Wed Thu Fri Sat
10:00 – 14:00 10:00 – 14:00 10:00 – 14:00 10:00 – 14:00 10:00 – 14:00 - -
16:00 – 20:00 16:00 – 20:00 16:00 – 20:00 16:00 – 20:00 16:00 – 20:00 - -

Supporter timezone: Asia/Jerusalem (GMT+03:00)

Tagged: 

This topic contains 6 replies, has 0 voices.

Last updated by Itamar 1 day, 8 hours ago.

Assisted by: Itamar.

Author Posts
June 10, 2025 at 9:17 am

tomaszH-11

Background of the issue:
I am trying to use Contact Form 7 on my website, which is translated from Polish to English using WPML. The site URLs are hidden link and hidden link. The email settings are the same for both language versions.

Symptoms:
The English version of the contact form does not send emails, while the Polish version works correctly.

Questions:
Why is the English version of the contact form not sending emails?

June 10, 2025 at 10:06 am
June 10, 2025 at 10:25 am #17121383

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

If the problem persists, please share with us WordPress's debug log (not WPML debug information). Please check this page for instructions.

https://wpml.org/documentation/support/debugging-wpml/

To enable it, open your wp-config.php file and look for

define('WP_DEBUG', false);

Change it to:

define('WP_DEBUG', true);
// Enable Debug logging to the /wp-content/debug.log file
define('WP_DEBUG_LOG', true);
// Disable display of errors and warnings
define('WP_DEBUG_DISPLAY', false);
@ini_set('display_errors', 0);

After this, repeat the action that causes the problem on your site-- send a message using the contact form in the English language hidden link">here, and receive the error message. In this case, the errors will be saved to a debug.log log file inside the /wp-content/ directory. Then, please share the errors with us.

Thanks,
Itamar.

2025-06-10_13-01-22.jpg
June 12, 2025 at 2:19 pm #17130565

tomaszH-11

Hello,

In previous support ticket you asked me for FTP. I wanted to send it in the ticket but the ticket is closed. Can you reopen the ticket concerning TWIG?

June 13, 2025 at 10:40 am #17132891

tomaszH-11

It didn't reveal anything. The PHP notices are like this

[13-Jun-2025 10:37:45 UTC] PHP Notice: [ Timber ] Timber::get_posts() was called incorrectly. Using `numberposts` only works when using `get_posts()`, but not for Timber::get_posts(). Use `posts_per_page` instead. Please see Debugging in WordPress (https://wordpress.org/support/article/debugging-in-wordpress/) as well as Debugging in Timber (hidden link) for more information. (This message was added in Timber version 2.0.0.) in /home/alsanitsrv/domains/alsanit.pl/public_html/wp-content/themes/starter-empressia/vendor/timber/timber/src/Helper.php on line 400
[13-Jun-2025 10:37:45 UTC] PHP Notice: [ Timber ] Timber::get_posts() was called incorrectly. Using `numberposts` only works when using `get_posts()`, but not for Timber::get_posts(). Use `posts_per_page` instead. Please see Debugging in WordPress (https://wordpress.org/support/article/debugging-in-wordpress/) as well as Debugging in Timber (hidden link) for more information. (This message was added in Timber version 2.0.0.) in /home/alsanitsrv/domains/alsanit.pl/public_html/wp-content/themes/starter-empressia/vendor/timber/timber/src/Helper.php on line 400
[13-Jun-2025 10:37:46 UTC] PHP Notice: [ Timber ] Timber::get_posts() was called incorrectly. Using `numberposts` only works when using `get_posts()`, but not for Timber::get_posts(). Use `posts_per_page` instead. Please see Debugging in WordPress (https://wordpress.org/support/article/debugging-in-wordpress/) as well as Debugging in Timber (hidden link) for more information. (This message was added in Timber version 2.0.0.) in /home/alsanitsrv/domains/alsanit.pl/public_html/wp-content/themes/starter-empressia/vendor/timber/timber/src/Helper.php on line 400
[13-Jun-2025 10:37:46 UTC] PHP Notice: [ Timber ] Timber::get_posts() was called incorrectly. Using `numberposts` only works when using `get_posts()`, but not for Timber::get_posts(). Use `posts_per_page` instead. Please see Debugging in WordPress (https://wordpress.org/support/article/debugging-in-wordpress/) as well as Debugging in Timber (hidden link) for more information. (This message was added in Timber version 2.0.0.) in /home/alsanitsrv/domains/alsanit.pl/public_html/wp-content/themes/starter-empressia/vendor/timber/timber/src/Helper.php on line 400
[13-Jun-2025 10:37:47 UTC] PHP Notice: [ Timber ] Timber::get_posts() was called incorrectly. Using `numberposts` only works when using `get_posts()`, but not for Timber::get_posts(). Use `posts_per_page` instead. Please see Debugging in WordPress (https://wordpress.org/support/article/debugging-in-wordpress/) as well as Debugging in Timber (hidden link) for more information. (This message was added in Timber version 2.0.0.) in /home/alsanitsrv/domains/alsanit.pl/public_html/wp-content/themes/starter-empressia/vendor/timber/timber/src/Helper.php on line 400
[13-Jun-2025 10:37:47 UTC] PHP Notice: [ Timber ] Timber::get_posts() was called incorrectly. Using `numberposts` only works when using `get_posts()`, but not for Timber::get_posts(). Use `posts_per_page` instead. Please see Debugging in WordPress (https://wordpress.org/support/article/debugging-in-wordpress/) as well as Debugging in Timber (hidden link) for more information. (This message was added in Timber version 2.0.0.) in /home/alsanitsrv/domains/alsanit.pl/public_html/wp-content/themes/starter-empressia/vendor/timber/timber/src/Helper.php on line 400

June 15, 2025 at 2:26 pm #17136484

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi, and thanks for trying my suggestions.

We suspect a collision with the theme or another plugin might cause this problem. If possible, set up your site in a minimal environment, switching to a default WordPress theme like TwentyTwenty-Four and activating only WPML.

First, check if the problem persists when only the theme is switched to TwentyTwenty-Four (for example). If the issue persists, deactivate all plugins except WPML and its add-ons, and Contact Form 7. Then, please check if the problem persists. If the issue persists, start by activating the plugins individually and check when the issue returns. Then, report to me which plugin was the culprit.

**** Important! Please make a full site backup (files and DB) before you proceed with those steps****


*** If your site is live, you might want to try those procedures in a staging environment or a snapshot of your site on your local server or another server. ***

If you are not able to proceed with this test, please allow me to take a copy of your site. For this, I must install a plugin like Duplicator or All In One Migration. Please let me know if you agree.

Regards,
Itamar.

June 18, 2025 at 8:06 am #17144925

tomaszH-11

Hello, I will try to check what you asked for, please don't close this ticket

June 18, 2025 at 8:58 am #17145161

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

OK, I'll wait for your reply.

Regards,
Itamar.