You are lost wrong topic.
ok see this $sql = "SELECT COUNT(*) id,type FROM wcddl_downloads GROUP BY type ORDER BY id DESC";
mean in your database are empty types in 63 downloads i guess are the template
SELECT * FROM wcddl_downloads where type=' '
or
SELECT DISTINCT type from wcddl_downloads
or in php select * from wcddl_downloads where type!= $core->allowed_types
also check in wcfg if the categories (allowed_types) are ok.
The quikly fix
find in funcs.php
add after the last mysql_query
[code=php:27ceiayi]<span class="syntaxdefault">
****mysql_query</span><span class="syntaxkeyword">(</span><span class="syntaxstring">"delete*from*wcddl_downloads* where*title*=''*or*url=''*or*type=''*or*dat*=''*"</span><span class="syntaxkeyword">);
*</span><span class="syntaxdefault"></span>[/code:27ceiayi]