by eggsurplus

Control what your users can access and save time, money, and frustrations. Lock down sensitive data in SugarCRM or SuiteCRM to specific groups or teams. Supports unlimited assigned users, unlimited group assignments to records, custom layouts for each group, login/sudo capabilities and much more.

Free 30 day trial
Try it Now

By clicking you consent to share your profile with the developer

#4841 - PHP 8 support

Open Bug? created by ebogaard Verified Purchase 2 years ago
I see php8 is supported since v3.2, but I just ran into an issue with php8.2 and Suite 7.14 and the matching SecuritySuite-version (which is v3.2). This is tiggered when you configure a dashlet and filter the contents on assigned user. ~~~ PHP Fatal error: Uncaught Error: Non-static method SugarWidgetReportField::_get_column_select() cannot be called statically in /var/www/suite/xxx/include/generic/SugarWidgets/SugarWidgetFieldname.php:249 Stack trace: #0 /var/www/suite/xxx/include/Dashlets/DashletGeneric.php(386): SugarWidgetFieldName->queryFilterone_of() #1 /var/www/suite/xxx/include/Dashlets/DashletGeneric.php(467): DashletGeneric->buildWhere() #2 /var/www/suite/xxx/modules/Home/index.php(244): DashletGeneric->process() #3 /var/www/suite/xxx/custom/modules/Home/views/view.list.php(65): include('/var/www/suite/...') #4 /var/www/suite/xxx/include/MVC/View/SugarView.php(210): HomeViewList->display() #5 /var/www/suite/xxx/include/MVC/Controller/SugarController.php(432): SugarView->process() #6 /var/www/suite/xxx/include/MVC/Controller/SugarController.php(363): SugarController->processView() #7 /var/www/suite/xxx/include/MVC/SugarApplication.php(101): SugarController->execute() #8 /var/www/suite/xxx/index.php(52): SugarApplication->execute() #9 {main} thrown in /var/www/suite/xxx/include/generic/SugarWidgets/SugarWidgetFieldname.php on line 249 ~~~ Hope you can have a look at this. Haven't checked if this kind of issue is present in other files as well.
  1. ebogaard member avatar

    ebogaard Verified Purchase

    2 years ago

    PS: changing row 249 as below should fix this issue:

                //$where = ' ('.SugarWidgetFieldid::_get_column_select($layout_def)." IN (".$str.")\n";
                $where = ' ('.$this->sugarWidgetFieldId->_get_column_select($layout_def)." IN (".$str.")\n";
    
This case is public. Please leave out any sensitive information such as URLs, passwords, etc.
Saving Comment Saving Comment...
Rating
  • "I just installen limited SS on sugarcrm CE version 6.5.21 and it seems to work quite well. Have not tested a lot but it looks good." - khobo

    Read More Reviews