• Resolved WC Lovers

    (@wclovers)


    Hi,

    Congratulation for the great plugin.

    We are trying to work with your plugin but stuck at a difficult position, wp-admin dashboard getting blank.

    Let me define the issue for you:

    You have “WC()->cart->is_empty()” checking at “offers-for-woocommerce\public\class-offers-for-woocommerce.php on line 2082” at “woocommerce_coupons_enabled” filter.

    We are trying to access “wc_coupons_enabled” for some checking but your plugin breaks with error “Fatal error: Uncaught Error: Call to a member function is_empty() on null in C:\wamp64\www\wcm\wp-content\plugins\offers-for-woocommerce\public\class-offers-for-woocommerce.php on line 2082”.

    We have written our code under “is_admin()” but your code should be under “!is_admin()” as “WC()->cart” can not be accessable under “is_admin()”.

    Hope we can make the issue clear to you.

    Please fix this ASAP, otherwise users can’t use both plugins together.

    Thank You

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi @wclovers,

    Thanks for the nice words, Well I’m sorry for the inconvenience we need to take a look at our code, I have added this to our git repo and assigned our lead developer to it. We will see and make necessary adjustments , if required, and will update you here when there will be an update on this.

    We appreciate your patience. Thanks

    Thread Starter WC Lovers

    (@wclovers)

    Hi @angelleyesupport,

    Thanks for your reply and cooperation.

    We will wait for your positive response and update our customers accordingly.

    Thank You

    Thread Starter WC Lovers

    (@wclovers)

    @angelleyesupport

    Any update yet !!!

    Its almost a week passed, can you please give any ETA ??

    Thank You

    Plugin Contributor angelleye

    (@angelleye)

    Sorry for the delay on this. It’s probably going to be a couple of weeks we’re able to focus on this, unfortunately. Being a free plugin it can be difficult for us to make it a priority. We’re excited about the potential of this plugin, though, so we’ll definitely get to it ASAP!

    It looks like you’re familiar with how to fix the problem in the code, so if you want to apply the change and submit a pull request to our GitHub repo we’d be happy to merge it in!

    I have this issue and you have a great plugin, but if I need to choose I will choose WCFM, please fix it

    Plugin Contributor angelleye

    (@angelleye)

    @jarco01, thanks for the feedback. we’ll get it fixed ASAP!

    Plugin Contributor angelleye

    (@angelleye)

    We have resolved this issue in our GitHub repo and it will be included in the 1.4.8 update that we will be releasing soon.

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

The topic ‘“wc_coupons_enabled” corrupted’ is closed to new replies.