In short, my cat, aged around 15 I think (I rehomed her so we're not entirely sure of her age) has just started weeing and pooing indoors, on the carpet, in the bathroom, kitchen and the living room. She's previously been perfectly happy to go outdoors and this is out of character.
I've put out a litter tray but any idea why she's suddenly doing this? I have a toddler so really keen to nip this in the bud before she scoops up a poo!