{"id":14286398,"date":"2021-04-07T07:12:08","date_gmt":"2021-04-07T07:12:08","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/rest-api-errors-4\/"},"modified":"2021-04-07T07:12:08","modified_gmt":"2021-04-07T07:12:08","slug":"rest-api-errors-4","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/rest-api-errors-4\/","title":{"rendered":"REST API Errors"},"content":{"rendered":"<p>The latest version of the plugin is showing the following PHP notice in the debug log whenever I go to add or edit any Posts or Pages within WP-Admin<\/p>\n<p><code>PHP Notice:  register_rest_route was called &lt;strong&gt;incorrectly&lt;\/strong&gt;. The REST API route definition for &lt;code&gt;cleantalk-antispam\/v1\/js_keys__get&lt;\/code&gt; is missing the required &lt;code&gt;permission_callback&lt;\/code&gt; argument. For REST API routes that are intended to be public, use &lt;code&gt;__return_true&lt;\/code&gt; as the permission callback. Please see &lt;a href=&quot;https:\/\/wordpress.org\/support\/article\/debugging-in-wordpress\/&quot;&gt;Debugging in WordPress&lt;\/a&gt; for more information. (This message was added in version 5.5.0.) in \/home\/******\/wp-includes\/functions.php on line 5313<\/code><\/p>\n","protected":false},"template":"","class_list":["post-14286398","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/14286398","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\/14286398\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=14286398"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}