Hey folks !
The problem is in includes/counter.php l.748
They forgot to add a permission_callback
in register_rest_route params
register_rest_route( 'post-views-counter', '/view-post/', array(
'methods' => array( 'GET', 'POST' ),
'callback' => array( $this, 'check_post_rest_api' ),
'args' => array(
'id' => array(
'default' => 0,
'sanitize_callback' => 'absint'
)
),
'permission_callback' => true,
) );
Same issue in includes/columns.php