Dear Wondermondo,
An error 500 can be done by multiple causes :
1 – A plugin or theme function
2 – Corrupted .htaccess file
3 – PHP memory limit
If the plugin is doing great on pages with fewer markers, I think your problem might be the 3rd one, a PHP memory limit. The query might be too big for your PHP memory limit because Travelers’ Map is querying all your posts in one single request.
I don’t know your skills and administration rights you have on your website, I suggest you to try several things :
- 1 – To see what’s the problem, you can enable php error logs. For that you need to access your wp-config.php file at the root of your wordpress website (in your FTP) and write :
//This will enable your PHP errors to show on your website (instead of a 500 error).
define( 'WP_DEBUG', true );
//Enable php errors to log into the /wp-content/debug.log file
define( 'WP_DEBUG_LOG', true );
//Finally, this disable display of errors and warnings visible on your website, so the errors are only logged into the /wp-content/debug.log file and not shown to the visitors
define( 'WP_DEBUG_DISPLAY', false );
It’s possible WP_DEBUG is already set in your file to false, in that case juste replace false to true
Then, if you visit again your “map2” page, the error should log into the file. You can then send it to me here so I can understand better.
You can also use a plugin to see the errors in your wp-admin, but you will need to set WP_DEBUG yourself anyway: https://fr.www.ads-software.com/plugins/error-log-monitor/
- 2 – You can increase your PHP memory limit. You can find information about that anywhere on Google, but here is a link that explains it easily :
https://www.wpbeginner.com/wp-tutorials/fix-wordpress-memory-exhausted-error-increase-php-memory/
- 3 – Finally, this will not fix your problem but will speed-up your website a lot, if you don’t already have one, I suggest you install a caching plugin. I use WP Fastest Cache on my website, and it works very well with Travelers’ Map. This will save a cached version of your pages and give it to your visitors, so your server doesn’t have to query every markers every time a visitor is coming. You can also set in the settings to clear the cache of every page everytime you add a post.
Let me know if you can access your errors, and if the second point is fixing your issue.
Have a nice day,
Camille
-
This reply was modified 4 years, 8 months ago by Camille V.
-
This reply was modified 4 years, 8 months ago by Camille V.