• Resolved athimm

    (@athimm)


    Hello,

    when trying to use AI Engine with WP Ghost active the plugin breaks with

    Error

    An error occured while updating the options.

    <small>For more information, check your console. You might also want to check your PHP Error Logs.</small>

    The requested endpoint returns something along the way of

    {“code”:”rest_no_route”,”message”:”No route was found matching the URL and request method.”,”data”:{“status”:404}}

    I read Fix: The WordPress REST API | Meow Apps, but could not fix my issue there (the API is responding, just not the mwai/v1/settings/update endpoint.

    When I disable WP Ghost it does work then. WP Ghost bends the API path and also blocks XML-RPC and similar, although for testing I switched off all API protection other than the change of path itself.

    I could not find any traces of hardwired wp-json in the code, so that is not the issue. But something breaks when using AI engine and WP Ghost.

    Can you assist? Security comes over AI in this case, so I can’t drop WP Ghost.

    Thanks, Axel

Viewing 1 replies (of 1 total)
  • Plugin Support Val Meow

    (@valwa)

    Hey @athimm! 👋

    On our side, we need to use the WordPress REST API to query your chatbots and even save your settings, so if the REST API route is broken, the plugin will indeed not function properly. However, to send requests to the REST API, we use the WordPress core function to get the current endpoint. If this endpoint is modified, make sure it still allows the endpoint to be reachable and returns the correct path through WordPress core functions.

    Sometimes, security plugins have a whitelist where you need to allow certain plugins to bypass endpoint restrictions—make sure that’s not necessary in your case. I think the best way to resolve this would be to contact WP Ghost support directly and ask them where the issue might be happening (if it’s not related to any of your security settings). If there’s anything we need to change on our end, let us know.

    Hope this helps!

Viewing 1 replies (of 1 total)

The topic ‘WP Ghost or other path changing plugins/method’ is closed to new replies.