- Support forum for the Custom Checkout Fields Editor for WooCommerce.
- September 7, 2022 at 7:48 pm #91689
I buy this plugin yesterday and use it successful until I click on orders in wp-admin, then I see the following error :
Fatal error: Uncaught Error: Call to a member function get_cart() on null in /home/clients/f50992efc13090d8613edf60418147c7/web/wp-content/plugins/custom-checkout-fields-for-woocommerce-pro/includes/class-alg-wc-ccf-frontend.php:596 Stack trace: #0 /home/clients/f50992efc13090d8613edf60418147c7/web/wp-content/plugins/custom-checkout-fields-for-woocommerce-pro/includes/class-alg-wc-ccf-frontend.php(126): Alg_WC_CCF_Frontend->is_visible(4) #1 /home/clients/f50992efc13090d8613edf60418147c7/web/wp-includes/class-wp-hook.php(307): Alg_WC_CCF_Frontend->default_address_fields(Array) #2 /home/clients/f50992efc13090d8613edf60418147c7/web/wp-includes/plugin.php(191): WP_Hook->apply_filters(Array, Array) #3 /home/clients/f50992efc13090d8613edf60418147c7/web/wp-content/plugins/woocommerce/includes/class-wc-countries.php(765): apply_filters(‘woocommerce_def…’, Array) #4 /home/clients/f50992efc13090d8613edf60418147c7/web/wp-content/plugins/woocommerce/includes/class-wc-countries.php(1568): WC_Countries->get_default_address_fields() # in /home/clients/f50992efc13090d8613edf60418147c7/web/wp-content/plugins/custom-checkout-fields-for-woocommerce-pro/includes/class-alg-wc-ccf-frontend.php on line 596
Thank you in advance for your help.September 8, 2022 at 10:46 am #91690MoshtafizurModeratorPlugin Support
Thanks for reaching out. I am really sorry to know you are having problems.
I have escalated this with our development team. They will get back to you as soon as they can.
MoshtafizurSeptember 8, 2022 at 3:05 pm #91691Tom AnbinderModeratorPlugin Support
Please update the plugin to the latest v1.7.3 (released just a few minutes ago). Although I couldn’t reproduce the issue on my test server, I’ve added some safe-checks to the code, so I believe the problem should be gone now.
Please give it a try and let me know what you think.September 9, 2022 at 12:34 pm #91692
Thank you very much. But the error is always the same. I made a new order then I went to see the order and the error is always the same.
I can specify that this is an existing site on which I have just installed WooCommerce and your extension.September 29, 2022 at 6:29 am #91759
Sorry, I really don’t know how to fix this error. I’ll ask for a refund and will find another plugin.September 30, 2022 at 6:54 pm #91940Tom AnbinderModeratorPlugin Support
Solved. As we’ve figured out, the Pro plugin version wasn’t updated on Alain’s site (the free plugin version was updated instead). As soon as it was done, the error disappeared.
- You must be logged in to reply to this topic.