SMF Repair Database - Duplicate Entry
Duplicate entries might give you an error when trying to do repair and maintenance on your SMF. It was a big bug in SMF 1 and if not corrected back then it continues into SMF 2. The best thing to do is go into SMF's database via PHPMyAdmin and delete the topics that have 0 entries then you will be able to repair normally.