Plugin doesn’t work with Elementor
-
Hi,
The plugin doesn’t work with Elementor. If the plugin is active I can’t add new element in pages.
What can I do?
Thanks,
Maria
-
Hello Maria
Try to add this code in functions.php
add_action(‘elementor/widgets/widgets_registered’, function($widgets_manager)
{
$widgets_manager->unregister_widget_type(‘wp-widget-woof_widget’);
});I have problem too.
That code worked until few days ago.
It does not work now.What next?
Hello
Please contact to elementor support. ask how to exclude a search widget
If no luck – write on envato support – https://codecanyon.net/item/woof-woocommerce-products-filter/11498469/support
Try to add this code in functions.php
add_action(‘elementor/widgets/widgets_registered’, function($widgets_manager)
{
$widgets_manager->unregister_widget_type(‘wp-widget-woof_widget’);
});This the solution
thanks the code provided worked nicely.
If I use that code I get a lot of errors:
Uncaught TypeError: Cannot set property ‘controls’ of undefined
at Object.<anonymous> (editor.min.js:2)
at Function.each (load-scripts.php?c=0&load[]=underscore,shortcode,utils,jquery-core,jquery-migrate,backbone,wp-util,wp-backbone,media-models,moxiejs,plupload,wp-plupload,jqu&load[]=ery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=5.2.2:5)
at Object.success (editor.min.js:2)
at i (load-scripts.php?c=0&load[]=underscore,shortcode,utils,jquery-core,jquery-migrate,backbone,wp-util,wp-backbone,media-models,moxiejs,plupload,wp-plupload,jqu&load[]=ery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=5.2.2:5)
at Object.fireWith [as resolveWith] (load-scripts.php?c=0&load[]=underscore,shortcode,utils,jquery-core,jquery-migrate,backbone,wp-util,wp-backbone,media-models,moxiejs,plupload,wp-plupload,jqu&load[]=ery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=5.2.2:5)
at Object.e.<computed> [as resolve] (load-scripts.php?c=0&load[]=underscore,shortcode,utils,jquery-core,jquery-migrate,backbone,wp-util,wp-backbone,media-models,moxiejs,plupload,wp-plupload,jqu&load[]=ery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=5.2.2:5)
at common.min.js:2
at Array.forEach (<anonymous>)
at success (common.min.js:2)
at Object.i.success (common.min.js:2)Warning: Use of undefined constant �elementor – assumed ‘�elementor’ (this will throw an Error in a future version of PHP) in /public_html/wp-content/themes/electro-child/functions.php on line 146
Warning: Use of undefined constant widgets – assumed ‘widgets’ (this will throw an Error in a future version of PHP) in /public_html/wp-content/themes/electro-child/functions.php on line 146
Warning: A non-numeric value encountered in /public_html/wp-content/themes/electro-child/functions.php on line 146
Warning: A non-numeric value encountered in /public_html/wp-content/themes/electro-child/functions.php on line 146
Warning: Division by zero in /public_html/wp-content/themes/electro-child/functions.php on line 146
Warning: Use of undefined constant widgets_registered� – assumed ‘widgets_registered�’ (this will throw an Error in a future version of PHP) in /public_html/wp-content/themes/electro-child/functions.php on line 146
Warning: A non-numeric value encountered in /public_html/wp-content/themes/electro-child/functions.php on line 146
Warning: Division by zero in /public_html/wp-content/themes/electro-child/functions.php on line 146
Do you have antoher solution?
-
This reply was modified 6 years, 11 months ago by
SLV.
Same problem, and the code snippet does not work. Elementor support states that this is a WOOF issue. With WOOF disabled everything works fine.
SOLVED – It’s because of a copypaste error, where it changes the ‘ symbol to a different one. Simply manually delete and retype the ‘ symbols and it’ll work – both Elementor and WOOF Product Filter.
Screenshots here if above is unclear: https://pixl.my/solved-woof-product-filter-conflict-with-elementor/
Cheerio 🙂
Yes! Thank u!
-
This reply was modified 6 years, 11 months ago by
The topic ‘Plugin doesn’t work with Elementor’ is closed to new replies.