Howdy, Stranger!

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

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter
Support for Vanilla Forums Cloud product

In this Discussion

Follow Us


Fatal Error in WhosOnlineModule.ToString();

clethrillclethrill ✭✭
edited December 2011 in Questions
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.