• Hello i receive those errors even if I disabled and removed completely the plugin.
    How to solve? thanks. (since WP v. 4.8)

    2017/09/25 21:53:02 [error] 20339#0: *669798 FastCGI sent in stderr: “wp-content/plugins/mb-custom-taxonomy/inc/class-mb-custom-taxonomy-register.php on line 172
    PHP message: PHP Notice: Undefined index: taxonomy in wp-content/plugins/mb-custom-taxonomy/inc/class-mb-custom-taxonomy-register.php on line 90
    PHP message: PHP Notice: Undefined index: name in wp-content/plugins/mb-custom-taxonomy/inc/class-mb-custom-taxonomy-register.php on line 141
    PHP message: PHP Notice: Undefined index: name in wp-content/plugins/mb-custom-taxonomy/inc/class-mb-custom-taxonomy-register.php on line 143
    PHP message: PHP Notice: Undefined index: singular_name in wp-content/plugins/mb-custom-taxonomy/inc/class-mb-custom-taxonomy-register.php on line 145
    PHP message: PHP Notice: Undefined index: singular_name in wp-content/plugins/mb-custom-taxonomy/inc/class-mb-custom-taxonomy-register.php on line 147
    PHP message: PHP Notice: Undefined index: singular_name in wp-content/plugins/mb-custom-taxonomy/inc/class-mb-custom-taxonomy-register.php on line 149
    PHP message: PHP Notice: Undefined index: singular_name in wp-content/plugins/mb-custom-taxonomy/inc/class-mb-custom-taxonomy-register.php on line 151
    PHP message: PHP Notice: Undefined index: singular_name in wp-content/plugins/mb-custom-taxonomy/inc/class-mb-custom-taxonomy-register.php on line 153
    PHP message: PHP Notice: Undefined index: singular_name in wp-content/plugins/mb-custom-taxonomy/inc/class-mb-custom-taxonomy-register.php on line 155
    PHP message: PHP Notice: Undefined index: singular_name in wp-content/plugins/mb-custom-taxonomy/inc/class-mb-custom-taxonomy-register.php on line 157

    those lines are as follow:

    (90) $taxonomies[ $args[‘taxonomy’] ] = $this->set_up_taxonomy( $labels, $args );
    (139) public function set_up_taxonomy( $labels = array(), $args = array() ) {
    $labels = wp_parse_args( $labels, array(
    ‘menu_name’ => $labels[‘name’],
    // translators: %s: Name of the taxonomy in plural form.
    ‘all_items’ => sprintf( __( ‘All %s’, ‘mb-custom-taxonomy’ ), $labels[‘name’] ),
    // translators: %s: Name of the taxonomy in singular form.
    ‘edit_item’ => sprintf( __( ‘Edit %s’, ‘mb-custom-taxonomy’ ), $labels[‘singular_name’] ),
    // translators: %s: Name of the taxonomy in singular form.
    ‘view_item’ => sprintf( __( ‘View %s’, ‘mb-custom-taxonomy’ ), $labels[‘singular_name’] ),
    // translators: %s: Name of the taxonomy in singular form.
    ‘update_item’ => sprintf( __( ‘Update %s’, ‘mb-custom-taxonomy’ ), $labels[‘singular_name’] ),
    // translators: %s: Name of the taxonomy in singular form.
    ‘add_new_item’ => sprintf( __( ‘Add new %s’, ‘mb-custom-taxonomy’ ), $labels[‘singular_name’] ),
    // translators: %s: Name of the taxonomy in singular form.
    ‘new_item_name’ => sprintf( __( ‘New %s’, ‘mb-custom-taxonomy’ ), $labels[‘singular_name’] ),
    // translators: %s: Name of the taxonomy in singular form.
    ‘parent_item’ => sprintf( __( ‘Parent %s’, ‘mb-custom-taxonomy’ ), $labels[‘singular_name’] ),
    // translators: %s: Name of the taxonomy in singular form.
    ‘parent_item_colon’ => sprintf( __( ‘Parent %s:’, ‘mb-custom-taxonomy’ ), $labels[‘singular_name’] ),
    // translators: %s: Name of the taxonomy in plural form.
    ‘search_items’ => sprintf( __( ‘Search %s’, ‘mb-custom-taxonomy’ ), $labels[‘name’] ),
    // translators: %s: Name of the taxonomy in plural form.
    ‘popular_items’ => sprintf( __( ‘Popular %s’, ‘mb-custom-taxonomy’ ), $labels[‘name’] ),

    The page I need help with: [log in to see the link]

  • The topic ‘Errors in class-mb-custom-taxonomy-register.php’ is closed to new replies.