-
Johnny Andrade posted an update
Hi Hasan, inside the course SAS with WordPress, I am getting error trying “testing api with postman”. The error is “Cloud Agent Error: Couldn’t resolve host. Make sure the domain is publicly accessible or select a different agent.”. I understand it can not find the server for the website. is there any troubleshooting to fix the error.
thanks
RAYAN and mohamed-
On the lesson of creating the plugin: “Code Snippets”, when i run postman, I get thie error: “<b>Fatal error</b>: Uncaught TypeError: call_user_func(): Argument #1 ($callback) must be a valid callback, function”. this is my callback unction: “‘callback’ => function () {return new WP_REST_Response(‘Welcome, I am up and runing :’, 200);
},”. How do I troubleshoot this. thanks
-
Hi Johney, the right place for those technical questions is the forum, please read the guidelines pinned up ๐
we can’t add code snippets here properly. please open a thread in the forum to follow up with you ๐
-