Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Try Vanilla Forums Cloud product

Ready to contribute?

Amazing! Sign our contributors' agreement and then join us on GitHub.

Vanilla 2.2.1 is now available.
Please upgrade to 2.1.x here. The 2.0 branch is no longer being updated.

Fatal Error in WhosOnlineModule.ToString();

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

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.