Did a frog get into the machine? Seriously it maybe that someone has put a green bath bomb in it. Or something similar. Run it empty on a pre wash a couple of times.
Thank you I’ll try that
someone has put green soap in it
but you might want get it checked out