After generating content with Devel module( using last devel dev. release ) ( created 50 nodes with autopath on ), going to
Navigation - Recent Content - My recent Content ... i get this error:

# Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 53 of /home2/immense1/public_html/drupal7/modules/tracker/tracker.pages.inc).
# Notice: Undefined property: stdClass::$type in tracker_page() (line 63 of /home2/immense1/public_html/drupal7/modules/tracker/tracker.pages.inc).
# Notice: Undefined property: stdClass::$title in tracker_page() (line 64 of /home2/immense1/public_html/drupal7/modules/tracker/tracker.pages.inc).
# Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 67 of /home2/immense1/public_html/drupal7/modules/tracker/tracker.pages.inc).
# Notice: Undefined property: stdClass::$type in tracker_page() (line 74 of /home2/immense1/public_html/drupal7/modules/tracker/tracker.pages.inc).
# Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 88 of /home2/immense1/public_html/drupal7/modules/tracker/tracker.pages.inc).
# Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 93 of /home2/immense1/public_html/drupal7/modules/tracker/tracker.pages.inc).
# Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 94 of /home2/immense1/public_html/drupal7/modules/tracker/tracker.pages.inc).
# Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 95 of /home2/immense1/public_html/drupal7/modules/tracker/tracker.pages.inc).
# Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 53 of /home2/immense1/public_html/drupal7/modules/tracker/tracker.pages.inc).
# Notice: Undefined property: stdClass::$type in tracker_page() (line 63 of /home2/immense1/public_html/drupal7/modules/tracker/tracker.pages.inc).
# Notice: Undefined property: stdClass::$title in tracker_page() (line 64 of /home2/immense1/public_html/drupal7/modules/tracker/tracker.pages.inc).
....
....

Files: 
CommentFileSizeAuthor
#14 989144-tracker-test-only-14-D7.patch3.54 KBcleaver
FAILED: [[SimpleTest]]: [MySQL] Setup environment: Test cancelled by admin prior to completion.
[ View ]
#8 jimmy_tracker.jpg930.07 KBiccle
#7 tracker_issues.jpg958.77 KBiccle
#3 tracker-undefined-properties-989144-3.patch1.11 KBNephele
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch tracker-undefined-properties-989144-3.patch. Unable to apply patch. See the log in the details link for more information.
[ View ]
drupal7_tracker.jpg194.89 KBbloyo

Comments

Unnamed’s picture

I too have this problem.
http://asystem.org.ua/tracker

Bahlool’s picture

Same problem

Nephele’s picture

Status:Active» Needs review
StatusFileSize
new1.11 KB
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch tracker-undefined-properties-989144-3.patch. Unable to apply patch. See the log in the details link for more information.
[ View ]

I'm not getting any error messages like this from tracker (I'm using version 7.0). On the other hand, according to CVS the file hasn't been changed in months, so it seems unlikely the problem got fixed along the way.

Therefore, I've taken a stab in the dark and created a patch in an effort to help get the issue closed. Basically, it looks like these errors would occur if some of the original placeholder nodes (as created at line 31 of the code) never get filled in with complete data (which should be done at line 43). Some possible reasons might be if the database is changed between queries, or if the node contains bad data (uid doesn't exist in user table, node missing from node_comment_statistics, etc.).

What the patch specifically does is:
* Make sure that all queries are using the slave DB (mainly just for thoroughness' sake, although it's remotely possible the error messages would occur if the master and slave DB were briefly out of sync).
* Skips all processing if the node is just a placeholder, for whatever reason.

Unnamed’s picture

The patch works.
Thank you.

podarok’s picture

Status:Needs review» Reviewed & tested by the community
webchick’s picture

Status:Reviewed & tested by the community» Needs work
Issue tags:+Needs tests

I'd like to see some tests that replicate this situation, and I also need to see a more detailed technical analysis of the solution before I'm prepared to commit a "stab in the dark." :) (Though a very well-reasoned stab in the dark!) Writing tests will be tricky if it is indeed "out-of-sync slave" related, but it seems more likely to me that this is a node access-related issue of some kind (like OG or similar blocks access to all nodes that would otherwise show in a list for someone with higher permissions).

More details from those experiencing the issue about what other modules they have installed, or exact steps to reproduce, would be really helpful.

iccle’s picture

Version:7.x-dev» 7.0
StatusFileSize
new958.77 KB

I to have this issue on my development site details as follows:

The 'My Recent Content' tab appears to work correctly, the issue only manifests when i view the 'All Recent Content' tab.

I have full administrative privileges for all modules and have access to all site content, yet after all the error messages i get some bogus content posted by 'anonymous' (see the attached tracker_issues.jpg).

Keen to attempt to figure out what was producing these errors, i hacked the tracker.pages.inc and inserted 3 new lines starting at line 61 as follows:

61 static $count = 1;
62 print PHP_EOL . '<p>DIRTY DEBUG HACK: ' . $count . ' ' . var_export($node,true) . '</p>' . PHP_EOL;
63 $count ++;
64      $row = array(
65        'type' => check_plain(node_type_get_name($node->type)),
66        'title' => array('data' => l($node->title, 'node/' . $node->nid) . ' ' . theme('mark', array('type' => node_mark($node->nid, $node->changed)))),
67        'author' => array('data' => theme('username', array('account' => $node))),
68        'replies' => array('class' => array('replies'), 'data' => $comments),
69        'last updated' => array('data' => t('!time ago', array('!time' => format_interval(REQUEST_TIME - $node->last_activity)))),
70      );

This produced the following extra output:

  • DIRTY DEBUG HACK: 1 stdClass::__set_state(array( 'nid' => '86', 'title' => '[DF]-Clan vs SOG - Clan Arena - Thu 17 Feb 2011, 20:30:00 GMT', 'type' => 'quake_live_match', 'changed' => '1298075670', 'uid' => '15', 'name' => 'iccle', 'comment_count' => '0', 'last_activity' => '1298075670', ))
  • DIRTY DEBUG HACK: 2 stdClass::__set_state(array( 'nid' => '37', 'title' => '[DF]-Clan vs [DF]-Clan - Capture The Flag - Fri 18 Feb 2011, 13:30:00 GMT', 'type' => 'quake_live_match', 'changed' => '1298075624', 'uid' => '15', 'name' => 'iccle', 'comment_count' => '0', 'last_activity' => '1298075624', ))
  • DIRTY DEBUG HACK: 3 stdClass::__set_state(array( 'nid' => '85', 'title' => '[DF]-Clan vs [DF]-Clan - Clan Arena - Wed 23 Feb 2011, 18:00:00 GMT', 'type' => 'quake_live_match', 'changed' => '1298075614', 'uid' => '15', 'name' => 'iccle', 'comment_count' => '0', 'last_activity' => '1298075614', ))
  • DIRTY DEBUG HACK: 4 stdClass::__set_state(array( 'nid' => '43', 'title' => 'Tournaments', 'type' => 'page', 'changed' => '1298053712', 'uid' => '15', 'name' => 'iccle', 'comment_count' => '0', 'last_activity' => '1298053712', ))
  • DIRTY DEBUG HACK: 5 stdClass::__set_state(array( 'nid' => '2', 'title' => 'Welcome', 'type' => 'forum', 'changed' => '1298021844', 'uid' => '1', 'name' => 'root', 'comment_count' => '2', 'last_activity' => '1298052253', ))
  • DIRTY DEBUG HACK: 6 stdClass::__set_state(array( 'nid' => '84', 'title' => 'To Be Announced', 'type' => 'quake_live_map', 'changed' => '1298051615', 'uid' => '15', 'name' => 'iccle', 'comment_count' => '0', 'last_activity' => '1298051615', ))
  • DIRTY DEBUG HACK: 7 stdClass::__set_state(array( 'nid' => '10', 'title' => 'Cobalt Station', 'type' => 'quake_live_map', 'changed' => '1298035071', 'uid' => '1', 'name' => 'root', 'comment_count' => '0', 'last_activity' => '1298035071', ))
  • DIRTY DEBUG HACK: 8 stdClass::__set_state(array( 'nid' => '9', 'changed' => '1298035014', ))
  • DIRTY DEBUG HACK: 9 stdClass::__set_state(array( 'nid' => '1', 'title' => 'Campgrounds', 'type' => 'quake_live_map', 'changed' => '1298034981', 'uid' => '1', 'name' => 'root', 'comment_count' => '0', 'last_activity' => '1298034981', ))
  • DIRTY DEBUG HACK: 10 stdClass::__set_state(array( 'nid' => '8', 'changed' => '1298034976', ))
  • DIRTY DEBUG HACK: 11 stdClass::__set_state(array( 'nid' => '7', 'title' => 'Battleforged', 'type' => 'quake_live_map', 'changed' => '1298034932', 'uid' => '1', 'name' => 'root', 'comment_count' => '0', 'last_activity' => '1298034932', ))
  • DIRTY DEBUG HACK: 12 stdClass::__set_state(array( 'nid' => '6', 'changed' => '1298034922', ))
  • DIRTY DEBUG HACK: 13 stdClass::__set_state(array( 'nid' => '5', 'title' => 'Arena Gate', 'type' => 'quake_live_map', 'changed' => '1298034914', 'uid' => '1', 'name' => 'root', 'comment_count' => '0', 'last_activity' => '1298034914', ))
  • DIRTY DEBUG HACK: 14 stdClass::__set_state(array( 'nid' => '4', 'title' => 'Almost Lost', 'type' => 'quake_live_map', 'changed' => '1298034903', 'uid' => '1', 'name' => 'root', 'comment_count' => '0', 'last_activity' => '1298034903', ))
  • DIRTY DEBUG HACK: 15 stdClass::__set_state(array( 'nid' => '30', 'changed' => '1298034896', ))
  • DIRTY DEBUG HACK: 16 stdClass::__set_state(array( 'nid' => '3', 'title' => 'Aerowalk', 'type' => 'quake_live_map', 'changed' => '1298034886', 'uid' => '1', 'name' => 'root', 'comment_count' => '0', 'last_activity' => '1298034886', ))
  • DIRTY DEBUG HACK: 17 stdClass::__set_state(array( 'nid' => '27', 'changed' => '1298034837', ))
  • DIRTY DEBUG HACK: 18 stdClass::__set_state(array( 'nid' => '29', 'changed' => '1298034829', ))
  • DIRTY DEBUG HACK: 19 stdClass::__set_state(array( 'nid' => '28', 'changed' => '1298034827', ))
  • DIRTY DEBUG HACK: 20 stdClass::__set_state(array( 'nid' => '26', 'changed' => '1298034285', ))
  • DIRTY DEBUG HACK: 21 stdClass::__set_state(array( 'nid' => '25', 'changed' => '1298034209', ))
  • DIRTY DEBUG HACK: 22 stdClass::__set_state(array( 'nid' => '24', 'changed' => '1298034129', ))
  • DIRTY DEBUG HACK: 23 stdClass::__set_state(array( 'nid' => '23', 'changed' => '1298034100', ))
  • DIRTY DEBUG HACK: 24 stdClass::__set_state(array( 'nid' => '22', 'changed' => '1298034052', ))
  • DIRTY DEBUG HACK: 25 stdClass::__set_state(array( 'nid' => '21', 'changed' => '1298034015', ))

The first line to stand out was

DIRTY DEBUG HACK: 8 stdClass::__set_state(array( 'nid' => '9', 'changed' => '1298035014', ))

this gave me the node id for further investigation, it turned out to be one of my 'Quake Live Map' content type nodes, the node is visible on other pages that use it, the database row entry for this node is as follows:

nid vid type language title uid status created changed comment promote sticky tnid translate
9 9 quake_live_map und Chemical Reaction 1 1 1298031063 1298035014 1 0 0 0 0

I am at a loss as to why this data is not filled in in tracker.pages.inc, it appears elsewhere on the site with no issues, the database row appears to be ok. It should be noted that all of the content entries that are missing from the tracker view were inputted by another user (jimmy (user 14)) but are for some reason listed here as by 'anonymous'.

Something else i tried was enabling the 'views' 'tracker view', the output from this produced no error, however it did hide the 'recent content' that appears to have this issue. The proposed patch would seem to produce this same behavior, ie resulting in a loss of data presented to the user (since the recent content exists, but is not being presented).

I am still getting to grips with Drupal 7 and have not had time to look at the testing framework :(, I hope this report can help you target where you should be looking.

Error messages displayed by core tracker

  • Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 53 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$type in tracker_page() (line 63 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$title in tracker_page() (line 64 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 67 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$type in tracker_page() (line 74 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 88 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 93 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 94 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 95 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 53 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$type in tracker_page() (line 63 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$title in tracker_page() (line 64 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 67 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$type in tracker_page() (line 74 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 88 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 93 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 94 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 95 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 53 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$type in tracker_page() (line 63 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$title in tracker_page() (line 64 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 67 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$type in tracker_page() (line 74 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 88 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 93 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 94 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 95 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 53 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$type in tracker_page() (line 63 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$title in tracker_page() (line 64 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 67 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$type in tracker_page() (line 74 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 88 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 93 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 94 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 95 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 53 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$type in tracker_page() (line 63 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$title in tracker_page() (line 64 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 67 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$type in tracker_page() (line 74 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 88 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 93 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 94 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 95 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 53 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$type in tracker_page() (line 63 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$title in tracker_page() (line 64 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 67 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$type in tracker_page() (line 74 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 88 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 93 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 94 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 95 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 53 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$type in tracker_page() (line 63 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$title in tracker_page() (line 64 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 67 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$type in tracker_page() (line 74 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 88 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 93 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 94 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 95 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 53 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$type in tracker_page() (line 63 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$title in tracker_page() (line 64 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 67 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$type in tracker_page() (line 74 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 88 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 93 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 94 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 95 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 53 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$type in tracker_page() (line 63 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$title in tracker_page() (line 64 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 67 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$type in tracker_page() (line 74 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 88 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 93 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 94 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 95 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 53 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$type in tracker_page() (line 63 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$title in tracker_page() (line 64 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 67 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$type in tracker_page() (line 74 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 88 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 93 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 94 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 95 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 53 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$type in tracker_page() (line 63 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$title in tracker_page() (line 64 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 67 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$type in tracker_page() (line 74 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 88 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 93 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 94 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 95 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 53 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$type in tracker_page() (line 63 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$title in tracker_page() (line 64 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 67 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$type in tracker_page() (line 74 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 88 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 93 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 94 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 95 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 53 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$type in tracker_page() (line 63 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$title in tracker_page() (line 64 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 67 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$type in tracker_page() (line 74 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 88 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 93 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$comment_count in tracker_page() (line 94 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
    Notice: Undefined property: stdClass::$last_activity in tracker_page() (line 95 of E:\xampp\htdocs\dfclan\modules\tracker\tracker.pages.inc).
iccle’s picture

StatusFileSize
new930.07 KB

I realized after posting previously that i should have attached a screenshot showing the tracker view for user 14 (jimmy), i could not edit the previous post to provide this information so here it is.

the_phi’s picture

Patch from @Nephele#3 works fine for me. Thank you!
Using Drupal7 + additional/optional ~80 modules.

cleaver’s picture

Writing test on this but how to duplicate if it needs devel module. Bot would not have devel.

cleaver’s picture

Trying to duplicate with simpletest create node.

cleaver’s picture

I haven't been able to reproduce the error in testing.

First, I tried simply creating nodes using simpletest, either with drupalCreateNode, or drupalPost on the node/add form. No error.

Second, I created a function that would create nodes in the same manner as devel_generate. No error.

Finally, I simply enabled devel_generate and ran that within simpletest. Still no error.

I'll post my patch tomorrow to see if anyone else gets the same results.

cleaver’s picture

StatusFileSize
new3.54 KB
FAILED: [[SimpleTest]]: [MySQL] Setup environment: Test cancelled by admin prior to completion.
[ View ]

Here's a patch with tests only... I have so far been unable to get the error to appear under simple_test.

  • Tests only, not the actual code patch from #3 -- I'm testing for the original error before applying the patch.
  • I've tried 3 different ways of creating a node: 1) drupalPost(); 2) simulate how devel_generate creates nodes; 3) actually use devel_generate.
  • Includes a test with devel_generate, so I don't expect it will run with testing bot.

I'm posting it so that maybe someone else might find a way to get a the error to appear.

As for the original patch... It does seem like quite an edge case, but something that will be encountered from time to time.

Tor Arne Thune’s picture

Version:7.0» 8.x-dev
Status:Needs work» Needs review
Issue tags:+needs backport to D7
cleaver’s picture

I'm not seeing the error on the current D7... (version 7.9)

Anyone else?

kscheirer’s picture

Status:Needs review» Needs work

The last submitted patch, 989144-tracker-test-only-14-D7.patch, failed testing.