• Resolved vinnyatwork

    (@vinnyatwork)


    I have inherited a problematic website after communication broke-down with their original web developer.

    I have been working through and resolving as many errors as possible.

    I’m left with a few in the error log including these…

    PHP Notice: Trying to get property ‘term_id’ of non-object in /wp-content/themes/modus/inc/admin/functions.php on line 268

    PHP Notice: Trying to get property ‘name’ of non-object in /wp-content/themes/modus/inc/admin/functions.php on line 276

    I am hopeful that someone here can shine some light on this issue.

    Pasting lines 268 onwards below – the last line is line 276

    $ancestors = array_reverse( get_ancestors( $current_term->term_id, get_query_var( ‘taxonomy’ ) ) );

    foreach ( $ancestors as $ancestor ) {
    $ancestor = get_term( $ancestor, get_query_var( ‘taxonomy’ ) );

    echo ‘

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator t-p

    (@t-p)

    Your modus theme seems to be trowing those warnings.

    Since you use a commercial theme or plugin and need support, please go to their official support channel. In order to be good stewards of the WordPress community, and encourage innovation and progress, we feel it’s important to direct people to those official locations: https://themeforest.net/item/modus-modern-furniture-woocommerce-theme/21278889

    Forum volunteers are also not given access to commercial products, so they would not know why your commercial theme or plugin is not working properly. This is one other reason why volunteers forward you to the commercial product’s vendors. The vendors are responsible for supporting their commercial product. Commercial products are not supported in these forums.

    Thread Starter vinnyatwork

    (@vinnyatwork)

    Many thanks for your help with this.

    I have verified with the business owner that he has access to the support for Modus and have opened a ticket with them on his behalf.

    Moderator t-p

    (@t-p)

    You are welcome ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP Notices: property ‘name’ of non-object ‘term_id’ of non-object’ is closed to new replies.