I was using taxonomy_title + some rules + url alias, and I got this error:

Error message
Notice: Undefined property: stdClass:taxonomy_title in taxonomy_title_taxonomy_term_insert() (line 47 of /var/www/zenit.atenealabs.com/sites/all/modules/taxonomy_title/taxonomy_title.module).

I solved changing the function:

/**
* Implements hook_taxonomy_term_insert($term).
*/
function taxonomy_title_taxonomy_term_insert($term) {
_taxonomy_title_insert_title($term->tid, $term->taxonomy_title);
}

by

/**
* Implements hook_taxonomy_term_insert($term).
*/
function taxonomy_title_taxonomy_term_insert($term) {
_taxonomy_title_insert_title($term->tid, $term->name);
}

Files: 
CommentFileSizeAuthor
#2 check_if_title_is_set-1236838-2.patch882 bytesjenlampton

Comments

Status:Active» Postponed (maintainer needs more info)

You just saved the term name into the database instead of the term title. You could have made the same change by uninstalling the taxonomy title module :)

Can you give me some more specifics as to the rules you had set up, and what you were trying to achieve when the error appeared?

Title:Notice: Undefined property: stdClass:taxonomy_title in taxonomy_title_taxonomy_term_insert()Error when adding tags to an article
Status:Postponed (maintainer needs more info)» Needs review
StatusFileSize
new882 bytes

Here's a patch that makes the reported error go away.

Status:Needs review» Fixed

patch committed. Please re-open this issue if the problem persists.

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.