simple-location
simple-location copied to clipboard
500 internal server error
After removing the plugin the following url works /wp-json/wp/v2/posts?per_page=99&page=1
otherwise...
Caught exception: Server error: GET https://domain.com/wp-json/wp/v2/posts?per_page=99&page=1
resulted in a 500 Internal Server Error
response:\n
That is strange... nothing in the errors logs?
@interludic I ran the same entry on two different sites and did not get a 500 error. Need more information to diagnose.
Thanks,
When i try to edit a post i get the follow error.
The error is gone and the page loads fine when i deactivate plugin.
It's a mystery...can you activate it, and check the server logs for something? Because the screenshot is a JS error, but I only do JS in the Post Editor
Is this happening in the Block Editor or the Classic one?
Yes editing a post with the block editor.
Is this the first report of this nature?
On Thu, 8 Oct 2020, 1:02 pm David Shanske, [email protected] wrote:
Is this happening in the Block Editor or the Classic one?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/dshanske/simple-location/issues/180#issuecomment-705285845, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQIXXKR57GTX6CHOXCVGATSJUMTNANCNFSM4OUE74XA .
I can't reproduce it on my site. I tried several times. And no one else has reported something similar. So, unable to fix lacking more info. Did you configure the plugin?
All of those fields are created in all versions back to the beginning.
wow that was fast reply, i just realised that its still doing it in 3.8.2
so i just need to fix it...
This route: /wp-json/sloc_geo/1.0/geocode/?latitude=-37.8811647&longitude=145.0074495&altitude=15&weather=1&map_zoom=&height=200&width=200
returns:
{ "code": "rest_forbidden", "message": "Sorry, you are not allowed to do that.", "data": { "status": 401 } }
It would if you go there directly. You'd need to be verified as a user to the API. When the request is made by the javascript code, it is authenticated.
When you get the critical error message, what does the email it says it will send say? promises