Yeah, it does not look any different from mine. Id recommend you to debug the codes then, and see if any variables are assigned with incorrect values. Assume you have not clicked a pet, the object $voters should be nonexistent and the property $voters->void should be absent. Now find this line:
PHP Code:
$article_content = $lang_member_alreadyleveled;
Replace with:
PHP Code:
$article_content = $lang_member_alreadyleveled;
$article_content .= "The record is stored as {$voters->void} in the voters table.";
Give a try on your site and see what message you receive.