I’m working on Suitecrm Version 7.14.6. and while loading Notes module list view getting php fatal error :
PHP Fatal error: Uncaught TypeError: Illegal offset type in isset or empty in suitecrm\include\SearchForm\SearchForm2.php:673.
Below is my configuration
PHP version : 8.2
Suitecrm : 7.14.6
rsp
24 April 2025 13:28
2
Make sure you have correct permissions and what is at that line?
$this->fieldDefs[$fvName]['id_name'] .= '_' . $this->parsedView;
}
}
if (isset($this->fieldDefs[$fvName]['options']) && isset($GLOBALS['app_list_strings'][$this->fieldDefs[$fvName]['options']])) {
// fill in enums
$this->fieldDefs[$fvName]['options'] = $GLOBALS['app_list_strings'][$this->fieldDefs[$fvName]['options']];
//Hack to add blanks for parent types on search views
//53131 - add blank option for SearchField options with def 'options_add_blank' set to true
if ($this->fieldDefs[$fvName]['type'] == "parent_type" || $this->fieldDefs[$fvName]['type'] == "parent" || (isset($this->searchFields[$name]['options_add_blank']) && $this->searchFields[$name]['options_add_blank'])) {
if (!array_key_exists('', $this->fieldDefs[$fvName]['options'])) {
$this->fieldDefs[$fvName]['options'] =
array('' => '') + $this->fieldDefs[$fvName]['options'];
}
}
}
if (isset($this->fieldDefs[$fvName]['function'])) {
$this->fieldDefs[$fvName]['type'] = 'multienum';
if (is_array($this->fieldDefs[$fvName]['function'])) {
Fix #5722 Make SearchForm2.php customizable by pgorod · Pull Request #10089 · salesagility/SuiteCRM · GitHub @pgr