<br />
<b>Warning</b>:  pg_query() [<a href='function.pg-query'>function.pg-query</a>]: Query failed: ERROR:  invalid input syntax for integer: &quot;&quot;
LINE 1: ...read.blocked  FROM forum_thread WHERE thread_id = '' LIMIT 1
                                                             ^ in <b>/wikidot/app/lib/ozone/php/core/database/PgConnection.php</b> on line <b>100</b><br />
A nasty error has occurred. If the problem repeats, please fill (if possible) a bug report.<br/><br/>exception 'OzoneDatabaseException' with message 'error: ERROR:  invalid input syntax for integer: ""
LINE 1: ...read.blocked  FROM forum_thread WHERE thread_id = '' LIMIT 1
                                                             ^
' in /wikidot/app/lib/ozone/php/core/database/PgConnection.php:103
Stack trace:
#0 /wikidot/app/lib/ozone/php/core/database/BaseDBPeer.php(96): PgConnection->query('SELECT   forum_...')
#1 /wikidot/app/lib/ozone/php/core/database/BaseDBPeer.php(109): BaseDBPeer->selectByExplicitQuery('WHERE thread_id...')
#2 /wikidot/app/lib/ozone/php/core/database/BaseDBPeer.php(555): BaseDBPeer->selectOneByExplicitQuery('WHERE thread_id...')
#3 /wikidot/app/php/screens/feed/PageCommentsFeed.php(78): BaseDBPeer->selectByPrimaryKey(NULL)
#4 /wikidot/app/php/utils/FeedScreen.php(12): PageCommentsFeed->build(Object(RunData))
#5 /wikidot/app/php/screens/feed/PageCommentsFeed.php(34): FeedScreen->render(Object(RunData))
#6 /wikidot/app/php/utils/FeedFlowController.php(169): PageCommentsFeed->render(Object(RunData))
#7 /wikidot/app/web/feed.php(48): FeedFlowController->process()
#8 {main}