Plugin Contributor
Savvas
(@savvasha)
Hi @chissco ,
To help reduce the query load, I’d recommend first enabling a caching plugin like WP Super Cache or W3 Total Cache, which can significantly reduce database queries by serving cached versions of your pages. Additionally, you might want to limit the number of events, players, or teams displayed on each page by adjusting the “Number of results to show” settings in the SportsPress configuration options (SportsPress > Settings). If you’re using widgets or shortcodes that display multiple league tables or player lists, consider reducing the number of items shown or splitting them across different pages.
Another important step is to check if there are any plugin conflicts by temporarily deactivating other plugins to see if the query count improves.
You should also ensure your hosting environment has adequate resources for a multisite installation with SportsPress, as 500/502 errors often indicate server memory or timeout limits being reached.
If the issue persists, consider reaching out to your hosting provider about increasing PHP memory limits and max execution time, or explore upgrading to a more robust hosting plan that can handle the database load from SportsPress on a multisite network.
Thanks,
Savvas
Good morning
Thank you for your messages. I’ve already been doing those kinds of tests and so on, but since it’s a multi-suite site, there are obviously many events and types of sports, which makes things very complicated. I’m consulting with you to see if there’s anything that actually works, because neither the caching plugins nor other tests have worked.
We’ll see how I can solve it.
Thank you very much.