[Vtigercrm-developers] Error on accessing record history (modtracker)
Orville Jimenez
orvillej at blackdiamondlandscape.com
Wed Oct 2 16:46:12 GMT 2024
Hi Alan,
Thank you, yes it's from a migration from 7.1 up to 8.3, I did not
notice the issue until 8.2 to 8.3, I will have to try and start over again
and check where the issue is coming from, I have double checked the related
php files based on the error and looks the same as the one in the repo, so
it could be from another one core files related to it.
Best Regards,
*Orville *
On Wed, Oct 2, 2024 at 12:53 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/3518a692/attachment.html>
More information about the vtigercrm-developers
mailing list