I am having this same issue. Setting up the new 2024 season, trying to create a player list for coaches to prepare for the draft, which will include all registered players and their previous years stats/profiles, however the drop down for team does not have an All, I have to specify a team which is not going to work for this.
Plugin Contributor
Savvas
(@savvasha)
Hi there,
It is a known bug which will be fixed on next update.
In the meantime, you can apply the following patch:
https://github.com/ThemeBoy/SportsPress/commit/6b02e867baa5fcc5e94a4b067424e1dd64148182
Thanks,
Savvas
Okay thank you! I am not too experienced so are you able to give me the exact steps I need to follow in order to apply that patch? Much appreciated.
Plugin Contributor
Savvas
(@savvasha)
Before making any changes you need to have a working backup of your website available just in case!
You will need to edit the file at wp-content/plugins/sportspress/includes/sp-core-functions.php
and make the following changes:
At line 849:
FROM: ‘property’ => null,
TO: ‘property’ => ‘none’,
and at line 985:
FROM: ‘property’ => null,
TO: ‘property’ => ‘none’,
Thanks,
Savvas
This fix worked for me. Thank you very much!
Great, thank you! Worked!
Plugin Contributor
Savvas
(@savvasha)
I am glad it worked for both of you 😊
Thanks,
Savvas