{"action":"closed","issue":{"url":"https://api.github.com/repos/pantheon-systems/documentation/issues/4478","repository_url":"https://api.github.com/repos/pantheon-systems/documentation","labels_url":"https://api.github.com/repos/pantheon-systems/documentation/issues/4478/labels{/name}","comments_url":"https://api.github.com/repos/pantheon-systems/documentation/issues/4478/comments","events_url":"https://api.github.com/repos/pantheon-systems/documentation/issues/4478/events","html_url":"https://github.com/pantheon-systems/documentation/issues/4478","id":408278667,"node_id":"MDU6SXNzdWU0MDgyNzg2Njc=","number":4478,"title":"Disable REST API and Require JWT / OAuth Authentication","user":{"login":"eabquina","id":8427313,"node_id":"MDQ6VXNlcjg0MjczMTM=","avatar_url":"https://avatars3.githubusercontent.com/u/8427313?v=4","gravatar_id":"","url":"https://api.github.com/users/eabquina","html_url":"https://github.com/eabquina","followers_url":"https://api.github.com/users/eabquina/followers","following_url":"https://api.github.com/users/eabquina/following{/other_user}","gists_url":"https://api.github.com/users/eabquina/gists{/gist_id}","starred_url":"https://api.github.com/users/eabquina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eabquina/subscriptions","organizations_url":"https://api.github.com/users/eabquina/orgs","repos_url":"https://api.github.com/users/eabquina/repos","events_url":"https://api.github.com/users/eabquina/events{/privacy}","received_events_url":"https://api.github.com/users/eabquina/received_events","type":"User","site_admin":false},"labels":[{"id":220611026,"node_id":"MDU6TGFiZWwyMjA2MTEwMjY=","url":"https://api.github.com/repos/pantheon-systems/documentation/labels/Technical%20Review","name":"Technical Review","color":"bfdadc","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2019-02-08T18:50:53Z","updated_at":"2019-05-09T18:46:34Z","closed_at":"2019-05-09T18:46:34Z","author_association":"CONTRIBUTOR","body":"Re: [Modules and Plugins with Known Issues](https://pantheon.io/docs/modules-plugins-known-issues/)\r\n\r\nPriority: Low\r\n\r\n## Issue Description:\r\nTicket: 126029\r\nThe plugin \"Disable REST API and Require JWT / OAuth Authentication\" causes WP CLI to fail, specifically along with Woocommerce due to it blocking related functions\r\n\r\n```Fatal error: Uncaught Error: Call to undefined method WP_Error::get_data() in /srv/bindings/c5107ba402534a44a732d24c641a8106/code/wp-content/plugins/woocommerce/includes/cli/class-wc-cli-runner.php:64\r\nStack trace:\r\n#0 phar:///opt/pantheon/wp-cli1/wp-cli.phar/php/class-wp-cli.php(273): WC_CLI_Runner::after_wp_load()\r\n#1 phar:///opt/pantheon/wp-cli1/wp-cli.phar/php/WP_CLI/Runner.php(1199): WP_CLI::do_hook('after_wp_load')\r\n#2 phar:///opt/pantheon/wp-cli1/wp-cli.phar/php/WP_CLI/Runner.php(1100): WP_CLI\\Runner->load_wordpress()\r\n#3 phar:///opt/pantheon/wp-cli1/wp-cli.phar/php/WP_CLI/Bootstrap/LaunchRunner.php(23): WP_CLI\\Runner->start()\r\n#4 phar:///opt/pantheon/wp-cli1/wp-cli.phar/php/bootstrap.php(75): WP_CLI\\Bootstrap\\LaunchRunner->process(Object(WP_CLI\\Bootstrap\\BootstrapState))\r\n#5 phar:///opt/pantheon/wp-cli1/wp-cli.phar/php/wp-cli.php(23): WP_CLI\\bootstrap()\r\n#6 phar:///opt/pantheon/wp-cli1/wp-cli.phar/php/boot-phar.php(8): include('phar:///opt/pan...')\r\n#7 /opt/pantheon/wp-cli1/wp-cli.phar(4): include('phar:///opt/pan...')\r\n#8  in /srv/bindings/c5107ba402534a44a732d24c641a8106/code/wp-content/plugins/woocommerce/includes/cli/class-wc-cli-runner.php on line 64\r\n```\r\n\r\n## Suggested Resolution\r\n\r\nDisable plugin, provide alternative methods to disable REST or similar objectives"}}
{"actor":{"display_login":"alexfornuto"}}