cat SugarWidgetField.php | sed -e ‘s/SugarWidgetFieldid::_get_column_select/$this->_get_column_select/’
i do a quick repair and the error still remains:
[Sat Sep 02 21:32:23.948527 2023] [proxy_fcgi:error] [pid 110483] [client 192.168.72.1:55847] AH01071: Got error ‘PHP message: PHP Deprecated: Using php-function “strpos” as a modifier is deprecated and will be removed in a future release. Use Smarty::registerPlugin to explicitly register a custom modifier. in /var/www/crm.xxxx.com/https/vendor/smarty/smarty/libs/sysplugins/smarty_internal_compile_private_modifier.php on line 112; PHP message: PHP Deprecated: Using php-function “strpos” as a modifier is deprecated and will be removed in a future release. Use Smarty::registerPlugin to explicitly register a custom modifier. in /var/www/crm.xxxx.com/https/vendor/smarty/smarty/libs/sysplugins/smarty_internal_compile_private_modifier.php on line 112; PHP message: PHP Warning: Array to string conversion in /var/www/crm.xxxx.com/https/include/Dashlets/DashletGenericChart.php on line 424; PHP message: PHP Warning: Undefined array key “labelsAndValues” in /var/www/crm.xxxx.com/https/modules/Charts/Dashlets/OutcomeByMonthDashlet/OutcomeByMonthDashlet.php on line 128; PHP message: PHP Warning: Array to string conversion in /var/www/crm.xxxx.com/https/include/Dashlets/DashletGenericChart.php on line 424; PHP message: PHP Warning: Undefined array key “labelsAndValues” in /var/www/crm.xxxxx.com/https/modules/Charts/Dashlets/OutcomeByMonthDashlet/OutcomeByMonthDashlet.php on line 128; PHP message: PHP Fatal error: Uncaught Error: Non-static method SugarWidgetReportField::_get_column_select() cannot be called statically in /var/www/crm.xxxxxx.com/https/include/generic/SugarWidgets/SugarWidgetFieldname.php:231\nStack trace:\n#0 /var/www/crm.xxxxstrong text.com/https/include/Dashlets/DashletGeneric.php(365): SugarWidgetFieldName->queryFilterone_of()\n#1 /var/www/crm.xxxx.com/https/include/Dashlets/DashletGeneric.php(416): DashletGeneric->buildWhere()\n#2 /var/www/crm.xxxx.com/https/modules/Opportunities/Dashlets/MyOpportunitiesDashlet/MyOpportunitiesDashlet.php(84): DashletGeneric->process()\n#3 /var/www/crm.xxxx.com/https/modules/Home/index.php(244): MyOpportunitiesDashlet->process()\n#4 /var/www/crm.xxxx.com/https/modules/Home/views/view.list.php(55): include(’…‘)\n#5 /var/www/crm.xxxx.com/https/include/MVC/View/SugarView.php(210): HomeViewList->display()\n#6 /var/www/crm.xxxx.com/https/include/MVC/Controller/SugarController.php(432): SugarView->process()\n#7 /var/www/crm.xxxx.co…’, referer: https://crm.yyyyy.lan/index.php?module=Administration&action=repair
i did the same with include/generic/SugarWidgets/SugarWidgetFieldname.php
I mean
sed -e ‘s/SugarWidgetFieldid::_get_column_select/$this->_get_column_select/’
and now is working almost 100%
i still receiving
[Sat Sep 02 21:53:30.348894 2023] [proxy_fcgi:error] [pid 110478] [client 192.168.72.1:56453] AH01071: Got error ‘PHP message: PHP Warning: Array to string conversion in /var/www/crm.xxxx.com/https/include/Dashlets/DashletGenericChart.php on line 424; PHP message: PHP Warning: Undefined array key “labelsAndValues” in /var/www/crm.xxxx.com/https/modules/Charts/Dashlets/OutcomeByMonthDashlet/OutcomeByMonthDashlet.php on line 128; PHP message: PHP Warning: Array to string conversion in /var/www/crm.xxxx.com/https/include/Dashlets/DashletGenericChart.php on line 424; PHP message: PHP Warning: Undefined array key “labelsAndValues” in /var/www/crm.xxxx.com/https/modules/Charts/Dashlets/OutcomeByMonthDashlet/OutcomeByMonthDashlet.php on line 128’, referer: https://crm.innovery.lan/index.php?module=Home&action=index
and can’t add a new dashlet … apparently is not doing anything