Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author PixelYourSite

    (@pixelyoursite)

    Hello,

    I notice you posted a similar question to their support forum, with some extra details.

    Since the last WooCommerce/Wordpress update I’m having the following error when applying the discounts:?Fatal error: Uncaught Error: in_array(): Argument #2 ($haystack) must be of type array, null given
    in?/home/phytogenmf/www/wp-content/plugins/woo-advanced-discounts/includes/class-wad-discount.php?on line?546

    Since this seems to be something related to this particular plugin (no mention of PixelYourSite in the errors message), it’s probably best they look into it.

    I tried to replicate the problem, but I was able to place an order with any issues when a discount was applied. So, if they can’t fix it on their end, we will need access to a staging environment where we can replicate the issue.

    Thread Starter cmgmunoz

    (@cmgmunoz)

    Hi,

    OK i will wait to their answer. Anyway, you were not able to replicate the error as I deactivate your plugin temporaly until finding a solution, otherwise I will have purchases issues…

    Regards,

    Plugin Author PixelYourSite

    (@pixelyoursite)

    I tried to replicate it on our test site by installing the discount plugin and placing an order with a discount. Everything worked fine for this test.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Compatibility problem with Discounts plugin’ is closed to new replies.