It had too many problems
A math book literally HAS too many problems (exercises). But 'too many problems' in human terms means life difficulties. Same phrase, perfect double meaning.