So I logged in today to do some more customizing. I have the following errors on the homepage:
An Error has occurred.
Notice: Array to string conversion in C:\inetpub\wwwroot\SuiteCRM\include\SugarCharts\SugarChart.php on line 830
An Error has occurred.
Notice: Array to string conversion in C:\inetpub\wwwroot\SuiteCRM\include\SugarCharts\SugarChart.php on line 830
An Error has occurred.
Notice: Array to string conversion in C:\inetpub\wwwroot\SuiteCRM\include\SugarCharts\SugarChart.php on line 830
An Error has occurred.
Notice: Array to string conversion in C:\inetpub\wwwroot\SuiteCRM\include\SugarCharts\SugarChart.php on line 830
THese must be from the chart dashlets I added last week but I didn’t do any changing so not sure why they have errors.
Line 830 is part of the sortData function:
function sortData($data_set, $keycolname1=null, $translate1=false, $keycolname2=null, $translate2=false, $ifsort2=false) {
//You can set whether the columns need to be translated or sorted. It the column needn’t to be translated, the sorting must be done in SQL, this function will not do the sorting.
global $app_list_strings;
$sortby1[] = array();
foreach ($data_set as $row) {
$sortby1[] = $row[$keycolname1];
}
$sortby1 = array_unique($sortby1);
Line 830 is the last one…
Any ideas?
Tammy :S