Title: Plugin Error
Last modified: October 17, 2020

---

# Plugin Error

 *  [jozephor](https://wordpress.org/support/users/jozephor/)
 * (@jozephor)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/plugin-error-159/)
 * Hi, I get this notice when turn debug on.
 * Notice: register_rest_route was called incorrectly. The REST API route definition
   for post-views-counter/view-post is missing the required permission_callback 
   argument. For REST API routes that are intended to be public, use __return_true
   as the permission callback.

Viewing 1 replies (of 1 total)

 *  Plugin Author [dFactory](https://wordpress.org/support/users/dfactory/)
 * (@dfactory)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/plugin-error-159/#post-13624792)
 * Hey,
    Thanks for pointing this out. Should be fixed in just released 1.3.3

Viewing 1 replies (of 1 total)

The topic ‘Plugin Error’ is closed to new replies.

 * ![](https://ps.w.org/post-views-counter/assets/icon-256x256.png?rev=2973820)
 * [Post Views Counter](https://wordpress.org/plugins/post-views-counter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/post-views-counter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/post-views-counter/)
 * [Active Topics](https://wordpress.org/support/plugin/post-views-counter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/post-views-counter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/post-views-counter/reviews/)

## Tags

 * [api](https://wordpress.org/support/topic-tag/api/)
 * [rest](https://wordpress.org/support/topic-tag/rest/)

 * 1 reply
 * 2 participants
 * Last reply from: [dFactory](https://wordpress.org/support/users/dfactory/)
 * Last activity: [5 years, 7 months ago](https://wordpress.org/support/topic/plugin-error-159/#post-13624792)
 * Status: not resolved