• Hi,

    This seems to have only become a problem since we updated to WordPress 5.5. The actual problem occurs in the initialize_update_user_route method of the SyncDiscourseUser class. Apparently register_rest_route now requires that you have a permission_callback. I added 'permission_callback' => '__return_true' after line 53, and the problem went away. We are using WP Discourse version 2.1.2

    Regards,

    Mark Pemburn
    Blue Ocean Ideas

    • This topic was modified 4 years, 2 months ago by mpemburn.
  • The topic ‘‘register_rest_route’ Not Being Called Correctly’ is closed to new replies.