• Hi!

    I opened a topic for a week, but there is no answer since 6 days, so I created this topic to continue with the conversation of the previous topic.

    Link of the previous topic

    https://www.ads-software.com/support/topic/statistic-total-in-avg-average/
    https://www.ads-software.com/support/topic/error-with-statistic-calculation/

    I have a problem with the automatic calculation of the statistics, the statistical variables like AVG (Batting Average and other).

    I have noticed that this is because when I use fields of the player’s performance, despite filling these variables in the player statistics, Sportpress takes them as if its value was 0.

    Screenchots

    https://vvcap.com/3aEzxIIbArD
    https://vvcap.com/lp7AihuiaQA
    https://vvcap.com/tPDQnrEeJ59

    The stat variable AVG is set in player stat not a player performance

    – I have already removed the performance and aggregate variables again.
    – I have already installed sportpress locally on several computers and in all the same thing happens
    – I have also disabled the other plugins without success
    – I also set all my events as drafts, I was only publishing one of them, and I was checking if the entry was correct, but it did not work

    Maybe there is a problem in the code, because when I use metric or constant variables work correctly in the equation, but the performance variables take them as 0, even though they are filled correctly

    • This topic was modified 7 years, 8 months ago by albert211.
  • The topic ‘Error with statistic calculation – v2’ is closed to new replies.