[Private] Undefined property: WP_Error::$name

We have renamed Post Grid plugin to Post Grid Combo
Ticket for: Breadcrumb
0
Undefined property: WP_Error::$name 1
Anonymous
Oct 29, 2022 03:45 PM 1 Answers
Member Since Jan 1970
Unsolved Solved Mark as Solved Mark as Unsolved
Subscribed Subscribe Not subscribe
Flag(0)

Hello,
I've created a custom taxonomy "birthplace" with hierarchical terms like "Australia" and "Sydney".
In the builder I've set in the taxonomies "Term parent" and "Term title".
In the index.php of twentytwenty-theme I use this shortcode: 'echo do_shortcode("[breadcrumb]");'

Unfortunately I got an PHP-error in the Query Monitor, when loading the page example.de/birthplace/australia/ :

Undefined property: WP_Error::$name.
Details:
wp-content/plugins/breadcrumb/includes/functions-hooks.php:961
breadcrumb_permalink_term_parent()
wp-includes/class-wp-hook.php:307
apply_filters('breadcrumb_permalink_term_parent')
wp-content/plugins/breadcrumb/includes/functions-hooks.php:188
breadcrumb_items_override_permalinks()
wp-includes/class-wp-hook.php:307
apply_filters('breadcrumb_items_array')
wp-content/plugins/breadcrumb/templates/breadcrumb/breadcrumb-hook.php:10
breadcrumb_main_items()
wp-includes/class-wp-hook.php:307
do_action('breadcrumb_main')
wp-content/plugins/breadcrumb/includes/class-shortcodes.php:47
class_breadcrumb_shortcodes->breadcrumb_display()
wp-includes/shortcodes.php:356
do_shortcode_tag()
Unbekannter Ort
preg_replace_callback()
wp-includes/shortcodes.php:228
do_shortcode()
wp-content/themes/twentytwenty-child/index.php:575

When I call the child-term example.de/birthplace/australia/sydney/, the error-message disappears!

How can I solve this problem?

Thank you in advance for your help!
Andreas

0 Subscribers
Submit Answer
Please login to submit answer.
1 Answers
Sort By:
Best Answer
0
Undefined property: WP_Error::$name 2
Azizul Raju
Nov 02, 2022
Flag(0)

Hi,
We have fixed the issue and updated the plugin. Could you please install the latest version 1.5.28 and give it a try?

Regards.

Sign in to Reply
Replying as Submit