• Resolved damianlpn

    (@damianlpn)


    When i go to the cart page I’ve got following error:

    Fatal error: Uncaught Error: Call to undefined function WC() in /home/hostingname/www/wp-content/plugins/flexible-shipping/inc/functions.php:4 Stack trace: #0 /home/hostingname/www/wp-content/plugins/flexible-shipping/classes/table-rate/multilingual.php(41): flexible_shipping_get_all_shipping_methods() #1 /home/hostingname/www/wp-includes/class-wp-hook.php(287): WPDesk_Flexible_Shipping_Multilingual->init_polylang(”) #2 /home/hostingname/www/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #3 /home/hostingname/www/wp-includes/plugin.php(484): WP_Hook->do_action(Array) #4 /home/hostingname/www/wp-settings.php(557): do_action(‘init’) #5 /home/hostingname/www/wp-config.php(76): require_once(‘/home/hostingname…’) #6 /home/hostingname/www/wp-load.php(37): require_once(‘/home/lpnplanta…’) #7 /home/lpnplantay/www/wp-blog-header.php(13): require_once(‘/home/hostingname…’) #8 /home/lpnplantay/www/index.php(17): require(‘/home/hostingname…’) #9 {main} thrown in /home/hostingname/www/wp-content/plugins/flexible-shipping/inc/functions.php on line 4

    There has been a critical error on this website.

    Wordpress version: 5.6.2
    Woocommerce version: 4.8.0
    Plugin version: 4.1.0
    PHP version: 7.3.27

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author grola

    (@grola)

    Hi,

    we are working on a fix.

    Plugin Author grola

    (@grola)

    Hi,

    we just released a new version. Let us know if it works now.

    Best regards
    Grzegorz

    Thread Starter damianlpn

    (@damianlpn)

    Hi Grzegorz,
    I appreciate your quick reply and update.
    It seems to fix but unfortunately, it shows the same error for the other plugin.
    Can it be related to conflict with your plugin?

    Fatal error: Uncaught Error: Call to undefined function WC() in /home/hostingname/www/wp-content/plugins/eu-vat-for-woocommerce-pro/includes/class-alg-wc-eu-vat-core.php:474 Stack trace: #0 /home/hostingname/www/wp-includes/class-wp-hook.php(287): Alg_WC_EU_VAT_Core->maybe_exclude_vat(”) #1 /home/hostingname/www/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #2 /home/hostingname/www/wp-includes/plugin.php(484): WP_Hook->do_action(Array) #3 /home/hostingname/www/wp-settings.php(557): do_action(‘init’) #4 /home/hostingname/www/wp-config.php(76): require_once(‘/home/hostingname…’) #5 /home/hostingname/www/wp-load.php(37): require_once(‘/home/hostingname…’) #6 /home/hostingname/www/wp-blog-header.php(13): require_once(‘/home/hostingname…’) #7 /home/hostingname/www/index.php(17): require(‘/home/hostingname…’) #8 {main} thrown in /home/hostingname/www/wp-content/plugins/eu-vat-for-woocommerce-pro/includes/class-alg-wc-eu-vat-core.php on line 474

    Best regards,
    Damian

    Plugin Author grola

    (@grola)

    Hi,

    what happens when you deactivate Flexible Shipping? The error still occurs?

    • This reply was modified 4 years ago by grola.
    Thread Starter damianlpn

    (@damianlpn)

    Hi Grzegorz,

    After deactivation flexible shipping problem still occurs so i guess it’s the other plugin problem.

    Thanks for your help i really appreciate your qucik reply.

    Best regards,
    Damian

    • This reply was modified 4 years ago by damianlpn.
    Plugin Author grola

    (@grola)

    Hi Damian,

    Thank you for the information.

    Best regards,
    Grzegorz

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Fatal error: Call to undefined function WC()’ is closed to new replies.