• Resolved homu9

    (@homu9)


    I found that I could not run WP-CLI command in a client’s website root.
    It shows “Error: You are not authorized to perform this action.”

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi, go to WP Security -> Miscellaneous -> WP REST API and make sure you have not enabled the following feature Disallow Unauthorized REST Requests:.

    Let us if this helps you.

    Kind regards.

    Thread Starter homu9

    (@homu9)

    After uncheck Disallow Unauthorized REST Requests, WP-CLI could run with no problem.
    Thanks for replying!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Is there settings which could prevent WP-CLI form working?’ is closed to new replies.