• When I try to activate or deactivate a Post Notification, I am getting No route was found matching the URL and request method. I’ve checked the Dev Tools and it is trying to do a POST to /wp-json/mailpoet/v1/newsletters/62/status?_locale=user. I checked the code and it appears the route should be a PUT instead of a POST.

    I’m on WordPress 7.0 and 5.32.0 of the MailPoet plugin

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Ján Mikláš

    (@neosinner)

    Hi @shrtminded, I can verify the issue. The route indeed accepts PUT, but the plugin sends POST request with a header which overrides it to PUT. But if that header is removed (e.g. by server configuration, security plugin, or any other way), the request will fail as you can see.

    We’ll work on fix, which should be included in next week’s release.

    Plugin Author Ján Mikláš

    (@neosinner)

    Hi @shrtminded, just an update, the fix is implemented and will be included in next release.

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.