• Resolved tydogwr

    (@tydogwr)


    My site is under construction or I would include a link. I have read a few posts from a while back about calculation errors related to Player Statistics. Has anyone found a better solution than re-entering all the data?

    I have some fields that are calculating correctly, and some that aren’t’. They are simple totals I am looking for. I have 16 events that my players competed. When I enter an attended formula, it only shows 15. To bypass this issue I configured a player performance stat that is called Attended. In each event, I manually added a 1. That should total 16, it totals 31. I have cleared my cache, deleted the stat and rebuilt it, and still can’t get it to work.

    I love the idea of this plugin and want to upgrade to Pro, but I need it to work first. Thank you.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor Savvas

    (@savvasha)

    Hi @tydogwr ,

    It seems that an event is not calculated correctly. To identify which one, you can set them all as draft and publish one by one until you find which one causes that behaviour.

    Thanks,
    Savvas

    Thread Starter tydogwr

    (@tydogwr)

    That is a good idea. I will give it a try.

    Thread Starter tydogwr

    (@tydogwr)

    This is what I found.

    I have a player performance that I enter a 1 if the player attended the event. When it transfers over to the player stat it doubles. I don’t see anything on my end that would cause that. Is it possible that there is a bug?

    As far as the attended equation, I did what you said and moved them all to drafts. Once I published, I found the problem. I fixed it BUT…. After I did, the number went back to 15 and a different event became the problem. It seems like it just won’t go to 16 and the event that is the issue keeps changing. Any suggestions?

    Thread Starter tydogwr

    (@tydogwr)

    More updates/questions.

    Is there a setting somewhere that limits the number of events a player can attend? I created a whole new event, added my players, and their attended events is stuck at 15.

    Is it possible another plugin is effecting Sportspress?

    Recap.

    1. I have a player performance that doubles the number I enter for some reason. Just one of them does this.

    2. I have a player stat that is for attended events. It is stuck at 15 reguarless of the number of new events I add.

    Is it possible there is a bug? Is it possible another plugin is effecting Sportspress?

    These seem so simple but they are killing me.

    Thank you for all your help.

    Plugin Contributor Savvas

    (@savvasha)

    Hi @tydogwr .

    What you can try:

    a) Disable all your plugins except SportsPress, also switch to a “default” theme like Rookie or TwentySeventeen. Just to see if there is any conflict.
    b) Be sure that you are assigning the same League and Season at your Events, Players and Teams (for the attendance performance)
    c) Try to recreate the “doubling” performance. Create a new one, instead of edit the current one.

    Thanks,
    Savvas

    Thread Starter tydogwr

    (@tydogwr)

    I was able to fix the doubling error. Still not the attended error. That is ok. I have found a workaround. Thank you for your help.

    Roch

    (@rochesterj)

    I’m glad it’s resolved!

    Please, let us know if you need anything else.

    Kind Regards,

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Calculation Errors’ is closed to new replies.