Join our new community forum for support & discussion

Join Now

Home Support Themes ListingHive error when clicking ‘add listing’ button

error when clicking ‘add listing’ button

  • Author
    Posts
  • yurimachadomenezes

    PHP Notice: Trying to get property ‘taxonomy’ of non-object in /home/u785112510/domains/lagooeste.com/public_html/wp-content/plugins/hivepress/includes/components/class-attribute.php on line 149

    yurimachadomenezes

    146 protected function get_term_id( $model ) {
    147 $term_id = null;
    148
    149 if ( is_tax() && strpos( get_queried_object()->taxonomy, hp\prefix( $model . ‘_’ ) ) === 0 ) {
    150 $term_id = get_queried_object_id();
    151 }
    152
    153 return $term_id;
    154 }

    yevhen developer

    If there are any custom attributes in Listings/Attributes section please try to un-publish them one by one and check if this issue persists. It may occur if some attribute is not set up correctly (e.g. there are incompatible edit/search types, or its name conflicts with some built-in listing field).

Viewing 3 posts - 1 through 3 (of 3 total)

New Reply

This forum has been archived and is no longer accepting new posts or replies. Please join our new community forum for support & discussion.