Data cannot be written to the metrics table

Hello, I am currently using OJS 2.4.8.3. The current article data of my website cannot be written into the metrics table in the database, resulting in the number of views and downloads of the article being displayed as 0 on the web page, but the article content can be displayed on the web page. Now I want to ask you how to check this part of the code. Thank you so much for any help. I will try any suggestions.

1.Result set.
{36(5VYGPUFHP0ZEL_KP7R

pic2

2.Views and downloads of articles.
pic3

3.Frontend code.
pic4

Hello @Snow,

The version of OJS that you’re using is no longer maintained or supported by PKP. I recommend that you upgrade to the newest version of OJS. However, other community members may wish to offer assistance with your question.

You may find the following resources helpful in preparing for and performing the upgrade:

These resources will introduce you to OJS 3 and how it is different from OJS 2:

You may need to seek professional support to upgrade your installation. This may be able to be acquired from the service provider that hosts or maintains your software, such as the technical support team at your institution or a third-party hosting provider.

-Roger
PKP Team