Oh dear, oh dear, oh dear.
Candidate for “Hapless dev of the Year” award.
Credit where credit's due.