Plugin Support
qtwrk
(@qtwrk)
Hi,
Could you please check PHP error log and see if there is anything ?
Best regards,
I am having the exact same problem, cannot run my app with the Cache REST API option switched on.
GET https://www.domain.org/wp-json/wp/v2/cpt/?per_page=100 is passing 500 error
to the browser, and the error.log is saying:
WARN lsapi Module:Cache vary request header "Origin" not defined!
Just loading the URL in browser window works..
App is running off same domain, so cannot see how it could be CORs?
How was this resolved? Any help appreciated.
Thanks
Hello,
Same issue here. The API request works fine it’s just the status throws 500.
Why is this happening?
Thanks!
Istvan
Updating openlitespeed web server fixed this for me. If I remember correctly, the shell command was something like lsup.sh
Hi @twobyte, thanks for your response.
I updated LS but the issue still persists for me.
Error.log & Access.log don’t show any signs of errors dough.
@qtwrk Can you please let me know what direction to proceed in detecting where the issue is.
Thanks!
Istvan
Plugin Support
qtwrk
(@qtwrk)
Hi,
sorry , kind of forget what was the issue.
I think it was openlitespeed issue and update to latest should fix it
/usr/local/lsws/admin/misc/lsup.sh -e 1.7.7
Best regards,