elementor / elementor

The most advanced frontend drag & drop page builder. Create high-end, pixel perfect websites at record speeds. Any theme, any page, any design.
https://elementor.com/
GNU General Public License v3.0
6.55k stars 1.42k forks source link

πŸ”— 🐞 Bug Report: Elementor Pro conflicting with Ninja Form's ReCaptcha v3 (Related to #20319) #20285

Open maxms opened 1 year ago

maxms commented 1 year ago

Prerequisites

Description

When using recaptcha v3 in a Ninja Form, we get an error only when Elementor Pro is active. It seems Elementor Pro is loading reCaptcha on every page causing this conflict.

I have observed this on two separate client sites so far.

Others report as well and Ninja Forms points to Elementor Pro: https://wordpress.org/support/topic/conflict-with-elementor-pro-14/

Steps to reproduce

1) reCAPTCHA API keys in Elementor --> Integrations are empty 2) reCAPTCHA API keys are entered in Ninja Forms 3) Ninja form has reCAPTCHA v3 action enabled

Isolating the problem

System Info

== Server Environment == Operating System: Linux Software: Apache MySQL version: Source distribution v8.0.26-16 PHP Version: 7.4.29 PHP Memory Limit: -1 PHP Max Input Vars: 1000 PHP Max Post Size: 60M GD Installed: Yes ZIP Installed: Yes Write Permissions: All right Elementor Library: Connected

== WordPress Environment == Version: 6.1 Site URL: https://staging.hotelindigonycfidi.com Home URL: https://staging.hotelindigonycfidi.com WP Multisite: No Max Upload Size: 60 MB Memory limit: 40M Max Memory limit: -1 Permalink Structure: /%year%/%monthnum%/%day%/%postname%/ Language: en-US Timezone: America/New_York Admin Email: mary@maxms.com Debug Mode: Inactive

== Theme == Name: Hotel Indigo WTC Version: 0.1 Author: Creative Dimensions Child Theme: Yes Parent Theme Name: GeneratePress Parent Theme Version: 3.2.1 Parent Theme Author: Tom Usborne

== User == Role: administrator WP Profile lang: en_US User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36

== Active Plugins == Advanced Custom Fields Version: 6.0.3 Author: WP Engine

Classic Editor
    Version: 1.6.2
    Author: WordPress Contributors

CookieYes | GDPR Cookie Consent
    Version: 3.0.4
    Author: CookieYes

Custom Post Type UI
    Version: 1.13.1
    Author: WebDevStudios

DynamicConditions
    Version: 1.6.0
    Author: RTO GmbH

Ele Custom Skin
    Version: 3.1.7
    Author: Dudaster.com

Ele Custom Skin Pro
    Version: 3.2.4
    Author: Dudaster.com

Elementor
    Version: 3.8.0
    Author: Elementor.com

Elementor Pro
    Version: 3.8.0
    Author: Elementor.com

Enable Media Replace
    Version: 4.0.0
    Author: ShortPixel

GP Premium
    Version: 2.2.0
    Author: Tom Usborne

Health Check & Troubleshooting
    Version: 1.5.1
    Author: The WordPress.org community

Ninja Forms
    Version: 3.6.14
    Author: Saturday Drive

One Click Accessibility
    Version: 2.0.3
    Author: One Click Accessibility

Server-Side Cache AutoPurge
    Version: 1.0.1
    Author: 

Smush
    Version: 3.12.3
    Author: WPMU DEV

SVG Support
    Version: 2.5.1
    Author: Benbodhi

Wordfence Security
    Version: 7.7.1
    Author: Wordfence

WP Sort Order
    Version: 1.2.9
    Author: Fahad Mahmood

Yoast Duplicate Post
    Version: 4.5
    Author: Enrico Battocchi & Team Yoast

Yoast SEO
    Version: 19.9
    Author: Team Yoast

== Must-Use Plugins == Health Check Troubleshooting Mode Version: 1.8.0 Author:

== Elements Usage ==

page : 1
    button : 4
    heading : 12
    icon-list : 1
    image : 5
    text-editor : 6
section : 9
    button : 9
    divider : 1
    heading : 14
    icon-list : 1
    image : 5
    social-icons : 1
    spacer : 4
    text-editor : 8
wp-page : 15
    button : 8
    heading : 50
    icon-list : 11
    image : 9
    menu-anchor : 1
    shortcode : 1
    spacer : 22
    text-editor : 30

== Elementor Experiments == Optimized DOM Output: Active by default Improved Asset Loading: Active by default Improved CSS Loading: Active by default Inline Font Icons: Inactive by default Accessibility Improvements: Active by default Additional Custom Breakpoints: Active by default Import Export Website Kit: Active by default Hide native WordPress widgets from search results: Active by default admin_menu_rearrangement: Inactive by default Flexbox Container: Inactive by default Default to New Theme Builder: Active by default Landing Pages: Active by default Color Sampler: Active by default Favorite Widgets: Active by default Admin Top Bar: Active by default Page Transitions: Active by default Notes: Active by default Loop: Inactive by default Form Submissions: Inactive Scroll Snap: Active by default

== Log ==

Log: showing 20 of 372022-09-21 14:02:57 [info] Elementor/Upgrades - _on_each_version Finished 2022-09-21 14:02:58 [info] elementor::elementor_updater Started 2022-09-21 14:02:58 [info] Elementor/Upgrades - _on_each_version Start
2022-09-21 14:02:58 [info] Elementor/Upgrades - _on_each_version Finished 2022-09-21 14:02:58 [info] Elementor data updater process has been queued. [array ( 'plugin' => 'Elementor', 'from' => '3.7.6', 'to' => '3.7.7', )] 2022-09-21 14:02:58 [info] Elementor data updater process has been completed. [array ( 'plugin' => 'Elementor', 'from' => '3.7.6', 'to' => '3.7.7', )] 2022-10-03 19:19:13 [info] elementor::elementor_updater Started 2022-10-03 19:19:13 [info] Elementor/Upgrades - _on_each_version Start
2022-10-03 19:19:13 [info] Elementor data updater process has been queued. [array ( 'plugin' => 'Elementor', 'from' => '3.7.7', 'to' => '3.7.8', )] 2022-10-03 19:19:13 [info] Elementor/Upgrades - _on_each_version Finished 2022-10-03 19:19:13 [info] Elementor data updater process has been completed. [array ( 'plugin' => 'Elementor', 'from' => '3.7.7', 'to' => '3.7.8', )] 2022-10-03 19:19:14 [info] Elementor data updater process has been queued. [array ( 'plugin' => 'Elementor', 'from' => '3.7.7', 'to' => '3.7.8', )] 2022-11-01 13:15:20 [info] elementor-pro::elementor_pro_updater Started 2022-11-01 13:15:20 [info] Elementor Pro/Upgrades - _on_each_version Start
2022-11-01 13:15:20 [info] Elementor Pro/Upgrades - _on_each_version Finished 2022-11-01 13:15:20 [info] Elementor data updater process has been completed. [array ( 'plugin' => 'Elementor Pro', 'from' => '3.7.7', 'to' => '3.8.0', )] 2022-11-01 13:15:23 [info] elementor::elementor_updater Started 2022-11-01 13:15:23 [info] Elementor/Upgrades - _on_each_version Start
2022-11-01 13:15:24 [info] Elementor/Upgrades - _on_each_version Finished 2022-11-01 13:15:24 [info] Elementor data updater process has been completed. [array ( 'plugin' => 'Elementor', 'from' => '3.7.8', 'to' => '3.8.0', )]

PHP: showing 4 of 4PHP: 2022-09-21 14:04:21 [notice X 13][/home/indigowtc/www/staging/wp-content/plugins/elementor/core/common/modules/ajax/module.php::171] Undefined index: data [array ( 'trace' => '

0: Elementor\Core\Logger\Manager -> shutdown()

', )] PHP: 2022-10-11 14:23:13 [notice X 5][/home/indigowtc/www/staging/wp-content/plugins/elementor-pro/modules/dynamic-tags/acf/tags/acf-url.php::34] Undefined offset: 0 [array ( 'trace' => '

0: /home/indigowtc/www/staging/wp-content/plugins/elementor-pro/modules/dynamic-tags/acf/tags/acf-url.php(34): Elementor\Core\Logger\Manager -> rest_error_handler()

1: /home/indigowtc/www/staging/wp-content/plugins/elementor/core/dynamic-tags/data-tag.php(44): ElementorPro\Modules\DynamicTags\ACF\Tags\ACF_URL -> get_value()

2: /home/indigowtc/www/staging/wp-content/plugins/elementor/core/dynamic-tags/manager.php(216): Elementor\Core\DynamicTags\Data_Tag -> get_content()

3: Elementor\Core\DynamicTags\Manager -> get_tag_data_content()

4: /home/indigowtc/www/staging/wp-content/plugins/elementor/core/dynamic-tags/manager.php(109): class type call_user_func_array()

', )] PHP: 2022-10-11 14:23:13 [notice X 5][/home/indigowtc/www/staging/wp-content/plugins/elementor-pro/modules/dynamic-tags/acf/tags/acf-url.php::34] Undefined offset: 1 [array ( 'trace' => '

0: /home/indigowtc/www/staging/wp-content/plugins/elementor-pro/modules/dynamic-tags/acf/tags/acf-url.php(34): Elementor\Core\Logger\Manager -> rest_error_handler()

1: /home/indigowtc/www/staging/wp-content/plugins/elementor/core/dynamic-tags/data-tag.php(44): ElementorPro\Modules\DynamicTags\ACF\Tags\ACF_URL -> get_value()

2: /home/indigowtc/www/staging/wp-content/plugins/elementor/core/dynamic-tags/manager.php(216): Elementor\Core\DynamicTags\Data_Tag -> get_content()

3: Elementor\Core\DynamicTags\Manager -> get_tag_data_content()

4: /home/indigowtc/www/staging/wp-content/plugins/elementor/core/dynamic-tags/manager.php(109): class type call_user_func_array()

', )] PHP: 2022-10-12 13:59:38 [notice X 3][/home/indigowtc/www/staging/wp-content/plugins/elementor-pro/modules/posts/skins/skin-content-base.php::264] Trying to get property 'ID' of non-object [array ( 'trace' => '

0: Elementor\Core\Logger\Manager -> shutdown()

', )]

JS: showing 2 of 2JS: 2022-10-04 18:55:57 [error X 2][https://staging.hotelindigonycfidi.com/wp-content/plugins/elementor/assets/js/editor.min.js?ver=3.7.8:3:1060992] Cannot read properties of null (reading \'getBoundingClientRect\') JS: 2022-10-11 16:47:51 [error X 5][https://staging.hotelindigonycfidi.com/wp-admin/post.php?post=894&action=elementor#:1:1] Identifier \'$dcWidgetIdInput\' has already been declared

== Elementor - Compatibility Tag ==

Elementor Pro: Compatibility not specified

== Elementor Pro - Compatibility Tag ==

nicholaszein commented 1 year ago

Hello @maxms!

Thank you for submitting your issue! πŸ™

I'm labeling your issue and sending it to the team so they can check why this is happening.

β›” Please note that while we do welcome bug reports, we can't provide support for 3rd party plugins.

Best regards

BizComDR commented 1 year ago

I have this ame issue. I am using Elementor and Ninja forms. When I try to use recaptcha, the Ninja form doesn't work. The button is not clickable. I remvoe recaptcha and it all works fine. How can I get recaptcha to work with Ninja forms inside Elementor.

I will continue using Ninja forms, and it would be nice if Elementor does not load recaptcha when it's not selected. Everything I've read says Elementor has recaptcha activated, whether selected to be used or not, which is causing this conflict.

Thanks

BarrissOffee commented 1 year ago

I am having the same issue. Do you have a work around to get V3 working in Ninja Forms?

leecollings commented 1 year ago

Issue verified by myself also, and Ninja Forms are now recognising this and instructing as per their support to either disable Elementor Pro, or stop using v3 on their plugin and use v2 instead.

https://ninjaforms.com/blog/recaptcha-isnt-working-on-your-wordpress-form/

I don't want to do either of this, I want to be able to disable the v3 loading from Elementor, and then be able to use it in Ninja Forms. Elementor, can this please be enabled?

Bredamcguigan commented 10 months ago

Same issue here.

Creatives35 commented 8 months ago

same issue here still in 2024

ttravis90 commented 7 months ago

Same issue, any updates from the dev team?

BizComDR commented 7 months ago

nope

From: ttravis90 @.> Sent: Friday, January 26, 2024 4:10 PM To: elementor/elementor @.> Cc: Don Rodger @.>; Comment @.> Subject: Re: [elementor/elementor] πŸ”— 🐞 Bug Report: Elementor Pro conflicting with Ninja Form's ReCaptcha v3 (Related to #20319) (Issue #20285)

You don't often get email from @.*** Learn why this is importanthttps://aka.ms/LearnAboutSenderIdentification

Same issue, any updates from the dev team?

β€” Reply to this email directly, view it on GitHubhttps://github.com/elementor/elementor/issues/20285#issuecomment-1912699927, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AWEEQKQHQVSRGTIU3T2HBU3YQQLTLAVCNFSM6AAAAAARYA7XU2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJSGY4TSOJSG4. You are receiving this because you commented.Message ID: @.***>

BizComDR commented 6 months ago

Same. Ninja can't use Google ReCaptcha v3.0 when using Elementor, so I dumbed it down to v2.0. I also selected to make V2.0 invisible. However, when the page loads, ReCaptcha v2.0 displays atop the webpage. It's supposed to be invisible. It displays the Invisible logo, while also loading the ReCaptcha image.

Is there any workaround yet? Very frustrating that we cannot use third-party forms with ReCaptcha when using Elementor.

LoganStrike commented 5 months ago

@nicholaszein I can also confirm this issue is still happening. On a test site with only Ninja Forms and Elementor/Elementor Pro installed, the reCaptcha v3 in Ninja Forms fails to load when Elementor is active. After deactivating Elementor, the reCaptcha works again.

BizComDR commented 5 months ago

Yes, still happening. Please fix this as it limits our capability to use plugins. Thank you

From: Kevin Terrell @.> Sent: Tuesday, March 12, 2024 7:35 PM To: elementor/elementor @.> Cc: Don Rodger @.>; Comment @.> Subject: Re: [elementor/elementor] πŸ”— 🐞 Bug Report: Elementor Pro conflicting with Ninja Form's ReCaptcha v3 (Related to #20319) (Issue #20285)

@nicholaszeinhttps://github.com/nicholaszein I can also confirm this issue is still happening. On a test site with only Ninja Forms and Elementor/Elementor Pro installed, the reCaptcha v3 in Ninja Forms fails to load when Elementor is active. After deactivating Elementor, the reCaptcha works again.

β€” Reply to this email directly, view it on GitHubhttps://github.com/elementor/elementor/issues/20285#issuecomment-1992739248, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AWEEQKX5HZ7VJPYRWWYKVILYX6GKJAVCNFSM6AAAAAARYA7XU2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJSG4ZTSMRUHA. You are receiving this because you commented.Message ID: @.***>

laura-dimitroff commented 1 month ago

Is there any improvement on this? It's been a long time now and no one seems to have a solution (I've reached both Ninja Forms and Elementor supports...).

MrRemiB commented 1 month ago

Hi, Still happening for me, very disturbing and side effect on cookie management / optin

BizComDR commented 1 month ago

Nothing yet. Elementor essentially takes over everything for reCAPTCHA. It’s truly annoying as I must set Ninja with v2.0 just so I can use RECAPTCHA from Elementor on my login form.

I wish they’d give you an option, instead of dictating what you’ll use. Who knows, maybe someone is listening as it continues to be a problem for me and doubles the work.

From: RΓ©mi Bezeux @.> Sent: Tuesday, July 30, 2024 4:21 AM To: elementor/elementor @.> Cc: Don Rodger @.>; Comment @.> Subject: Re: [elementor/elementor] πŸ”— 🐞 Bug Report: Elementor Pro conflicting with Ninja Form's ReCaptcha v3 (Related to #20319) (Issue #20285)

You don't often get email from @.*** Learn why this is importanthttps://aka.ms/LearnAboutSenderIdentification

Hi, Still happening for me, very disturbing and side effect on cookie management / optin

β€” Reply to this email directly, view it on GitHubhttps://github.com/elementor/elementor/issues/20285#issuecomment-2257759243, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AWEEQKVQNUKLBFIKRMDFKWTZO5EGTAVCNFSM6AAAAAARYA7XU2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJXG42TSMRUGM. You are receiving this because you commented.Message ID: @.***>