• Hoi!

    We krijgen een kritische fout in samenwerking met de plugin van Woocommerce WholeSale Prices (normale afrekening werkt wel);

    Fatal error: Uncaught TypeError: Return value of WCMP_Export::getShippingMethod() must be an instance of WC_Shipping_Method or null, bool returned in /customers/e/2/3/iniminihomemade.be/httpd.www/2018/wp-content/plugins/wc-myparcel-belgium/includes/admin/class-wcmp-export.php:1045 Stack trace: #0 /customers/e/2/3/iniminihomemade.be/httpd.www/2018/wp-content/plugins/wc-myparcel-belgium/includes/frontend/class-wcmp-frontend.php(130): WCMP_Export::getShippingMethod('free_shipping:W...') #1 /customers/e/2/3/iniminihomemade.be/httpd.www/2018/wp-content/plugins/wc-myparcel-belgium/includes/frontend/class-wcmp-frontend.php(106): WCMP_Frontend::get_cart_shipping_class() #2 /customers/e/2/3/iniminihomemade.be/httpd.www/2018/wp-content/plugins/wc-myparcel-belgium/includes/frontend/class-wcmp-frontend.php(95): WCMP_Frontend->renderHighestShippingClassInput() #3 /customers/e/2/3/iniminihomemade.be/httpd.www/2018/wp-includes/class-wp-hook.php(287): WCMP_Frontend->injectShippingClassInput('') #4 /customers/e/2/3/iniminihomemade.be/http in /customers/e/2/3/iniminihomemade.be/httpd.www/2018/wp-content/plugins/wc-myparcel-belgium/includes/admin/class-wcmp-export.php on line 1045
    There has been a critical error on this website.

    De layout van de afrekenpagina is ook helemaal veranderd hierdoor.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter JochemJ

    (@jochemj)

    Is er misschien een mogelijkheid om myparcel uit te schakelen voor de orderpage van Wholesale: iets in de aard van;

    function dequeueMyParcel() {
    if (is_page(‘wholesale-page’))
    wp_dequeue_script( ‘???????????????’ );
    }

    add_action(‘wp_enqueue_scripts’, ‘dequeueMyParcel’, 999);

    Plugin Author MyParcel Support

    (@myparcelsupport)

    Hoi @jochemj,

    Als je problemen ondervind met de plugin kan je ook direct met ons contact opnemen. Dit kan je doen door te bellen met ons of te mailen.
    Tel- 023 30 30 315
    Email- support@myparcel.nl

    Ik heb naar de errors gekeken, maar zie nog niet heel duidelijk waar het mis gaat helaas. Welke versie van MyParcel, WooCommerce en WordPress gebruik je op dit moment?

    Ik hoor graag van je,

    Teun Smit
    IT Support MyParcel

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

The topic ‘Critical Error’ is closed to new replies.