[Vtigercrm-developers] Error on accessing record history (modtracker)

Rubén A. Estrada Orozco rulotec1 at gmail.com
Wed Oct 2 11:37:05 GMT 2024


Bear in mind that running individual upgrades to 8.1 and 8.2 don't work
correctly because the database migration scripts are not run by the
standard migration process.

On Wed, Oct 2, 2024 at 1:59 AM Alan Lord <alanslists at gmail.com> wrote:

> 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/
>
>
> _______________________________________________
> http://www.vtiger.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20241002/101e9899/attachment.html>


More information about the vtigercrm-developers mailing list