Title: Errors Everywhere
Last modified: August 20, 2016

---

# Errors Everywhere

 *  Resolved [krisThinkun](https://wordpress.org/support/users/kristhinkun/)
 * (@kristhinkun)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/errors-everywhere/)
 * Hey, I get a huge amount of errors when I turn on wordpress’ debugging. Mostly
   in the ‘pw_filter_widgets’ function.
 * Lines 1044, 1054, 1064, 1069, 1070
 * Most are indexing errors, so checking isset should fix it.
 * but lines 1064 to 1070 should be changed to something like:
 *     ```
       if ( is_object($post) ){
       $postID = $post->ID
       }
       if (is_admin() && array_key_exists('post', $_GET)) {
       $postID = $_GET['post'];
       }
   
       if(!empty($postID)){
       $enable_customize = get_post_meta($postID, '_customize_sidebars', true);
       $_sidebars_widgets = get_post_meta($postID, '_sidebars_widgets', true);
       }
       ```
   
 * [http://wordpress.org/extend/plugins/wp-page-widget/](http://wordpress.org/extend/plugins/wp-page-widget/)

Viewing 1 replies (of 1 total)

 *  [NgaVuThanh](https://wordpress.org/support/users/ngavuthanh/)
 * (@ngavuthanh)
 * [13 years ago](https://wordpress.org/support/topic/errors-everywhere/#post-3255005)
 * Thanks krisThinkun so much!
    The lastest of this plugin works well when turn 
   on WP debug now.
 * Best regard,

Viewing 1 replies (of 1 total)

The topic ‘Errors Everywhere’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-page-widget_fcfbfc.svg)
 * [WP Page Widget](https://wordpress.org/plugins/wp-page-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-page-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-page-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-page-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-page-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-page-widget/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [NgaVuThanh](https://wordpress.org/support/users/ngavuthanh/)
 * Last activity: [13 years ago](https://wordpress.org/support/topic/errors-everywhere/#post-3255005)
 * Status: resolved