• Resolved barbeapapier

    (@barbeapapier)


    Hi,
    I use your plugin for long time now, since the version 1.
    In the last update I’ve some problems:

    – I use the filter-examples for adjust theme modifications to your plugins, you can see it in the link, do you have delete this possibility ? I’ve don’t see in the plugin file so I’ve add it manually.

    – I’ve an error with the last update 3.2.2 ( from screen_icon() at WC-Gateway-Tab-Colissimo.php:57 this function was deprecated after WP 3.8 ).

    – And Crash the plugin seems to crash Firefox when I select a Pick Up from the Checkout Page, after select the pickup the Google Map block seems to be busy, but only in Firefox (last version), in Chrome no problems.

    Can you see if my problems was anormal ?

    Thanks.

    Best Regards.

    Didier

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Halyra

    (@harasse)

    Hi,
    – No filter has been removed in successive versions of CDI. They obviously changed their place in the modules when restructured.
    – screen_icon () will be deleted.
    – I do not see how CDI can interact on your Firefox browser. It’s more likely a JS script that loops somewhere.

    Thread Starter barbeapapier

    (@barbeapapier)

    Ok,
    Where I can find filters now?

    I think crashes comes with the Gmap JS, can I send you my filters to see if anything is wrong?

    (My last update on filters come from thé v2 of CDI)

    Thanks

    Didier

    Plugin Author Halyra

    (@harasse)

    Bonjour,
    Je viens d’aller sur votre site. Tout à l’air de fonctionner correctement.
    Merci de m’indiquer le nom des filtres qui poseraient problème.

    Thread Starter barbeapapier

    (@barbeapapier)

    Hi,
    I’ve another problem, many customer get blank_page on login, I’ve see in debug.log and i found this:

    [08-Apr-2018 13:51:51 UTC] PHP Fatal error:  Uncaught Error: Call to a member function has_weight() on null in /var/www/vhosts/ns334252.ip-5-196-64.eu/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-cart.php:676
    Stack trace:
    #0 /var/www/vhosts/ns334252.ip-5-196-64.eu/httpdocs/wp-content/plugins/woocommerce/includes/legacy/class-wc-legacy-cart.php(121): WC_Cart->get_cart_contents_weight()
    #1 /var/www/vhosts/ns334252.ip-5-196-64.eu/httpdocs/wp-content/plugins/colissimo-delivery-integration/includes/WC-colissimo-shipping-zone.php(498): WC_Legacy_Cart->__get('cart_contents_w...')
    #2 /var/www/vhosts/ns334252.ip-5-196-64.eu/httpdocs/wp-content/plugins/colissimo-delivery-integration/includes/WC-colissimo-shipping-zone.php(223): Class_Colissimo_Shipping_Function->calculate_shipping(Array, Object(Class_Colissimo_Shipping))
    #3 /var/www/vhosts/ns334252.ip-5-196-64.eu/httpdocs/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-shipping-method.php(207): Class_Colissimo_Shipping->calculate_shipping(Array)
    #4 /var/www/vhosts/ns334252.ip-5-196-64.e in /var/www/vhosts/ns334252.ip-5-196-64.eu/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-cart.php on line 676

    I think it’s possible caused by an empty cart and line 498 in WC-colissimo-shipping-zone.php : $weight = (float)$woocommerce->cart->cart_contents_weight;
    I’ve change to this: $weight = ($woocommerce->cart->is_empty) ? 0 : (float)$woocommerce->cart->cart_contents_weight;.
    I think it’s better to check if cart is not empty before calculate the cart weight.
    Can you help me if you see another problem in the 5 lines of log?
    Thank’s

    Didier

    • This reply was modified 6 years, 7 months ago by barbeapapier.
    Thread Starter barbeapapier

    (@barbeapapier)

    Problem resolved by disable Dynamic Pricing WooCommerce plugin.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Little Errors and Firefox Crashes’ is closed to new replies.