Fatal error

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #91689
    Alain Rihs
    Participant

    Hi.

    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.

    #91690
    Moshtafizur
    Moderator
    Plugin Support

    Hello Alain,

    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.

    Kind regards,
    Moshtafizur

    #91691
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Alain,

    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.

    #91692
    Alain Rihs
    Participant

    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.

    #91759
    Alain Rihs
    Participant

    Sorry, I really don’t know how to fix this error. I’ll ask for a refund and will find another plugin.

    #91940
    Tom Anbinder
    Moderator
    Plugin 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.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.