Get an fatel error after clicking on "post" of my last thread in this forum:
http://codologic.com/forum/index.php?u=/topic/5673/possibility-to-toggle-show-hide-subforums-on-the-frontsite
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 /usr/share/nginx/html/forum/sys/CODOF/Forum/Post.php:52 Stack trace: #0 /usr/share/nginx/html/forum/sys/CODOF/Forum/Post.php(52): PDO->query('SELECT u.id, r....') #1 /usr/share/nginx/html/forum/sys/Controller/Ajax/forum/topic.php(83): CODOF\Forum\Post->get_posts(5673, -1) #2 /usr/share/nginx/html/forum/sys/Controller/forum.php(354): Controller\Ajax\forum\topic->get_posts(5673, -1, Array) #3 /usr/share/nginx/html/forum/routes.php(812): Controller\forum->topic(5673, 'hide) subforums...') #4 [internal function]: {closure}('5673', 'Possibility to ...', 'hide) subforums...') #5 /usr/share/nginx/html/forum/sys/Ext/limonade/limonade.php(429): call_user_func_array(Object(Closure), Array) #6 /usr/share/nginx/html/forum/sys/CODOF/Access/Request.php(96): run() #7 /us in /usr/share/nginx/html/forum/sys/CODOF/Forum/Post.php on line 52
Get an fatel error after clicking on "post" of my last thread in this forum:
http://codologic.com/forum/index.php?u=/topic/5673/possibility-to-toggle-show-hide-subforums-on-the-frontsite
````
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 /usr/share/nginx/html/forum/sys/CODOF/Forum/Post.php:52 Stack trace: #0 /usr/share/nginx/html/forum/sys/CODOF/Forum/Post.php(52): PDO->query('SELECT u.id, r....') #1 /usr/share/nginx/html/forum/sys/Controller/Ajax/forum/topic.php(83): CODOF\Forum\Post->get_posts(5673, -1) #2 /usr/share/nginx/html/forum/sys/Controller/forum.php(354): Controller\Ajax\forum\topic->get_posts(5673, -1, Array) #3 /usr/share/nginx/html/forum/routes.php(812): Controller\forum->topic(5673, 'hide) subforums...') #4 [internal function]: {closure}('5673', 'Possibility to ...', 'hide) subforums...') #5 /usr/share/nginx/html/forum/sys/Ext/limonade/limonade.php(429): call_user_func_array(Object(Closure), Array) #6 /usr/share/nginx/html/forum/sys/CODOF/Access/Request.php(96): run() #7 /us in /usr/share/nginx/html/forum/sys/CODOF/Forum/Post.php on line 52
````
edited Dec 3 '15 at 5:48 pm