• Resolved krisThinkun

    (@kristhinkun)


    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/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Errors Everywhere’ is closed to new replies.