{"id":17109149,"date":"2023-10-09T02:15:37","date_gmt":"2023-10-09T02:15:37","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/api-rest-error\/"},"modified":"2023-10-09T02:15:37","modified_gmt":"2023-10-09T02:15:37","slug":"api-rest-error","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/api-rest-error\/","title":{"rendered":"API REST error"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Suddenly this two messages started to show:<br \/><br \/>Uma sess\u00e3o PHP foi criada por uma chamada \u00e0 fun\u00e7\u00e3o\u00a0<code>session_start()<\/code>. Isso interferir na API REST e nos solicita\u00e7\u00f5es loopback. A sess\u00e3o deve ser fechada por\u00a0<code>session_write_close()<\/code>\u00a0antes de fazer qualquer solicita\u00e7\u00e3o HTTP.<br \/><br \/>and<br \/><br \/>Endpoint da API REST: https:\/\/piorevangelho.online\/wp-json\/wp\/v2\/types\/post?context=edit<br \/>Resposta da API REST: (http_request_failed) cURL error 28: Operation timed out after 10000 milliseconds with 0 bytes received<br \/><br \/>I just disabled all my plugins and started to activate one by one until find that Live Visitor Counter is the cause of error.<br \/>What can I do??<\/p>\n","protected":false},"template":"","class_list":["post-17109149","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/17109149","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/17109149\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=17109149"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}