Fork me on GitHub
Please upgrade to 2.1.x here. The 2.0 branch is no longer being updated.
Critical: Update to 2.1.8, released 15 Jan.

Fatal Error in WhosOnlineModule.ToString();

clethrillclethrill ✭✭
edited December 2011 in Vanilla 2.0 Help
This discussion is related to the WhosOnline addon.

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.