Posted: August 18, 2022 at 2:32 am
Hi there!
I am currently facing this issue on my attendee mover, everything else on EE is working perfectly. I’ve tried troubleshooting and found that the link (error2 picture) is not reflecting the latest version of EE(I’m on 4.10.38, the link is 4.8.36) Any possible solutions? |
|
Updated picture links as it seems to be broken |
|
4.8.36 is the API version in that case, it should work fine. Each time there is a change within the EE REST API we make it in the current version number of EE, meaning if we completely changed the output in say:
You could still use:
to get the current output. — Having said that, are you using CloudFlare? Have you checked the servers error logs for any errors during the above request? |
|
Hi Tony, I found the error code; it’s
Again, scratching my head after troubleshooting for aeons :/ |
|
This reply has been marked as private. | |
I have gotten the error from before I moved to CloudFlare actually, yes it’s access log and output from devTools in Chrome
could it possibly be my .htaccess that’s preventing access to that link? because my website security plugin is active |
|
Ok, first step. Disable Cloudflare so we can see the error from the server itself, not from CloudFlare.
The problem with this is it doesn’t give you any indication of why so the access logs don’t help in this case.
Possibly, yes. IRght now i could literally be anything. There are multiple reasons for Cloudflare to throw error 520, so start by disabling it and viewing the site directly. The PHP notices displayed above won’t be causing the above. |
|
Strange… I’ve just tried another endpoint here and it’s working. I’ve disabled cloudflare and the error persists. i’ve also flushed my .htaccess and disabled my security plugin for now, to no avail |
|
I know this is also separate but strangely the RSS feed also stopped working since awhile back and I thought it was nothing |
|
Yeah, thats unrelated, it’s the connection to our RSS feed failing. We can revisit that later, it won’t be causing any issues on your site. — For the current issue, enable WP_DEBUG on the site plz In your wp-config.php file you’ll have:
Change that too:
Or, swap it for the code her to enable logging: https://eventespresso.com/wiki/troubleshooting-checklist/#wpdebug |
|
I already have this in my wp-config and it’s above
I just tried disabling all the plugins on my site and only leaving EE Not sure if it’s notable, but when I disabled all plugins on my site and reenabled it I was presented with this error I have since reinstalled the plugin and it’s okay now, but the same root issue persists |
|
Temporarily change that to true so I can check the output. Why do you have |
|
Done!
I just realized.. I turned it to false and it worked. I recalled why I have it on, it was on a separate thread I had with you and I was embarking on building the code to interact with other sites 🙁 my apologies for the silly mistake :sweat: thanks Tony this is now resolved, hopefully anyone who chanced upon this will remember to turn off debugging |
|
I’m not sure what you’ve changed as of now, but just so you know currently I can now load the /events/ endpoint. (Edit – cross-post with the above 🙂 ) |
|
Yeah on checking into this In some instances the array it is using to loop over and add headers from can have spaces in the keys, those are causing the above error. A fix for this will be included in the next version of Event Espresso although I don’t recommend leaving Nice find and I’m glad its working for you now 🙂 |
|
The support post ‘Attendee mover stop working – HTTP520 error’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.