I had PHPBB3 ver 3.0.8
Then i made MOD implement. Forum_sort_order from
phpbb. com /community/ viewtopic.php?t=587765
Then any new threads did not appear in the forum only it showed when i sort it by Descending - i thought it was some bug
Immediatelly i did upgrade the Forum to 3.0.9 and now it worse.
i get the message in the viewforum.php
bodyworks .pl /b-forum/ viewforum.php?f=3
SQL ERROR [ mysqli ]
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ASC LIMIT 25' at line 7 
SELECT t.topic_id FROM bf_topics t WHERE t.forum_id = 3 AND t.topic_type IN (0, 1) ORDER BY t.topic_type DESC, ASC LIMIT 25
Can Anybody help me fix it ?
i can provide FTP access.