-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
Activation fails in 1.8.9 due to a code error #300
Comments
@yetanotherse I'll do some testing on this today. I've seen some folks report this issue but I haven't been able to reproduce it, so I can't tell what environment is causing/preventing it. If I can't reproduce it, i'll test your PR and make sure it doesn't cause any issues, and I'll approve it if it doesn't. |
@jonathanstegall Sounds good, thanks. Here is my environment. WordPress 4.9.8 Having said that, I guess the issue should be reproducible on any system when trying to activate the plugin since the execution context for |
@yetanotherse you're right that it's incorrect. I'm not sure why it doesn't always have an error for that. Maybe many configs are more forgiving. In any case I'll accept the fix. |
…led version, as that is the only way a user would have those indexes to drop.
Describe the bug
On trying to activate the plugin, you get the following error.
To Reproduce
Steps to reproduce the behavior:
1.8.9
version of Object Sync in WPExpected behavior
Plugin should get activated
Environment (please complete the following information):
Solution
Found that the reference to
wpdb
is being used withoutthis
inactivate.php
on like 143 and 144 which was causing the issue. Replacing$wpdb
with$this->wpdb
fixes the issue.Will create a pull request for the same.
The text was updated successfully, but these errors were encountered: