My residency visa expired in Spain 8 months ago. I'm still in Spain and want to travel to Portugal. My passport was stolen so I renewed it. So I have a blank passport, no stamps of arrival. Will I have a problem traveling from one Schengen area to another with a blank passport?

So you are illegally in Spain ?? What happens if you are caught, most probably deported because you don't have a corresponding visa for your stay. Do you want to risk deportation ?
– DumbCoderNov 15 '19 at 8:52

What is your mode of transport? If you drive there's no border control. You're likely to get caught in an airport / not being allowed to fly by airport staff without a visa.
– BritishSamNov 15 '19 at 9:13

2

Presumably you reported your stolen passport to the Spanish police, who will have a record of it including presumably your date of entry and visa expiry?
– TravellerNov 15 '19 at 10:20