Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Ewout

    (@pomegranate)

    Hi Trevor,
    Thanks for reporting that error! I’ve just pushed a new version (1.2.12), that should fix this issue. Let me know if you’re still having issues though!

    Ewout

    Thread Starter Trevor Gehman

    (@trevorgehman)

    Actually I still have the issue even after the update. I added this line above 506 and it seems to fix it:

    if(!is_array($tax_rates)) $tax_rates = array();

    It looks like the implode() function on line 506 is being passed $tax_rates, but it isn’t an array for some reason in some cases.

    Plugin Contributor Ewout

    (@pomegranate)

    Hi Trevor,
    That will actually break the tax functionality, as it will overwrite the $tax_rates with an empty array. I had already cast the array in the fix, but forgot to change the code somewhere else too, sorry about that.

    1.2.13 should solve this now for once and for all, but do let me know if you’re still having issues – the part that is causing this is actually a fallback function in case WooCommerce does not properly return taxes and I’m not sure when (or why) it does that…

    Thanks for the feedback!
    Ewout

    Plugin Contributor Ewout

    (@pomegranate)

    @trevorgehman can you confirm that the issue is now resolved?

    Plugin Contributor Ewout

    (@pomegranate)

    I just got feedback from another user that had this same issue and she confirms that it is solved in the latest release, so I’m closing this topic for now. Let me know if you find anything though!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Warning implode for tax rate query’ is closed to new replies.