Working with Joomla and Community Builder I've got the following error:
Fatal error: Class 'moscomprofilerUser' not found in /home/joomla/public_html/administrator/components/com_comprofiler/plugin.foundation.php on line 1002
The error was triggered because one module (a customized module for Community Builder) was set to public access but it was requiring data from the logged in user and it found no such data. The module should have been set to registered access. Doing so made the error disappear.