Title: Calculation Errors
Last modified: May 2, 2019

---

# Calculation Errors

 *  Resolved [tydogwr](https://wordpress.org/support/users/tydogwr/)
 * (@tydogwr)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/calculation-errors/)
 * 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](https://wordpress.org/support/users/savvasha/)
 * (@savvasha)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/calculation-errors/#post-11490157)
 * Hi [@tydogwr](https://wordpress.org/support/users/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](https://wordpress.org/support/users/tydogwr/)
 * (@tydogwr)
 * [7 years ago](https://wordpress.org/support/topic/calculation-errors/#post-11494567)
 * That is a good idea. I will give it a try.
 *  Thread Starter [tydogwr](https://wordpress.org/support/users/tydogwr/)
 * (@tydogwr)
 * [7 years ago](https://wordpress.org/support/topic/calculation-errors/#post-11494644)
 * 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](https://wordpress.org/support/users/tydogwr/)
 * (@tydogwr)
 * [7 years ago](https://wordpress.org/support/topic/calculation-errors/#post-11494691)
 * 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](https://wordpress.org/support/users/savvasha/)
 * (@savvasha)
 * [7 years ago](https://wordpress.org/support/topic/calculation-errors/#post-11497129)
 * Hi [@tydogwr](https://wordpress.org/support/users/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](https://wordpress.org/support/users/tydogwr/)
 * (@tydogwr)
 * [7 years ago](https://wordpress.org/support/topic/calculation-errors/#post-11506239)
 * 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](https://wordpress.org/support/users/rochesterj/)
 * (@rochesterj)
 * [7 years ago](https://wordpress.org/support/topic/calculation-errors/#post-11508950)
 * 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.

 * ![](https://ps.w.org/sportspress/assets/icon-256x256.png?rev=1252005)
 * [SportsPress - Sports Club & League Manager](https://wordpress.org/plugins/sportspress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/sportspress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/sportspress/)
 * [Active Topics](https://wordpress.org/support/plugin/sportspress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sportspress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sportspress/reviews/)

 * 7 replies
 * 3 participants
 * Last reply from: [Roch](https://wordpress.org/support/users/rochesterj/)
 * Last activity: [7 years ago](https://wordpress.org/support/topic/calculation-errors/#post-11508950)
 * Status: resolved