Undefined index: apost__root
-
The notice found on my WooCommerce products archive page(page title is ‘shop’) suddenly from when I updated WooCommerce version 5.3.1.
Notice: Undefined index: apost__root in /home/pinkhare/public_html/wordpress/wp-content/plugins/breadcrumb-navxt/class.bcn_breadcrumb_trail.php on line 964 string(0) "" Notice: Undefined index: apost__root in /home/pinkhare/public_html/wordpress/wp-content/plugins/breadcrumb-navxt/class.bcn_breadcrumb_trail.php on line 777
So I had inserted
var_dump($type);
on line 957, then I got this value:object(WP_Post)#261 (24) { ["ID"]=> int(7199) ["post_author"]=> string(1) "1" ["post_date"]=> string(19) "2015-03-26 18:20:43" ["post_date_gmt"]=> string(19) "2015-03-26 18:20:43" ["post_content"]=> string(0) "" ["post_title"]=> string(4) "Shop" ["post_excerpt"]=> string(0) "" ["post_status"]=> string(7) "publish" ["comment_status"]=> string(6) "closed" ["ping_status"]=> string(6) "closed" ["post_password"]=> string(0) "" ["post_name"]=> string(4) "shop" ["to_ping"]=> string(0) "" ["pinged"]=> string(0) "" ["post_modified"]=> string(19) "2015-06-12 16:50:32" ["post_modified_gmt"]=> string(19) "2015-06-12 16:50:32" ["post_content_filtered"]=> string(0) "" ["post_parent"]=> int(0) ["guid"]=> string(33) "https://xeepress.com/?page_id=7199" ["menu_order"]=> int(0) ["post_type"]=> string(4) "page" ["post_mime_type"]=> string(0) "" ["comment_count"]=> string(1) "0" ["filter"]=> string(3) "raw" }
=> There’s no ‘name’ attribute found in the object $type.
And, var_dump($type_str); on line 776, but I got nothing or null.
Please help me!
- The topic ‘Undefined index: apost__root’ is closed to new replies.