Web Hosting
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix customweb GMbH WooCommerce Barclaycard

Discussion in 'Misc WordPress Requests' started by sohrabiravani, Nov 23, 2017.

  1. sohrabiravani


    customweb GMbH WooCommerce Barclaycard, by sohrabiravani

    Hi Guys,

    If your using the customweb GMbH WooCommerce Barclaycard Plugin you may have come across this issue with the latest version of WordPress or Woocommerce;

    Uncaught ReferenceError: columns is not defined
    at Object.initToggles (load-scripts.php:52)
    at Object.init (load-scripts.php:52)
    at HTMLDocument.<anonymous> (load-scripts.php:52)
    at i (jquery.js:2)
    at Object.fireWith [as resolveWith] (jquery.js:2)
    at Function.ready (jquery.js:2)
    at HTMLDocument.K (jquery.js:2)

    To fix this issue go to your plugins folder => woocommerce_barclaycardcw/classes/BarclaycardCw/AbstractPaymentMethod.php on line 221 find;

    if (!isset($woocommerce->cart->totalCalculatedCw)) {

    Change to;

    if (!isset($woocommerce->cart->totalCalculatedCw)) {
    if( ! $woocommerce || !isset($woocommerce->cart->totalCalculatedCw) ) return;

    customweb GMbH WooCommerce Barclaycard

Share This Page

Web Hosting