Fetching messages returns error 500
-
Hello,
I’ve spend around half a day trying to solve this, when fetching messages by requesting GET from {URL}/wp-content/plugins/wise-chat/src/endpoints/?action=wise_chat_messages_endpoint… my server always returned 500.
I tried many many things, and finaly after turning off php opcache, and messing with index.php from endpoints, I figured out that line 16 from the file which read “require_once(dirname(__FILE__).’/../../../../../wp-load.php’);” was wrong, and I just changed it to an absolute path like “require_once(‘/home/bitnami/stack/wordpress/wp-load.php’);” and if finaly works.I think I’m going to quit being a programmer.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Fetching messages returns error 500’ is closed to new replies.