Many WP_DEBUG errors upon initial plugin activation (some due to PHP 7)
-
Wow, lots going on here upon initial plugin activation. Note that
create_function()
is deprecated in PHP 7 but is really easy to fix.PHP Notice: Undefined variable: wpdb in /app/public/wp-content/plugins/ultimate-wp-mail/Main.php on line 16 PHP Stack trace: PHP 1. {main}() /app/public/wp-admin/plugins.php:0 PHP 2. activate_plugin() /app/public/wp-admin/plugins.php:43 PHP 3. include_once() /app/public/wp-admin/includes/plugin.php:555 PHP Notice: Trying to get property 'prefix' of non-object in /app/public/wp-content/plugins/ultimate-wp-mail/Main.php on line 16 PHP Stack trace: PHP 1. {main}() /app/public/wp-admin/plugins.php:0 PHP 2. activate_plugin() /app/public/wp-admin/plugins.php:43 PHP 3. include_once() /app/public/wp-admin/includes/plugin.php:555 PHP Notice: Undefined variable: wpdb in /app/public/wp-content/plugins/ultimate-wp-mail/Main.php on line 17 PHP Stack trace: PHP 1. {main}() /app/public/wp-admin/plugins.php:0 PHP 2. activate_plugin() /app/public/wp-admin/plugins.php:43 PHP 3. include_once() /app/public/wp-admin/includes/plugin.php:555 PHP Notice: Trying to get property 'prefix' of non-object in /app/public/wp-content/plugins/ultimate-wp-mail/Main.php on line 17 PHP Stack trace: PHP 1. {main}() /app/public/wp-admin/plugins.php:0 PHP 2. activate_plugin() /app/public/wp-admin/plugins.php:43 PHP 3. include_once() /app/public/wp-admin/includes/plugin.php:555 PHP Notice: Undefined variable: wpdb in /app/public/wp-content/plugins/ultimate-wp-mail/Main.php on line 18 PHP Stack trace: PHP 1. {main}() /app/public/wp-admin/plugins.php:0 PHP 2. activate_plugin() /app/public/wp-admin/plugins.php:43 PHP 3. include_once() /app/public/wp-admin/includes/plugin.php:555 PHP Notice: Trying to get property 'prefix' of non-object in /app/public/wp-content/plugins/ultimate-wp-mail/Main.php on line 18 PHP Stack trace: PHP 1. {main}() /app/public/wp-admin/plugins.php:0 PHP 2. activate_plugin() /app/public/wp-admin/plugins.php:43 PHP 3. include_once() /app/public/wp-admin/includes/plugin.php:555 PHP Notice: Undefined variable: wpdb in /app/public/wp-content/plugins/ultimate-wp-mail/Main.php on line 19 PHP Stack trace: PHP 1. {main}() /app/public/wp-admin/plugins.php:0 PHP 2. activate_plugin() /app/public/wp-admin/plugins.php:43 PHP 3. include_once() /app/public/wp-admin/includes/plugin.php:555 PHP Notice: Trying to get property 'prefix' of non-object in /app/public/wp-content/plugins/ultimate-wp-mail/Main.php on line 19 PHP Stack trace: PHP 1. {main}() /app/public/wp-admin/plugins.php:0 PHP 2. activate_plugin() /app/public/wp-admin/plugins.php:43 PHP 3. include_once() /app/public/wp-admin/includes/plugin.php:555 PHP Deprecated: Function create_function() is deprecated in /app/public/wp-content/plugins/ultimate-wp-mail/Functions/EWD_UWPM_Widgets.php on line 67 PHP Stack trace: PHP 1. {main}() /app/public/wp-admin/plugins.php:0 PHP 2. activate_plugin() /app/public/wp-admin/plugins.php:43 PHP 3. include_once() /app/public/wp-admin/includes/plugin.php:555 PHP 4. include() /app/public/wp-content/plugins/ultimate-wp-mail/Main.php:260 PHP Deprecated: Function create_function() is deprecated in /app/public/wp-content/plugins/ultimate-wp-mail/Functions/EWD_UWPM_Widgets.php on line 67 PHP Stack trace: PHP 1. {main}() /app/public/wp-admin/plugins.php:0 PHP 2. require_once() /app/public/wp-admin/plugins.php:10 PHP 3. require_once() /app/public/wp-admin/admin.php:31 PHP 4. require_once() /app/public/wp-load.php:37 PHP 5. require_once() /app/public/wp-config.php:114 PHP 6. include_once() /app/public/wp-settings.php:305 PHP 7. include() /app/public/wp-content/plugins/ultimate-wp-mail/Main.php:260 PHP Notice: update_usermeta is <strong>deprecated</strong> since version 3.0.0! Use update_user_meta() instead. in /app/public/wp-includes/functions.php on line 3853 PHP Stack trace: PHP 1. {main}() /app/public/wp-admin/plugins.php:0 PHP 2. require_once() /app/public/wp-admin/plugins.php:10 PHP 3. require_once() /app/public/wp-admin/admin.php:31 PHP 4. require_once() /app/public/wp-load.php:37 PHP 5. require_once() /app/public/wp-config.php:114 PHP 6. do_action() /app/public/wp-settings.php:450 PHP 7. WP_Hook->do_action() /app/public/wp-includes/plugin.php:453 PHP 8. WP_Hook->apply_filters() /app/public/wp-includes/class-wp-hook.php:310 PHP 9. EWD_UWPM_User_Last_Activity() /app/public/wp-includes/class-wp-hook.php:286 PHP 10. update_usermeta() /app/public/wp-content/plugins/ultimate-wp-mail/Main.php:208 PHP 11. _deprecated_function() /app/public/wp-includes/deprecated.php:2319 PHP 12. trigger_error() /app/public/wp-includes/functions.php:3853 PHP Notice: update_usermeta is <strong>deprecated</strong> since version 3.0.0! Use update_user_meta() instead. in /app/public/wp-includes/functions.php on line 3853 PHP Stack trace: PHP 1. {main}() /app/public/wp-admin/plugins.php:0 PHP 2. require_once() /app/public/wp-admin/plugins.php:10 PHP 3. require_once() /app/public/wp-admin/admin.php:31 PHP 4. require_once() /app/public/wp-load.php:37 PHP 5. require_once() /app/public/wp-config.php:114 PHP 6. do_action() /app/public/wp-settings.php:450 PHP 7. WP_Hook->do_action() /app/public/wp-includes/plugin.php:453 PHP 8. WP_Hook->apply_filters() /app/public/wp-includes/class-wp-hook.php:310 PHP 9. EWD_UWPM_User_Last_Activity() /app/public/wp-includes/class-wp-hook.php:286 PHP 10. update_usermeta() /app/public/wp-content/plugins/ultimate-wp-mail/Main.php:209 PHP 11. _deprecated_function() /app/public/wp-includes/deprecated.php:2319 PHP 12. trigger_error() /app/public/wp-includes/functions.php:3853 PHP Notice: Undefined variable: Custom_Element_Object in /app/public/wp-content/plugins/ultimate-wp-mail/Functions/uwpm_register_custom_element_section.php on line 23 PHP Stack trace: PHP 1. {main}() /app/public/wp-admin/plugins.php:0 PHP 2. require_once() /app/public/wp-admin/plugins.php:10 PHP 3. require_once() /app/public/wp-admin/admin.php:31 PHP 4. require_once() /app/public/wp-load.php:37 PHP 5. require_once() /app/public/wp-config.php:114 PHP 6. do_action() /app/public/wp-settings.php:450 PHP 7. WP_Hook->do_action() /app/public/wp-includes/plugin.php:453 PHP 8. WP_Hook->apply_filters() /app/public/wp-includes/class-wp-hook.php:310 PHP 9. EWD_UWPM_Allow_Custom_Element_Registration() /app/public/wp-includes/class-wp-hook.php:286 PHP 10. do_action() /app/public/wp-content/plugins/ultimate-wp-mail/Main.php:36 PHP 11. WP_Hook->do_action() /app/public/wp-includes/plugin.php:453 PHP 12. WP_Hook->apply_filters() /app/public/wp-includes/class-wp-hook.php:310 PHP 13. EWD_UWPM_Register_WC_Elements_Section() /app/public/wp-includes/class-wp-hook.php:286 PHP 14. uwpm_register_custom_element_section() /app/public/wp-content/plugins/ultimate-wp-mail/Functions/EWD_UWPM_Register_WooCommerce_Custom_Elements.php:23 PHP Notice: Undefined index: EWD-UWPM-Options in /app/public/wp-content/plugins/ultimate-wp-mail/Main.php on line 56 PHP Stack trace: PHP 1. {main}() /app/public/wp-admin/plugins.php:0 PHP 2. require_once() /app/public/wp-admin/plugins.php:10 PHP 3. require() /app/public/wp-admin/admin.php:140 PHP 4. require_once() /app/public/wp-admin/menu.php:294 PHP 5. do_action() /app/public/wp-admin/includes/menu.php:149 PHP 6. WP_Hook->do_action() /app/public/wp-includes/plugin.php:453 PHP 7. WP_Hook->apply_filters() /app/public/wp-includes/class-wp-hook.php:310 PHP 8. EWD_UWPM_Enable_Menu() /app/public/wp-includes/class-wp-hook.php:286
- The topic ‘Many WP_DEBUG errors upon initial plugin activation (some due to PHP 7)’ is closed to new replies.