• Hi,
    I upgraded to 2.1.2 this morning and then noticed that all of my players lists are broken. I tested creating new ones and trying new pages, etc…they still all result in this error:

    Fatal error: Uncaught exception ‘Exception’ with message ‘Division by 0 on: ‘0 / 0′ in 0/0-2*100’ in /home/content/p3pnexwpnas03_data03/72/2297572/html/wp-content/plugins/sportspress/includes/libraries/class-eqeos.php:304 Stack trace: #0 /home/content/p3pnexwpnas03_data03/72/2297572/html/wp-content/plugins/sportspress/includes/libraries/class-eqeos.php(427): eqEOS->solvePF(Array) #1 /home/content/p3pnexwpnas03_data03/72/2297572/html/wp-content/plugins/sportspress/includes/sp-core-functions.php(1239): eqEOS->solveIF(‘$sa/$s-2*100’, Array) #2 /home/content/p3pnexwpnas03_data03/72/2297572/html/wp-content/plugins/sportspress/includes/class-sp-player-list.php(470): sp_solve(‘$sa / $s-2 * 10…’, Array, ‘2’) #3 /home/content/p3pnexwpnas03_data03/72/2297572/html/wp-content/plugins/sportspress/templates/player-list.php(48): SP_Player_List->data() #4 /home/content/p3pnexwpnas03_data03/72/2297572/html/wp-content/plugins/sportspress/includes/sp-core-functions.php(80): include(‘/home/content/p…’) #5 /home/content/p3pnexwpnas03_data in /home/content/p3pnexwpnas03_data03/72/2297572/html/wp-content/plugins/sportspress/includes/libraries/class-eqeos.php on line 304

    PLEASE HELP :-/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter jjohnston618

    (@jjohnston618)

    I have no idea why this occurred, but I was able to fix it by getting rid of the SEASON 0 we had everything tied to (as a test preseason). Again, not sure why adding a new Season and tying everything to that fixed it, but it appears to have done the trick. You can ignore this post unless someone wants to provide some feedback on what this error even means and why it happens.

    Thread Starter jjohnston618

    (@jjohnston618)

    ok, you can close this ticket…sportspress configuration does NOT like it when you have 2 different player performance metrics tagged as the same name (Shots=S, Saves=S)… ??

    this caused all kinds of issues because the “key” it created for the 2nd metric (s-2) was being treated by the equation calculator as “s minus 2″…. it was literally trying to subtract 2 from the original “s” name as part of the calculation instead of recognizing that this “s-2” is nothing more than a key/nickname/identifier….

    all is well in shots/saves-ville now though…sorry for the bother

    Roch

    (@rochesterj)

    Hi!

    Thanks a lot for sharing that. I believe though it’s worth mentioning to our dev team so I’ll send it to them so they can check and probably fix it ??

    Kind Regards,
    -Roch

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal error – Players lists do not work’ is closed to new replies.