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

Deactivate PMPro and some ugliness ensues #2

Open
growdev opened this issue Jul 6, 2016 · 1 comment
Open

Deactivate PMPro and some ugliness ensues #2

growdev opened this issue Jul 6, 2016 · 1 comment
Milestone

Comments

@growdev
Copy link
Contributor

growdev commented Jul 6, 2016

Steps to recreate

  1. This plugin and PMPro are both enabled
  2. Disable PMPro
  3. Debug log ugliness below:
[06-Jul-2016 15:55:06 UTC] PHP Notice:  Undefined property: wpdb::$pmpro_membership_levels in /Users/daniel/sites/convertkit/wp-includes/wp-db.php on line 684
[06-Jul-2016 15:55:06 UTC] PHP Stack trace:
[06-Jul-2016 15:55:06 UTC] PHP   1. {main}() /Users/daniel/sites/convertkit/wp-admin/plugins.php:0
[06-Jul-2016 15:55:06 UTC] PHP   2. require_once() /Users/daniel/sites/convertkit/wp-admin/plugins.php:10
[06-Jul-2016 15:55:06 UTC] PHP   3. do_action() /Users/daniel/sites/convertkit/wp-admin/admin.php:168
[06-Jul-2016 15:55:06 UTC] PHP   4. call_user_func_array:{/Users/daniel/sites/convertkit/wp-includes/plugin.php:525}() /Users/daniel/sites/convertkit/wp-includes/plugin.php:525
[06-Jul-2016 15:55:06 UTC] PHP   5. ConvertKit_PMP_Admin->register_settings() /Users/daniel/sites/convertkit/wp-includes/plugin.php:525
[06-Jul-2016 15:55:06 UTC] PHP   6. ConvertKit_PMP_Admin->get_pmp_membership_levels() /Users/daniel/code/convertkit/convertkit-paid-memberships-pro/admin/class-convertkit-pmp-admin.php:114
[06-Jul-2016 15:55:06 UTC] PHP   7. wpdb->__get() /Users/daniel/code/convertkit/convertkit-paid-memberships-pro/admin/class-convertkit-pmp-admin.php:315
[06-Jul-2016 15:55:06 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY id ASC' at line 1 for query SELECT * FROM  ORDER BY id ASC made by require_once('wp-admin/admin.php'), do_action('admin_init'), call_user_func_array, ConvertKit_PMP_Admin->register_settings, ConvertKit_PMP_Admin->get_pmp_membership_levels
[06-Jul-2016 15:55:13 UTC] PHP Notice:  Undefined property: wpdb::$pmpro_membership_levels in /Users/daniel/sites/convertkit/wp-includes/wp-db.php on line 684
[06-Jul-2016 15:55:13 UTC] PHP Stack trace:
[06-Jul-2016 15:55:13 UTC] PHP   1. {main}() /Users/daniel/sites/convertkit/wp-admin/plugins.php:0
[06-Jul-2016 15:55:13 UTC] PHP   2. require_once() /Users/daniel/sites/convertkit/wp-admin/plugins.php:10
[06-Jul-2016 15:55:13 UTC] PHP   3. do_action() /Users/daniel/sites/convertkit/wp-admin/admin.php:168
[06-Jul-2016 15:55:13 UTC] PHP   4. call_user_func_array:{/Users/daniel/sites/convertkit/wp-includes/plugin.php:525}() /Users/daniel/sites/convertkit/wp-includes/plugin.php:525
[06-Jul-2016 15:55:13 UTC] PHP   5. ConvertKit_PMP_Admin->register_settings() /Users/daniel/sites/convertkit/wp-includes/plugin.php:525
[06-Jul-2016 15:55:13 UTC] PHP   6. ConvertKit_PMP_Admin->get_pmp_membership_levels() /Users/daniel/code/convertkit/convertkit-paid-memberships-pro/admin/class-convertkit-pmp-admin.php:114
[06-Jul-2016 15:55:13 UTC] PHP   7. wpdb->__get() /Users/daniel/code/convertkit/convertkit-paid-memberships-pro/admin/class-convertkit-pmp-admin.php:315
[06-Jul-2016 15:55:13 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY id ASC' at line 1 for query SELECT * FROM  ORDER BY id ASC made by require_once('wp-admin/admin.php'), do_action('admin_init'), call_user_func_array, ConvertKit_PMP_Admin->register_settings, ConvertKit_PMP_Admin->get_pmp_membership_levels
@growdev growdev self-assigned this Jul 6, 2016
@growdev
Copy link
Contributor Author

growdev commented Jul 14, 2016

And more. (Oh the humanity!)


[14-Jul-2016 15:39:33 UTC] PHP Notice:  Undefined property: wpdb::$pmpro_membership_levels in /Users/daniel/sites/convertkit/wp-includes/wp-db.php on line 684
[14-Jul-2016 15:39:33 UTC] PHP Stack trace:
[14-Jul-2016 15:39:33 UTC] PHP   1. {main}() /Users/daniel/sites/convertkit/wp-admin/plugins.php:0
[14-Jul-2016 15:39:33 UTC] PHP   2. require_once() /Users/daniel/sites/convertkit/wp-admin/plugins.php:10
[14-Jul-2016 15:39:33 UTC] PHP   3. do_action() /Users/daniel/sites/convertkit/wp-admin/admin.php:168
[14-Jul-2016 15:39:33 UTC] PHP   4. call_user_func_array:{/Users/daniel/sites/convertkit/wp-includes/plugin.php:525}() /Users/daniel/sites/convertkit/wp-includes/plugin.php:525
[14-Jul-2016 15:39:33 UTC] PHP   5. ConvertKit_PMP_Admin->register_settings() /Users/daniel/sites/convertkit/wp-includes/plugin.php:525
[14-Jul-2016 15:39:33 UTC] PHP   6. ConvertKit_PMP_Admin->get_pmp_membership_levels() /Users/daniel/code/convertkit/convertkit-paid-memberships-pro/admin/class-convertkit-pmp-admin.php:114
[14-Jul-2016 15:39:33 UTC] PHP   7. wpdb->__get() /Users/daniel/code/convertkit/convertkit-paid-memberships-pro/admin/class-convertkit-pmp-admin.php:315
[14-Jul-2016 15:39:33 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY id ASC' at line 1 for query SELECT * FROM  ORDER BY id ASC made by require_once('wp-admin/admin.php'), do_action('admin_init'), call_user_func_array, ConvertKit_PMP_Admin->register_settings, ConvertKit_PMP_Admin->get_pmp_membership_levels
[14-Jul-2016 15:39:58 UTC] PHP Notice:  Undefined property: wpdb::$pmpro_membership_levels in /Users/daniel/sites/convertkit/wp-includes/wp-db.php on line 684
[14-Jul-2016 15:39:58 UTC] PHP Stack trace:
[14-Jul-2016 15:39:58 UTC] PHP   1. {main}() /Users/daniel/sites/convertkit/wp-admin/plugins.php:0
[14-Jul-2016 15:39:58 UTC] PHP   2. require_once() /Users/daniel/sites/convertkit/wp-admin/plugins.php:10
[14-Jul-2016 15:39:58 UTC] PHP   3. do_action() /Users/daniel/sites/convertkit/wp-admin/admin.php:168
[14-Jul-2016 15:39:58 UTC] PHP   4. call_user_func_array:{/Users/daniel/sites/convertkit/wp-includes/plugin.php:525}() /Users/daniel/sites/convertkit/wp-includes/plugin.php:525
[14-Jul-2016 15:39:58 UTC] PHP   5. ConvertKit_PMP_Admin->register_settings() /Users/daniel/sites/convertkit/wp-includes/plugin.php:525
[14-Jul-2016 15:39:58 UTC] PHP   6. ConvertKit_PMP_Admin->get_pmp_membership_levels() /Users/daniel/code/convertkit/convertkit-paid-memberships-pro/admin/class-convertkit-pmp-admin.php:114
[14-Jul-2016 15:39:58 UTC] PHP   7. wpdb->__get() /Users/daniel/code/convertkit/convertkit-paid-memberships-pro/admin/class-convertkit-pmp-admin.php:315
[14-Jul-2016 15:39:58 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY id ASC' at line 1 for query SELECT * FROM  ORDER BY id ASC made by require_once('wp-admin/admin.php'), do_action('admin_init'), call_user_func_array, ConvertKit_PMP_Admin->register_settings, ConvertKit_PMP_Admin->get_pmp_membership_levels

@growdev growdev added this to the 1.0.3 milestone Sep 8, 2016
@growdev growdev removed their assignment Nov 10, 2017
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