Woocommerce Coupon code error: Invalid module output. Expected Object, but found Array

Hello. I have issue with woocommerce generate coupon code. It worked fine and suddenly 2 days ago it stopped, and it is givingi me error: Invalid module output. Expected Object, but found Array

I have tried a lot of things but nothing has helped me. Can anyone help me?