Zum Inhalt springen Zur Seitenleiste springen

Dies ist das technische Support-Forum für WPML – das mehrsprachige WordPress-Plugin.

Mitlesen können alle, doch nur WPML-Kunden können hier Fragen veröffentlichen. Das WPML-Team antwortet im Forum an 6 Tagen pro Woche, 22 Stunden am Tag.

Sun Mon Tue Wed Thu Fri Sat
12:00 – 20:00 12:00 – 20:00 12:00 – 20:00 12:00 – 20:00 12:00 – 20:00 - -
- - - - - - -

Supporter-Zeitzone: Asia/Karachi (GMT+05:00)

Dieses Thema enthält 8 Antworten, hat 0 Stimmen.

Zuletzt aktualisiert von alenaN Vor 5 Monaten, 3 Wochen.

Assistiert von: Noman.

Autor Beiträge
Juli 8, 2025 um 12:03 p.m. #17213603

beateB

Hintergrund des Themas:
I am trying to embed shortcodes from CF7 on EN pages or posts. The issue can be seen on this page: versteckter Link. Up to now, CF7 shortcodes have been output without any problems.

Die Symptome:
Error: Contact form not found.

Fragen:
Why are CF7 shortcodes not working on EN pages?
How can I resolve the 'Contact form not found' error?

Juli 8, 2025 um 4:16 p.m. #17215431

Noman
WPML-Unterstützer seit 06/2016

Sprachen: Englisch (English )

Zeitzone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting WPML Support. Could you please try to follow the below steps and let me know how it goes:

1. Take a backup of your site first for safety reasons.

2. Install/activate the Contact Form 7 Multilingual plugin on your site which is required, if the WPML is registered properly then you should be able to install it from Plugins >> Add New Plugin > Commercial tab page, or directly download it from here: https://wpml.org/download/contact-form-7-multilingual/

3. Please translate the Contact Form from WPML >> Translation Management page by following this doc: https://wpml.org/documentation/related-projects/using-contact-form-7-with-wpml/

4. Clear all sorts of site/server/CDN cache and see if this resolves the issue.

Kindly let me know the results,
Thank you

Juli 9, 2025 um 5:31 a.m. #17216821

beateB

Hi Noman, we decided against translating the forms because we use the Classic Translation Editor and not the Advanced Translation Editor. So far, we have created the forms twice and then inserted the forms created for EN on the EN page using shortcode. This worked for several years, but now you only get an error message on the EN page. What can we do to make the previous solution work again?
Regards

Juli 9, 2025 um 12:37 p.m. #17219331

beateB

Hello Noman, we have looked at the error again. We noticed that it only occurs when the shortcode is long and contains special characters.

Example:
versteckter Link
[contact-form-7 id="b0273d5" title="Demo EN_BatchMan_einzeilig_copy"]
Error: Contact form not found

versteckter Link
[contact-form-7 id="3098" title="Contact form EN"]
There are no problems here, the form is displayed.

We will therefore rename everything via search/replace, but would first like to ask what exactly is causing problems with the naming. As I said, the error only occurs on the EN page. All shortcodes are displayed on the DE pages.

Juli 9, 2025 um 2:17 p.m. #17219579

beateB

I do have another example, where the error does occur, even though there are special characters included:

versteckter Link
[contact-form-7 id="9459" title="Demo anfordern_DE_Landing Page"]
There are no problems here, the form is displayed.

versteckter Link
[contact-form-7 id="b0273d5" title="Demo EN_BatchMan_einzeilig_copy
Error: Contact form not found

Further, the error does not occur on the German Website,, even though the shortcode have the same length / Name, pl compare e.g.:

German Site: versteckter Link
[contact-form-7 id="b0273d5" title="Demo DE_BatchMan_einzeilig_copy
There are no problems here, the form is displayed.

Juli 9, 2025 um 4:42 p.m. #17220357

Noman
WPML-Unterstützer seit 06/2016

Sprachen: Englisch (English )

Zeitzone: Asia/Karachi (GMT+05:00)

Thanks for the additional details. I tried to replicate the issue on a fresh WP site here: versteckter Link but it seems to work correctly there.

Could you please compare the settings on your site with this fresh site and let me know if I missed anything in setup, here is the auto-login URL:
versteckter Link

Since it’s working fine on a clean setup, it seems to be a site-specific problem. Please try the following steps as well:

1. Take a backup of your site first for safety reasons.
2. Edit the problematic form and click the Save button again.
3. Go to WPML >> Support >> Troubleshooting page and press the below buttons:
- Clear the cache in WPML
- Synchronize posts taxonomies
- Remove ghost entries from the translation tables
- Assign translation status to duplicated content
- Fix post type assignment for translations
- Set language information
4. If the issue persists, try creating a new form and embed it to see if that resolves the issue.

Kindly let me know the results or if you notice any differences in settings.
Thank you

Form with long title.jpg
Form frontend.jpg
Juli 11, 2025 um 6:43 a.m. #17226300

beateB

We did a roll back from Contact Form 7 version 6.0.6 - now the error is gone everywhere. So there is an incompatibility in version 6.1.
See
https://wordpress.org/support/topic/error-contact-form-not-found-with-seceond-language/
and
https://wordpress.org/support/topic/second-cf7-form-translation-not-being-found/#post-18549057

Juli 13, 2025 um 9:40 a.m. #17230837

Noman
WPML-Unterstützer seit 06/2016

Sprachen: Englisch (English )

Zeitzone: Asia/Karachi (GMT+05:00)

Sorry for the delay, I was off during the weekend (Friday-Saturday). Thanks for the additional details.

I tried to replicate the issue on a fresh WP site by following these steps:

1. Installed WPML Multilingual CSM, WPML String Translation, Contact form 7 v6.0.6 plugins.
2. Configured WPML by selecting German as default language and English as secondary language.
3. Created a form in default language.
4. Created a page in the default language and inserted the contact form 7 shortcode and translated that page into English language. versteckter Link
5. Directly inserted the shortcode in the English language page. versteckter Link
6. Update Contact form 7 plugin to the latest version and it still works correctly.

Could you please compare your Contact Form 7 settings and form content with this sandbox site and let me know if I missed anything?

Here is the auto-login URL of the fresh WP site:
versteckter Link

If the issue persists, please provide temporary access (WP-Admin and FTP Login info) to your site (preferably staging site), so that I can look into your setup and debug the issue.

Your next answer will be private, meaning only you and I can access it.

=== Please backup your database and website ===

✙ I would additionally need your permission to deactivate and reactivate Plugins and the Theme and to change configurations on the site. This is also a reason the backup is essential.

Thank you

Juli 22, 2025 um 9:38 a.m. #17258517

alenaN

Hi there,
I have the same issue with the CF7 version 6.1. After the rollback to version 6.0.6 it works fine again.

Das Thema '[Geschlossen] Error CF7 Shortcodes on EN pages' ist für neue Antworten geschlossen.