• Resolved brock40

    (@brock40)


    HI,

    I have the latest seopress PRO plugin version 4.6.0.2 and on multiple pages I’m receiving an PHP error that says, “Notice: Trying to get property ‘term_id’ of non-object in /home/473548.cloudwaysapps.com /public_html/wp-content/plugins/wp-seopress-pro/inc/functions/options-breadcrumbs.php on line 137”

    Any help would be much appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter brock40

    (@brock40)

    This is the line of code giving me the error.

    $parent = current(wp_get_post_terms($post->ID, $taxonomy, [‘orderby’ => ‘parent’, ‘order’ => ‘DESC’, ‘child_of’ => $tax->term_id]));

    Thread Starter brock40

    (@brock40)

    I checked my wp-errors.log and this error started showing up on April 30th. Strange, not every blog post or woocommerce product has this error at the top.

    Only random product and blog post pages.

    • This reply was modified 3 years, 10 months ago by brock40.
    Plugin Author Benjamin Denis

    (@rainbowgeek)

    Hi,

    this issue will be fixed in our next update.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP Breadcrumb error’ is closed to new replies.