{"id":14962927,"date":"2021-10-12T14:57:09","date_gmt":"2021-10-12T14:57:09","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/error-messages-when-debugging\/"},"modified":"2021-10-12T14:58:05","modified_gmt":"2021-10-12T14:58:05","slug":"error-messages-when-debugging","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/error-messages-when-debugging\/","title":{"rendered":"Error messages when debugging"},"content":{"rendered":"<p>Hello,<br \/>\nyour plugin outputs error messages when debugging is enabled (WP_DEBUG set to true)<\/p>\n<p>These are in croatian, but I believe you will understand: `Notice: register_rest_route je neispravno pozvan. Definiciji REST API rute za userway\/v1\/debug nedostaje neophodni argument permission_callback. Za REST API rute koje su namijenjene javnosti, koristite __return_true kao povratni poziv. Pro\u010ditajte Debugging in WordPress za vi\u0161e informacija. (Ova poruka je dodana u ina\u010dici 5.5.0.) in C:\\Wamp.NET\\sites\\etnografski\\wp-includes\\functions.php on line 5663<\/p>\n<p>Notice: register_rest_route je neispravno pozvan. Definiciji REST API rute za userway\/v1\/fix nedostaje neophodni argument permission_callback. Za REST API rute koje su namijenjene javnosti, koristite __return_true kao povratni poziv. Pro\u010ditajte Debugging in WordPress za vi\u0161e informacija. (Ova poruka je dodana u ina\u010dici 5.5.0.) in C:\\Wamp.NET\\sites\\etnografski\\wp-includes\\functions.php on line 5663`<\/p>\n<p>Generally, register_rest_route call was a little changed and now it requires permission_callback among array arguments. You should return __return_true if this is a public api.<\/p>\n","protected":false},"template":"","class_list":["post-14962927","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/14962927","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":1,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/14962927\/revisions"}],"predecessor-version":[{"id":14962931,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/14962927\/revisions\/14962931"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=14962927"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}