Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PDOException on forum addon #1537

Closed
alsoGAMER opened this issue Jun 25, 2019 · 1 comment
Closed

PDOException on forum addon #1537

alsoGAMER opened this issue Jun 25, 2019 · 1 comment
Labels

Comments

@alsoGAMER
Copy link
Contributor

Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') ORDER BY topics.topic_reply_date DESC LIMIT 50
) UNION (
SEL' at line 2 in /var/www/flarum/core/classes/DB.php:51
Stack trace:
#0 /var/www/flarum/core/classes/DB.php(51): PDOStatement->execute()
#1 /var/www/flarum/modules/Forum/classes/Forum.php(235): DB->query('(\n\t SELE...', Array, 2)
#2 /var/www/flarum/modules/Forum/pages/forum/index.php(71): Forum->getLatestDiscussions('2', Array, '1')
#3 /var/www/flarum/index.php(84): require('/var/www/flarum...')
#4 {main}
thrown in /var/www/nameless/core/classes/DB.php on line 51

@alsoGAMER alsoGAMER changed the title SQLException on forum addon PDOException on forum addon Jun 25, 2019
@samerton
Copy link
Member

Check out this comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants