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

Error in /data/core/classes/DB.php #2229

Closed
wiruwiru opened this issue Apr 8, 2021 · 1 comment
Closed

Error in /data/core/classes/DB.php #2229

wiruwiru opened this issue Apr 8, 2021 · 1 comment

Comments

@wiruwiru
Copy link

wiruwiru commented Apr 8, 2021

When I want to change the general settings (language and time zone) I get this error but I honestly have no idea how to solve it, I know it is something from mysql but I don't know if you have to touch the .php file or it is fixed from phpmyadmin

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 '' at line 1 in /data/core/classes/DB.php:76
Stack trace:
#0 /data/core/classes/DB.php(76): PDOStatement->execute()
#1 /data/core/classes/DB.php(195): DB->createQuery('UPDATE nl2_lang...', Array)
#2 /data/core/classes/Queries.php(44): DB->update('nl2_languages', NULL, Array)
#3 /data/modules/Core/pages/panel/general_settings.php(105): Queries->update('languages', NULL, Array)
#4 /data/index.php(86): require('/data/modules/C...')
#5 {main}
@wiruwiru
Copy link
Author

wiruwiru commented Apr 8, 2021

Fix it manually modifying the language from phpmyadmin from your nl2_languages ​​table

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

No branches or pull requests

1 participant