Hi!
Thanks for reaching out!
Please make sure you have the number of decimal places set for all your player stats / statistics.
Also please make sure you are running the latest plugin version, we’ve had a similar issue reported and fixed a few weeks ago.
Kind Regards,
-Roch
Hey Roch,
thanks for your tip.
But i don’t find the misstake. I check all Players. All have the same input. Only the Name and the birth is differently.
The Plugin have the news Version.
Do you have any ideas ?
Philipp
I’m experiencing the same exact issues with the Player Lists. I’m receiving the following error message when displaying player lists:
“Warning: number_format() expects parameter 2 to be long, string given in /home/content/p3pnexwpnas05_data01/89/2896989/html/wp-content/plugins/sportspress/includes/class-sp-player-list.php on line 500”
I checked all the decimal places set for player stats, but see no problems. Any other recommendations or solutions?
Plugin Author
Brian
(@brianmiyaji)
@berzappel @ytilles this issue occurs when decimal places were left blank or entered as non-numeric values. Here’s a fix that will be included in the next update, and should get rid of this error:
https://github.com/ThemeBoy/SportsPress/commit/7bc729dfd17f784ab275eeb31215f690f2f71ca0#diff-7241590d6e1ca7f1fbf75a074ee537d2
Thanks Brian! Your fix worked.