Title: Calculation Problem in Ranking
Last modified: June 15, 2024

---

# Calculation Problem in Ranking

 *  Resolved [elmariachi09](https://wordpress.org/support/users/elmariachi09/)
 * (@elmariachi09)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/calculation-problem-in-ranking/)
 * Hi,
   I have problem with points calculation. When I add scores and hit save the
   points are saved but ranking still shows zeros.This is what I have when I update
   scores:[https://imgur.com/a/JIaq4iY](https://imgur.com/a/JIaq4iY)
 * ![](https://wordpress.org/fd191d18-29b2-4f92-98bd-f437f7c4454e)
 * I wen to HELP page and added line to wp-config.php (and hit force calucation 
   button).
   This is what I get now:[https://i.imgur.com/pUMEVXL.png](https://i.imgur.com/pUMEVXL.png)
 * This is message I have in debug.log
 * `[15-Jun-2024 07:50:42 UTC] PHP Fatal error: Football Pool => default ranking
   with ID 1 is missing in the pool_zeck_rankings table in /home/ambimport/domains/
   typerek.com.pl/public_html/euro2024/wp-content/plugins/football-pool/admin/class-
   football-pool-admin-score-calculation.php on line 1090`
    -  This topic was modified 2 years, 1 month ago by [elmariachi09](https://wordpress.org/support/users/elmariachi09/).
    -  This topic was modified 2 years, 1 month ago by [elmariachi09](https://wordpress.org/support/users/elmariachi09/).

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [AntoineH](https://wordpress.org/support/users/antoineh/)
 * (@antoineh)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/calculation-problem-in-ranking/#post-17826956)
 * you can fix this by executing the following query:
 *     ```wp-block-code
       INSERT INTO pool_zeck_rankings (id, name, user_defined, calculate) VALUES (1, 'default ranking', 0, 1);
       ```
   
 *  Plugin Author [AntoineH](https://wordpress.org/support/users/antoineh/)
 * (@antoineh)
 * [2 years ago](https://wordpress.org/support/topic/calculation-problem-in-ranking/#post-17840350)
 * “Forbidden” as an error message indicates a permission problem (403 status code).
   At first I would advice to check with your web host to check if this is caused
   by server config.
 *  Thread Starter [elmariachi09](https://wordpress.org/support/users/elmariachi09/)
 * (@elmariachi09)
 * [2 years ago](https://wordpress.org/support/topic/calculation-problem-in-ranking/#post-17840820)
 * Your solution worked for me. Thank you [@antoineh](https://wordpress.org/support/users/antoineh/)

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Calculation Problem in Ranking’ is closed to new replies.

 * ![](https://ps.w.org/football-pool/assets/icon-256x256.png?rev=983880)
 * [Football Pool](https://wordpress.org/plugins/football-pool/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/football-pool/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/football-pool/)
 * [Active Topics](https://wordpress.org/support/plugin/football-pool/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/football-pool/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/football-pool/reviews/)

 * 3 replies
 * 4 participants
 * Last reply from: [elmariachi09](https://wordpress.org/support/users/elmariachi09/)
 * Last activity: [2 years ago](https://wordpress.org/support/topic/calculation-problem-in-ranking/#post-17840820)
 * Status: resolved