Errors

Hi,

I have done a new installation of Suite CRM (Version 7.10.18) from Softaculous. After installation i checked the error log from the system settings option in Admin and there was not any errors.

I added custom fields to the Accounts module and created a file module from Module Builder. I have checked the error log again and I see this error:

“Wed Jul 10 08:18:48 2019 [33938][1][FATAL] Exception handling in /home/…/include/MVC/Controller/SugarController.php:400
Wed Jul 10 08:18:48 2019 [33938][1][FATAL] Exception in Controller: Error retrieving record. This record may be deleted or you may not be authorized to view it.
Wed Jul 10 08:18:48 2019 [33938][1][FATAL] backtrace:
#0 …/modules/Accounts/views/view.detail.php(76): sugar_die(‘Error retrievin…’)
#1 …//include/MVC/View/SugarView.php(211): AccountsViewDetail->display()
#2 …//include/MVC/Controller/SugarController.php(435): SugarView->process()
#3 …//include/MVC/Controller/SugarController.php(375): SugarController->processView()
#4 …//include/MVC/SugarApplication.php(113): SugarController->execute()
#5//index.php(52): SugarApplication->execute()
#6 {main}”

Here is the code for the errors:

view.detail.php(76):

public function display()
{
if (empty($this->bean->id)) {
global $app_strings;
sugar_die($app_strings[‘ERROR_NO_RECORD’]); [color=#ff0000]- (line 76)[/color]
}

SugarView.php

$this->_buildModuleList();
$this->preDisplay();
$this->displayErrors();
$this->display(); [color=#ff0000] - (line 211)[/color]

SugarController.php(435)

$GLOBALS['current_view'] = $view;
    if (!empty($this->bean) && !$this->bean->ACLAccess($view->type) && $view->type != 'list') {
        ACLController::displayNoAccess(true);
        sugar_cleanup(true);
    }
    if (isset($this->errors)) {
        $view->errors = $this->errors;
    }
    $view->process();  [b][color=#ff0000]- (line 435)[/color][/b]

try {
$this->process();
if (!empty($this->view)) {
$this->processView(); [color=#ff0000]- (line 375)[/color]
} elseif (!empty($this->redirect_url)) {
$this->redirect();
}

SugarApplication.php

SugarThemeRegistry::buildRegistry();
$this->loadLanguages();
$this->loadDisplaySettings();
$this->loadGlobals();
$this->setupResourceManagement($module);
$this->controller->execute(); [color=#ff0000] - (line 113)[/color]
sugar_cleanup();
}

index.php

require_once ‘include/MVC/SugarApplication.php’;
$app = new SugarApplication();
$app->startSession();
$app->execute(); [color=#ff0000]- (line 52)[/color]

I am not a developer, so i have very basic knowledge of the crm. I can open up the php files and change as per instruction.

Is there anyone who can assist?

Thank you in advance.

Kind Regards

Do you have any symptom associated with this error? If not, I advise you to ignore it.

I believe what caused this was simply that someone was viewing a record, then it got deleted or its security access was changed, but the page refreshed for some reason (like reopening the browser) and the error appeared. Nothing to worry about, unless it repeats itself for no apparent reason, or if the app breaks in some way.

1 Like

Thank you, appreciate the assistance.

Kind Regards