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

Fatal error when running under MariaDB #90

Open
jonasraoni opened this issue Jun 21, 2024 · 0 comments
Open

Fatal error when running under MariaDB #90

jonasraoni opened this issue Jun 21, 2024 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@jonasraoni
Copy link
Collaborator

The error is happening at the last step, where the plugin does some cleanup (remove not existing issues/deposits), which should be not needed anymore after adding foreign keys to the entities on the +3.4 releases.

Source: https://forum.pkp.sfu.ca/t/pkp-pn-impossible-to-deposit-most-of-our-issues/88989/3

Fatal error:  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 'as `do` where `do`.`journal_id` not in (select `j`.`journal_id` from `journal...' at line 1 in /var/www/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Connection.php:566
Stack trace:
#0 /var/www/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Connection.php(566): PDO->prepare()
#1 /var/www/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Connection.php(753): Illuminate\\Database\\Connection->Illuminate\\Database\\{closure}()
#2 /var/www/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Connection.php(720): Illuminate\\Database\\Connection->runQueryCallback()
#3 /var/www/lib/pkp/lib/vendor/lar...'
@jonasraoni jonasraoni added the bug Something isn't working label Jun 21, 2024
@jonasraoni jonasraoni added this to the 2.0.4-5 milestone Jun 21, 2024
@jonasraoni jonasraoni self-assigned this Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant