HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Please upgrade here. These earlier versions are no longer being updated and have security issues.

Fatal Error in WhosOnlineModule.ToString();

This discussion is related to the Who’s Online addon.
clethrillclethrill ✭✭
edited December 2011 in Vanilla 2.0 - 2.8

Undefined property: stdClass::$Invisible

The error occurred on or near: /var/www/plugins/WhosOnline/class.whosonlinemodule.php

<div class="PhotoGridSmall">
<?php
    if ($this->_OnlineUsers->NumRows() > 0) { 
    foreach($this->_OnlineUsers->Result() as $User) {
    echo UserPhoto(UserBuilder($User),($User->Invisible == 1 ? 'Invisible' : 'ProfilePhotoMedium'));
    //echo Gdn_Format::Date($User->Timestamp);
    }
    }
?>          

Plugin works perfectly fine on localhost, and still 'works' on live site, however it produces this error.

Best Answer

Answers

Sign In or Register to comment.