Fatal error: Call to undefined method XF\Entity\User::canViewMedia() in /home/botl/public_html/src/addons/XFMG/BbCode/Gallery.php on line 33