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 when upgrading #40

Open
jeferod83 opened this issue Mar 27, 2019 · 0 comments
Open

Error when upgrading #40

jeferod83 opened this issue Mar 27, 2019 · 0 comments

Comments

@jeferod83
Copy link

jeferod83 commented Mar 27, 2019

When upgrading this plugin, an error occurs as follows on the image:

2019-03-27_18-27

The error occurs on file "mod/newsletter/db/upgrade.php" on this commit c4e2309 at line 297:

$sql = "UPDATE {newsletter_deliveries} nd
                SET nd.delivered = (SELECT ni.publishon FROM {newsletter_issues} ni WHERE ni.id = nd.issueid)";

because the "SET" clause on PostgreSQL doesn't accept "shortcuts". Removing the first "nd" solves this problem.

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