Thread:Extension talk:BlockandNuke/Call to undefined method Block::infinity()/reply

What version of MediaWiki are you running? The Block::infinity function was introduced in 1.8. Definitely upgrade.