razorownz,
open moderator.php
And make sure that this code exists in the moderator.php file
PHP Code:
WHERE userid=$bbuserinfo[userid] AND canviewprofile=1
Because thats the line of coding thats not working or has been altered. The $bbuserinfo[userid] should produce an idea, but in the error it is not, this could also exist because perhaps and unauthorized user is accessing this page.
Regards,
g-force2k2