Error 500 when Create Player List
-
Error 500 is appearing when I try to create a new player list. I have like 20 other player lists created already, and every other sportspress functionality is working ok.
Also I can enter and edit the player lists that are already created just fine.Any ideas?
-
Hi!
Thanks for reaching out and I’m sorry for the trouble.
The 500 errors are caused by server configs. But since it was working before, it’s likely that you’ve reached a limit in your server resources.
Do you have access to your server error logs?
Thanks!
I’ve just changed the php version from 5.6 to 7.1 and now it seems like its working.
I was using 5.6 for 1.5years with sportspress with no problems, so I was pretty satisfied.
I’ll test it for the rest of the day and see what happens1840 players
Hi @franbarreneche,
The truth is that when you try to create a new player list, by default it shows ALL the player at first. That’s why you are getting 500 errors. PHP 7.x is more optimized in comparison of 5.6.x.
I will inform the developers on that. Probably we need to change the behaviour of the Player List edit page.
Thanks,
SavvasYou say that trying to load all the players (when i create a new player list) is “too much” and thats why the 500 error?
Update on my case: After the update to php 7.1 I created 3 more player lists and added some more players and teams to the system and its working OK.
Actually yes. Our Developer team “fixed” that. The patch will be included in our next update of SportsPress.
In the meantime you can try it out here https://github.com/ThemeBoy/SportsPress/commit/bf50beb953baf32cca7fc8d79a478c88870ae0f0
Thanks,
Savvas
The topic ‘Error 500 when Create Player List’ is closed to new replies.