profile
viewpoint

Ask questionsConflict between YOAST SEO and The Plus Addons widgets

<!-- Please use this template when creating an issue.

  • Please check the boxes after you've created your issue.
  • Please use the latest version of Yoast SEO.-->
  • [x] I've read and understood the contribution guidelines.
  • [x] I've searched for any related issues and avoided creating a duplicate issue.

Please give us a description of what happened.

I noticed there was a bug when using an Elementor widget from The Plus Addons collection (https://theplusaddons.com/widgets/) with YOAST SEO activated.

When using a widget such as “Style Lists” (free) or “Image cascading” (Pro)

When I start editing the fields to the left of the screen, after some clicking it get stuck and indicate an error in the inspector console.

The select2('destroy') method was called on an element that is not using Select2. select2.full.min.js:1:73251 select2 [site_URL]/wp-content/plugins/wordpress-seo/js/dist/select2/select2.full.min.js?ver=4.0.3:1 jQuery 2 select2 [site_URL]/wp-content/plugins/wordpress-seo/js/dist/select2/select2.full.min.js?ver=4.0.3:1 destroy [site_URL]/wp-content/plugins/elementor/assets/js/editor.min.js?ver=3.1.4:2 onBeforeDestroy [site_URL]/wp-content/plugins/elementor/assets/js/editor.min.js?ver=3.1.4:2 Backbone 5 Underscore 2 Backbone 5 onSortStop [site_URL]/wp-content/plugins/elementor/assets/js/editor.min.js?ver=3.1.4:2 each jQuery onSortStop [site_URL]/wp-content/plugins/elementor/assets/js/editor.min.js?ver=3.1.4:2 jQuery 19 The error seems to indicate a conflict between a YOAST SEO file and the widget.

The full elementor page seems locked after that and I have to quit or refresh.

When I descativate YOAST SEO, I can edit the widget without any trouble.

Thanks fo your help

How can we reproduce this behavior?

  1. Install Elementor, The Plus Addons and Yoast SEO
  2. Create a new page -> Edit with elementor
  3. Insert a new plus addons widget (Style List for example)
  4. Edit the widget -> click several time on "list item 1", "list item 2" and "list item 3" until one of it disapears (you can also observe the error sus-mentioned in the inspector view of Firefox/chrome)

Technical info

Wordpress 5.7.1 Theme : Hello Elementor Plugins : The Plus Addons for Elementor Page Builder Lite v 2.0.7 The Plus Addons for Elementor Page Builder v 4.1.10 Yoast SEO Version 16.1.1 Elementor Version 3.1.4 Elementor Pro Version 3.2.1

  • Relevant plugins in case of a bug: <!-- Please make sure you can reproduce this bug with a default theme such as Twenty Seventeen. Sometimes issues may occur due to theme conflicts. -->
  • Tested with theme: Hello Elementor Twenty Seventeen
Yoast/wordpress-seo

Answer questions vdefives

Hello,

Thanks for your quick answer.

You can actually get the bug with the free version of The Plus Addons : https://wordpress.org/plugins/the-plus-addons-for-elementor-page-builder/

I tried it and obtain the bug with the widget "Hovercard" by clicking several time alternatively on 3 items I created in the left panel.

We can see the bug on the screenshot : one of the item become white and the elementor get stuck.

Screenshot

useful!
source:https://uonfu.com/
Github User Rank List