@RoleplayUK Seems like $this->_item is null, because the trophy or medal the app's trying to load can't be found. As a temporary fix, you can try wrapping the offending call in an if statement to check if the trophy or medal is loaded properly.
On line ~245 of applications / trophies / sources / Trophy / MemberTrophy.php, try replacing:
public function getItemImage($class = '', $sizeForFa = 2, $addTitle = FALSE, $menu = TRUE )
{
return $this->_item->getItemImage($class, $sizeForFa, $addTitle, $menu);
}
with:
public function getItemImage($class = '', $sizeForFa = 2, $addTitle = FALSE, $menu = TRUE )
{
if ($this->_item)
{
return $this->_item->getItemImage($class, $sizeForFa, $addTitle, $menu);
}
}
Hopefully that'll stop the errors from appearing. Keep in mind the trophy or medal that can't be loaded won't appear on postbits.
@Douglas Glover That functionality already exists in the app. Can be found at example.com/trophies or example.com/index.php?app=trophies&module=items&controller=index , unless I'm misunderstanding.