[Vtigercrm-developers] Error on accessing record history (modtracker)
Alan Lord
alanslists at gmail.com
Wed Oct 2 07:52:53 GMT 2024
I've not seen that one recently.
Looking at the code it should work fine. That method is declared as static:
https://code.vtiger.com/vtiger/vtigercrm/-/blob/master/pkg/vtiger/modules/ModTracker/modules/ModTracker/models/Record.php#L146
That method was changed 2 years ago by commit 1e29f9e0
https://code.vtiger.com/vtiger/vtigercrm/-/commit/1e29f9e0faf05e65afc473ca19bedc1d61291d0a?page=2
If you have migrated from an older version, this error would suggest to
me that some of the packaged modules (in packages/vtiger/) were not
updated during the migration...
HTH
Al
On 01/10/2024 23:04, Orville Jimenez wrote:
> Has anyone encountered this error when accessing record update tab
> Testing Migration to Vtiger 8.3.0 on php8.2
>
> Fatal error: Uncaught Error: Non-static method
> ModTracker_Record_Model::getTotalRecordCount() cannot be called
> statically in /modules/Vtiger/views/Detail.php:438 Stack trace: #0 /
> modules/Vtiger/views/Detail.php(465): Vtiger_Detail_View-
> >_showRecentActivities(Object(Vtiger_Request)) #1 /includes/runtime/
> Controller.php(65): Vtiger_Detail_View-
> >showRecentActivities(Object(Vtiger_Request)) #2 /modules/Vtiger/views/
> Detail.php(201): Vtiger_Controller-
> >invokeExposedMethod('showRecentActiv...', Object(Vtiger_Request)) #3 /
> includes/main/WebUI.php(215): Vtiger_Detail_View-
> >process(Object(Vtiger_Request)) #4 /index.php(26): Vtiger_WebUI-
> >process(Object(Vtiger_Request)) #5 {main} thrown in /modules/Vtiger/
> views/Detail.php on line 438
>
> Best Regards,
>
> */
> /*
>
> */Orville/*
>
>
> _______________________________________________
> http://www.vtiger.com/
More information about the vtigercrm-developers
mailing list