I am receiving the following error on a site component list view "Error An error has occurred." That's it. Nothing said of what caused it, where the error occurred or anything else.
By searching the component folder I found the view.html.php file associated with this view so I modified the only error exception message I could find (added -Tasks view error- after the \n in the Exception message), but the error message on the site did not change. This leads me to believe it is coming from somewhere else. Searching the entire component folder for 'Error', 'enqueueMessage', or 'error' did not reveal any obvious culprits. Any ideas on how to proceed in tracking this down?
Thanks in advance!
view.html.php (view being displayed when error occurs)
public function display($tpl = null)
{
$app = JFactory::getApplication();
$this->state = $this->get('State');
$this->items = $this->get('Items');
$this->pagination = $this->get('Pagination');
$this->params = $app->getParams('com_todo');
$this->filterForm = $this->get('FilterForm');
$this->activeFilters = $this->get('ActiveFilters');
// Check for errors.
if (count($errors = $this->get('Errors')))
{
throw new Exception(implode("\n", $errors));
}
$this->_prepareDocument();
parent::display($tpl);
}