<div dir="ltr">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.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Oct 2, 2024 at 1:59 AM Alan Lord <<a href="mailto:alanslists@gmail.com">alanslists@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I've not seen that one recently.<br>
<br>
Looking at the code it should work fine. That method is declared as static:<br>
<br>
<a href="https://code.vtiger.com/vtiger/vtigercrm/-/blob/master/pkg/vtiger/modules/ModTracker/modules/ModTracker/models/Record.php#L146" rel="noreferrer" target="_blank">https://code.vtiger.com/vtiger/vtigercrm/-/blob/master/pkg/vtiger/modules/ModTracker/modules/ModTracker/models/Record.php#L146</a><br>
<br>
That method was changed 2 years ago by commit 1e29f9e0<br>
<br>
<a href="https://code.vtiger.com/vtiger/vtigercrm/-/commit/1e29f9e0faf05e65afc473ca19bedc1d61291d0a?page=2" rel="noreferrer" target="_blank">https://code.vtiger.com/vtiger/vtigercrm/-/commit/1e29f9e0faf05e65afc473ca19bedc1d61291d0a?page=2</a><br>
<br>
If you have migrated from an older version, this error would suggest to <br>
me that some of the packaged modules (in packages/vtiger/) were not <br>
updated during the migration...<br>
<br>
HTH<br>
<br>
Al<br>
<br>
<br>
On 01/10/2024 23:04, Orville Jimenez wrote:<br>
> Has anyone encountered this error when accessing record update tab<br>
> Testing Migration to Vtiger 8.3.0 on php8.2<br>
> <br>
> Fatal error: Uncaught Error: Non-static method <br>
> ModTracker_Record_Model::getTotalRecordCount() cannot be called <br>
> statically in /modules/Vtiger/views/Detail.php:438 Stack trace: #0 / <br>
> modules/Vtiger/views/Detail.php(465): Vtiger_Detail_View- <br>
>  >_showRecentActivities(Object(Vtiger_Request)) #1 /includes/runtime/ <br>
> Controller.php(65): Vtiger_Detail_View- <br>
>  >showRecentActivities(Object(Vtiger_Request)) #2 /modules/Vtiger/views/ <br>
> Detail.php(201): Vtiger_Controller- <br>
>  >invokeExposedMethod('showRecentActiv...', Object(Vtiger_Request)) #3 / <br>
> includes/main/WebUI.php(215): Vtiger_Detail_View- <br>
>  >process(Object(Vtiger_Request)) #4 /index.php(26): Vtiger_WebUI- <br>
>  >process(Object(Vtiger_Request)) #5 {main} thrown in /modules/Vtiger/ <br>
> views/Detail.php on line 438<br>
> <br>
> Best Regards,<br>
> <br>
> */<br>
> /*<br>
> <br>
> */Orville/*<br>
> <br>
> <br>
> _______________________________________________<br>
> <a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br>
<br>
<br>
_______________________________________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br>
</blockquote></div>