-
Notifications
You must be signed in to change notification settings - Fork 36
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
Problem with backticks in queries #2
Comments
I'm getting the same exact error! |
Hi, |
In the file includes/functions.php there are two instances where the backticks on "mlg.group" are causing errors. I had to remove both, and I suspect such backticks also caused an error for me just now when the plugin allowed a user to register for a second level in the group where they're only allowed one level at a time. The plugin was supposed to cancel the user's membership to the previous level. Please fix this asap! Thanks a lot. |
Pull request to resolve this issue: #5 |
Hi,
MySql (5.5.53/Linux) complains about backtics in queries, e.g. this is the error I get when opening page "Membership Levels":
WordPress database error Unknown column 'mlg.group' in 'field list' for query SELECT
mlg.groupFROM wp_pmpro_membership_levels_groups mlg WHERE
level= -1
I had to remove all backticks in pmpro-multiple-memberships-per-user/includes/functions.php to make it work.
Thank you
The text was updated successfully, but these errors were encountered: