Title: WP_DEBUG messages upon initial activation
Last modified: September 1, 2016

---

# WP_DEBUG messages upon initial activation

 *  [Clifford Paulick](https://wordpress.org/support/users/cliffpaulick/)
 * (@cliffpaulick)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/wp_debug-messages-upon-initial-activation-1/)
 * 1)
 * > [01-Aug-2016 17:03:43 UTC] PHP Notice: Trying to get property of non-object
   > in /wp-content/themes/templatetoaster/functions.php on line 986
   >  [01-Aug-2016
   > 17:03:43 UTC] PHP Stack trace: [01-Aug-2016 17:03:43 UTC] PHP 1. {main}() /
   > index.php:0 [01-Aug-2016 17:03:43 UTC] PHP 2. require() /index.php:17 [01-Aug-
   > 2016 17:03:43 UTC] PHP 3. require_once() /wp-blog-header.php:19 [01-Aug-2016
   > 17:03:43 UTC] PHP 4. include() /wp-includes/template-loader.php:75 [01-Aug-
   > 2016 17:03:43 UTC] PHP 5. get_header() /wp-content/themes/templatetoaster/404.
   > php:11 [01-Aug-2016 17:03:43 UTC] PHP 6. locate_template() /wp-includes/general-
   > template.php:45 [01-Aug-2016 17:03:43 UTC] PHP 7. load_template() /wp-includes/
   > template.php:531 [01-Aug-2016 17:03:43 UTC] PHP 8. require_once() /wp-includes/
   > template.php:572 [01-Aug-2016 17:03:43 UTC] PHP 9. templatetoaster_theme_nav_menu()/
   > wp-content/themes/templatetoaster/header.php:128 [01-Aug-2016 17:03:43 UTC]
   > PHP 10. templatetoaster_theme_curPageURL() /wp-content/themes/templatetoaster/
   > functions.php:795
 * 2)
 * >  [01-Aug-2016 17:04:03 UTC] PHP Notice: The called constructor method for WP_Widget
   > in templatetoaster_custom_Menu is **deprecated** since version 4.3.0! Use
   >     ```
   >     __construct()
   >     ```
   > 
   >  instead. in /wp-includes/functions.php on line 3718
   >  [01-Aug-2016 17:04:03
   > UTC] PHP Stack trace: [01-Aug-2016 17:04:03 UTC] PHP 1. {main}() /wp-admin/
   > admin-ajax.php:0 [01-Aug-2016 17:04:03 UTC] PHP 2. require_once() /wp-admin/
   > admin-ajax.php:22 [01-Aug-2016 17:04:03 UTC] PHP 3. require_once() /wp-load.
   > php:37 [01-Aug-2016 17:04:03 UTC] PHP 4. require_once() /wp-config.php:106 [
   > 01-Aug-2016 17:04:03 UTC] PHP 5. do_action() /wp-settings.php:393 [01-Aug-2016
   > 17:04:03 UTC] PHP 6. call_user_func_array:{/wp-includes/plugin.php:525}() /
   > wp-includes/plugin.php:525 [01-Aug-2016 17:04:03 UTC] PHP 7. wp_widgets_init()/
   > wp-includes/plugin.php:525 [01-Aug-2016 17:04:03 UTC] PHP 8. do_action() /wp-
   > includes/widgets.php:1475 [01-Aug-2016 17:04:03 UTC] PHP 9. call_user_func_array:{/
   > wp-includes/plugin.php:525}() /wp-includes/plugin.php:525 [01-Aug-2016 17:04:
   > 03 UTC] PHP 10. templatetoaster_register_widgets() /wp-includes/plugin.php:
   > 525 [01-Aug-2016 17:04:03 UTC] PHP 11. register_widget() /wp-content/themes/
   > templatetoaster/inc/custommenu.php:216 [01-Aug-2016 17:04:03 UTC] PHP 12. WP_Widget_Factory-
   > >register() /wp-includes/widgets.php:113 [01-Aug-2016 17:04:03 UTC] PHP 13.
   > templatetoaster_custom_Menu->templatetoaster_custom_Menu() /wp-includes/class-
   > wp-widget-factory.php:57 [01-Aug-2016 17:04:03 UTC] PHP 14. WP_Widget->WP_Widget()/
   > wp-content/themes/templatetoaster/inc/custommenu.php:9 [01-Aug-2016 17:04:03
   > UTC] PHP 15. _deprecated_constructor() /wp-includes/class-wp-widget.php:181[
   > 01-Aug-2016 17:04:03 UTC] PHP 16. trigger_error() /wp-includes/functions.php:
   > 3718

The topic ‘WP_DEBUG messages upon initial activation’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/templatetoaster/1.0.7/screenshot.
   png)
 * TemplateToaster
 * [Support Threads](https://wordpress.org/support/theme/templatetoaster/)
 * [Active Topics](https://wordpress.org/support/theme/templatetoaster/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/templatetoaster/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/templatetoaster/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Clifford Paulick](https://wordpress.org/support/users/cliffpaulick/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/wp_debug-messages-upon-initial-activation-1/)
 * Status: not resolved