• Resolved skafte

    (@skafte)


    Hi there,

    I just updated WooCommerce to 6.6 and was immediately presented with this error code:

    Fatal error: Uncaught Error: Call to undefined function WC() in /home/customer/www/[DOMAIN.COM]/public_html/wp-content/plugins/lagersystem-dk-parcelpickup-locator-for-woocommerce/admin/class-lagersystem-parcelpickup-woocommerce-admin.php:430 Stack trace: #0 /home/customer/www/[DOMAIN.COM]/public_html/wp-includes/class-wp-hook.php(307): Lagersystem_Parcelpickup_Woocommerce_Admin->register_shippingoptions('') #1 /home/customer/www/[DOMAIN.COM]/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #2 /home/customer/www/[DOMAIN.COM]/public_html/wp-includes/plugin.php(476): WP_Hook->do_action(Array) #3 /home/customer/www/[DOMAIN.COM]/public_html/wp-admin/admin.php(175): do_action('admin_init') #4 /home/customer/www/[DOMAIN.COM]/public_html/wp-admin/network/admin.php(13): require_once('/home/customer/...') #5 /home/customer/www/[DOMAIN.COM]/public_html/wp-admin/network/update-core.php(11): require_once('/home/customer/...') #6 {main} thrown in /home/customer/www/[DOMAIN.COM]/public_html/wp-content/plugins/lagersystem-dk-parcelpickup-locator-for-woocommerce/admin/class-lagersystem-parcelpickup-woocommerce-admin.php on line 430

    Hope this is useful and thanks for an otherwise great plugin!

    Cheers!

    • This topic was modified 2 years, 5 months ago by skafte.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter skafte

    (@skafte)

    PS. here’s another error code I receive when I try to visit the ‘mother’ site of the multi-site network (seems to potentially be a multisite compatibility issue that appeared when WooCommerce was updated?):

    Fatal error: Uncaught Error: Call to undefined function is_checkout() in /home/customer/www/[DOMAIN.COM]/public_html/wp-content/plugins/lagersystem-dk-parcelpickup-locator-for-woocommerce/public/class-lagersystem-parcelpickup-woocommerce-public.php:301 Stack trace: #0 /home/customer/www/[DOMAIN.COM]public_html/wp-includes/class-wp-hook.php(307): Lagersystem_Parcelpickup_Woocommerce_Public->enqueue_styles('') #1 /home/customer/www/[DOMAIN.COM]/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #2 /home/customer/www/[DOMAIN.COM]/public_html/wp-includes/plugin.php(476): WP_Hook->do_action(Array) #3 /home/customer/www/[DOMAIN.COM]/public_html/wp-includes/script-loader.php(2156): do_action('wp_enqueue_scri...') #4 /home/customer/www/[DOMAIN.COM]/public_html/wp-includes/class-wp-hook.php(307): wp_enqueue_scripts('') #5 /home/customer/www/[DOMAIN.COM]/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #6 /home/customer/www/[DOMAIN.COM]/public_html/wp-includes/plugin.php(476): WP_Hook->do_action in /home/customer/www/[DOMAIN.COM]/public_html/wp-content/plugins/lagersystem-dk-parcelpickup-locator-for-woocommerce/public/class-lagersystem-parcelpickup-woocommerce-public.php on line 301

    Plugin Author lagersystem

    (@lagersystem)

    We have not been able to reproduce this issue, but we have made an attempt to mitigate it anyhow. If this does not solve the issue, then we need either information how to create an installation with the issue from bottom up, or access to an installation where the issue resides.

    Thread Starter skafte

    (@skafte)

    Many thanks @lagersystem!

    Whatever you did seems to have solved the problem ??

    It’s too early to be sure, but it looks like you might, coincidentally, also have solved this problem at the same time(?): https://www.ads-software.com/support/topic/bug-report-woocommerce-subscription-customer-checkout/ – two birds with one stone! ??

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Bug report: Plugin not compatible with WooCommerce 6.6’ is closed to new replies.