Codoforum related discussions
Strange error after send message

I have Codoforum v.3.4 beta. After send post I had this error:

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 1064 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 '-20' at line 1' in /home/cnk/domains/polecamwbielsku.pl/public_html/sys/CODOF/Forum/Post.php:53 Stack trace: #0 /home/cnk/domains/polecamwbielsku.pl/public_html/sys/CODOF/Forum/Post.php(53): PDO->query('SELECT u.id, r....') #1 /home/cnk/domains/polecamwbielsku.pl/public_html/sys/Controller/Ajax/forum/topic.php(84): CODOF\Forum\Post->get_posts(8, -1) #2 /home/cnk/domains/polecamwbielsku.pl/public_html/sys/Controller/forum.php(373): Controller\Ajax\forum\topic->get_posts(8, -1, Array) #3 /home/cnk/domains/polecamwbielsku.pl/public_html/routes.php(879): Controller\forum->topic(8, ' Test message?') #4 [internal function]: {closure}('8', 'Test message 2 ', ' Test3?') #5 /home/cnk/domains/polecamwbielsku.pl/public_html/sys/Ext/limonade/limonade.php(429): call_user_func_array(O in /home/cnk/domains/polecamwbielsku.pl/public_html/sys/CODOF/Forum/Post.php on line 53

How I can fix this?

I have Codoforum v.3.4 beta. After send post I had this error: ```` Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 1064 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 '-20' at line 1' in /home/cnk/domains/polecamwbielsku.pl/public_html/sys/CODOF/Forum/Post.php:53 Stack trace: #0 /home/cnk/domains/polecamwbielsku.pl/public_html/sys/CODOF/Forum/Post.php(53): PDO->query('SELECT u.id, r....') #1 /home/cnk/domains/polecamwbielsku.pl/public_html/sys/Controller/Ajax/forum/topic.php(84): CODOF\Forum\Post->get_posts(8, -1) #2 /home/cnk/domains/polecamwbielsku.pl/public_html/sys/Controller/forum.php(373): Controller\Ajax\forum\topic->get_posts(8, -1, Array) #3 /home/cnk/domains/polecamwbielsku.pl/public_html/routes.php(879): Controller\forum->topic(8, ' Test message?') #4 [internal function]: {closure}('8', 'Test message 2 ', ' Test3?') #5 /home/cnk/domains/polecamwbielsku.pl/public_html/sys/Ext/limonade/limonade.php(429): call_user_func_array(O in /home/cnk/domains/polecamwbielsku.pl/public_html/sys/CODOF/Forum/Post.php on line 53 ```` How I can fix this?
edited Sep 2 '16 at 1:36 am
153
1
2
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft