• pablog

    (@pablogutierrez)


    Hi,

    Since a few days, we are having issues with Hello Theme. The website takes a long time to load.

    We looked at the error logs and we see Hello Theme has issues with WooCommerce (check screenshot):

    We are using version 3.4.4.

    We switched to another theme and the website is back at full speed.

    Anyone else having this issue?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Rica

    (@ricav)

    Hi @pablogutierrez,

    Could you please share the website URL so we can investigate the issue further?

    Thanks!

    Nicola Peluchetti

    (@nicolapeluchetti)

    @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.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Strange Theme Issue – WC Doing It Wrong’ is closed to new replies.