If your site slows down or something breaks after you add a plugin, the quickest way to find the cause is to switch plugins off one at a time on a copy of the site, or in a troubleshooting mode that only affects you.
Find a conflicting plugin
- Make a full backup, or better, work on a staging copy of the site.
- Install the free Health Check & Troubleshooting plugin from WordPress.org. Its troubleshooting mode disables plugins and switches to a default theme for your login only, so visitors are not affected.
- With only GeoDirectory and its add-ons active, check whether the problem is still there.
- If it has gone, turn the other plugins back on one by one, checking each time. The plugin that brings the problem back is the one to look at.
- Do the same with your theme by testing with a default WordPress theme.
Clear any page cache and minify cache (and your browser cache) between tests, or you may see an old copy of the page.
Find slow database queries
The free Query Monitor plugin shows every database query run on a page, how long each took and which plugin or theme called it. Load the slow page while logged in as an admin, open the Queries panel and sort by time. Your host can also enable a MySQL slow query log, which records the slowest queries across the whole site.
Caching and optimisation plugins can also cause trouble with maps, search and the add listing form. See GeoDirectory and Caching Compatibility for what to exclude.
What to send us
If the slow queries or the conflict point at GeoDirectory, open a support ticket and include:
- the System Status report from GeoDirectory > Status
- the slow queries themselves (copied from Query Monitor or the slow query log), with the page they ran on
- the steps you took to narrow it down