Hi @pablogutierrez,
Could you please share the website URL so we can investigate the issue further?
Thanks!
@pablogutierrez I looked at this, so what is causing the notice is actually WooCommerce, basically something at some point is accessing a property of the coupon object incorrectly, using PHP magic methods. This triggers the warning you see in the logs but in general it should not slow down the site.
Our theme basically does very little and has no direct interactions with WooCommerce, what it does is the following:
/*
* WooCommerce.
*/
if ( apply_filters( ‘hello_elementor_add_woocommerce_support’, true ) ) {
// WooCommerce in general.
add_theme_support( ‘woocommerce’ );
// Enabling WooCommerce product gallery features (are off by default since WC 3.0.0).
// zoom.
add_theme_support( ‘wc-product-gallery-zoom’ );
// lightbox.
add_theme_support( ‘wc-product-gallery-lightbox’ );
// swipe.
add_theme_support( ‘wc-product-gallery-slider’ );
}
and this conditionally loads some things in elementor-pro which has an integration with WooCommerce. Maybe adding these supports causes another plugin to trigger and this causes an increase in processing times.
Could you go to system info ( Under Elementor -> System info ) and copy here the data about your system so we can try to have a look at what is happening?
Thread Starter
pablog
(@pablogutierrez)
Hi Nicola and Rica,
Thanks for your help.
It was our mistake! A few years ago we added an old code inside functions.php related to WooCommerce Coupons.
We removed our code and works perfect.
Thanks again for your time.