{"action":"created","issue":{"url":"https://api.github.com/repos/10up/ElasticPress/issues/1023","repository_url":"https://api.github.com/repos/10up/ElasticPress","labels_url":"https://api.github.com/repos/10up/ElasticPress/issues/1023/labels{/name}","comments_url":"https://api.github.com/repos/10up/ElasticPress/issues/1023/comments","events_url":"https://api.github.com/repos/10up/ElasticPress/issues/1023/events","html_url":"https://github.com/10up/ElasticPress/issues/1023","id":296058679,"number":1023,"title":"404 Not Found when installing plugins after activating ElasticPress","user":{"login":"ahmed-sigmalux","id":30477344,"avatar_url":"https://avatars1.githubusercontent.com/u/30477344?v=4","gravatar_id":"","url":"https://api.github.com/users/ahmed-sigmalux","html_url":"https://github.com/ahmed-sigmalux","followers_url":"https://api.github.com/users/ahmed-sigmalux/followers","following_url":"https://api.github.com/users/ahmed-sigmalux/following{/other_user}","gists_url":"https://api.github.com/users/ahmed-sigmalux/gists{/gist_id}","starred_url":"https://api.github.com/users/ahmed-sigmalux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahmed-sigmalux/subscriptions","organizations_url":"https://api.github.com/users/ahmed-sigmalux/orgs","repos_url":"https://api.github.com/users/ahmed-sigmalux/repos","events_url":"https://api.github.com/users/ahmed-sigmalux/events{/privacy}","received_events_url":"https://api.github.com/users/ahmed-sigmalux/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"csloisel","id":672045,"avatar_url":"https://avatars2.githubusercontent.com/u/672045?v=4","gravatar_id":"","url":"https://api.github.com/users/csloisel","html_url":"https://github.com/csloisel","followers_url":"https://api.github.com/users/csloisel/followers","following_url":"https://api.github.com/users/csloisel/following{/other_user}","gists_url":"https://api.github.com/users/csloisel/gists{/gist_id}","starred_url":"https://api.github.com/users/csloisel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/csloisel/subscriptions","organizations_url":"https://api.github.com/users/csloisel/orgs","repos_url":"https://api.github.com/users/csloisel/repos","events_url":"https://api.github.com/users/csloisel/events{/privacy}","received_events_url":"https://api.github.com/users/csloisel/received_events","type":"User","site_admin":false},"assignees":[{"login":"csloisel","id":672045,"avatar_url":"https://avatars2.githubusercontent.com/u/672045?v=4","gravatar_id":"","url":"https://api.github.com/users/csloisel","html_url":"https://github.com/csloisel","followers_url":"https://api.github.com/users/csloisel/followers","following_url":"https://api.github.com/users/csloisel/following{/other_user}","gists_url":"https://api.github.com/users/csloisel/gists{/gist_id}","starred_url":"https://api.github.com/users/csloisel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/csloisel/subscriptions","organizations_url":"https://api.github.com/users/csloisel/orgs","repos_url":"https://api.github.com/users/csloisel/repos","events_url":"https://api.github.com/users/csloisel/events{/privacy}","received_events_url":"https://api.github.com/users/csloisel/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-02-10T01:07:27Z","updated_at":"2018-04-02T19:47:01Z","closed_at":null,"author_association":"NONE","body":"Have you searched for similar issues before submitting this one?\r\n\r\nYes.\r\n\r\nIs this a bug, question or feature request?\r\n\r\nBug.\r\n\r\nDescribe the issue you encountered:\r\n\r\nUsing Query Monitor, I see the following errors when installing plugins after I've already activated ElasticPress:\r\n\r\n```\r\nGET\r\nhttps://www.example.com/resources/media/woocommerce-follow-up-emails.zip\t404 Not Found\t\r\n-\r\nFile_Upload_Upgrader->__construct() wp-admin/includes/class-file-upload-upgrader.php:80\r\nwp_insert_attachment() wp-includes/post.php:4912\r\nwp_insert_post() wp-includes/post.php:3449\r\nupdate_attached_file() wp-includes/post.php:338\r\nupdate_post_meta() wp-includes/post.php:1804\r\nupdate_metadata() wp-includes/meta.php:202\r\nadd_metadata() wp-includes/meta.php:122\r\ndo_action('added_post_meta') wp-includes/plugin.php:453\r\nEP_Sync_Manager->action_queue_meta_sync() extensions/elasticpress/classes/class-ep-sync-manager.php:132\r\nep_prepare_post() extensions/elasticpress/classes/class-ep-api.php:2647\r\nEP_API->prepare_post() extensions/elasticpress/classes/class-ep-api.php:595\r\napply_filters('the_content') wp-includes/plugin.php:203\r\nWP_Embed->autoembed() wp-includes/class-wp-embed.php:393\r\npreg_replace_callback() wp-includes/class-wp-embed.php:411\r\nWP_Embed->autoembed_callback() wp-includes/class-wp-embed.php:411\r\nWP_Embed->shortcode() wp-includes/class-wp-embed.php:270\r\nwp_oembed_get() wp-includes/embed.php:98\r\nWP_oEmbed->get_html() wp-includes/class-oembed.php:397\r\nWP_oEmbed->get_data() wp-includes/class-oembed.php:348\r\nWP_oEmbed->get_provider() wp-includes/class-oembed.php:278\r\nWP_oEmbed->discover() wp-includes/class-oembed.php:442\r\nPlugin: elasticpress\r\n```\r\n\r\nCurrent WordPress version:\r\n\r\n4.9.4\r\n\r\nCurrent ElasticPress version:\r\n\r\n2.4.2\r\n\r\nCurrent Elasticsearch version:\r\n\r\n5.5.10\r\n\r\nWhere do you host your Elasticsearch server:\r\n\r\nSelf-hosted.\r\n\r\nOther plugins installed (WooCommerce, Simple Redirect Manager, etc..):\r\n\r\nWooCommerce and Query Monitor\r\n\r\nSteps to reproduce:\r\n\r\n1. Install and activate ElasticPress\r\n2. Install and activate Query Monitor\r\n3. Install any other plugin via the UI upload\r\n4. Check Query Monitor for HTTP errors\r\n\r\nScreenshots, if needed:\r\n"},"comment":{"url":"https://api.github.com/repos/10up/ElasticPress/issues/comments/378023546","html_url":"https://github.com/10up/ElasticPress/issues/1023#issuecomment-378023546","issue_url":"https://api.github.com/repos/10up/ElasticPress/issues/1023","id":378023546,"user":{"login":"tott","id":98992,"avatar_url":"https://avatars3.githubusercontent.com/u/98992?v=4","gravatar_id":"","url":"https://api.github.com/users/tott","html_url":"https://github.com/tott","followers_url":"https://api.github.com/users/tott/followers","following_url":"https://api.github.com/users/tott/following{/other_user}","gists_url":"https://api.github.com/users/tott/gists{/gist_id}","starred_url":"https://api.github.com/users/tott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tott/subscriptions","organizations_url":"https://api.github.com/users/tott/orgs","repos_url":"https://api.github.com/users/tott/repos","events_url":"https://api.github.com/users/tott/events{/privacy}","received_events_url":"https://api.github.com/users/tott/received_events","type":"User","site_admin":false},"created_at":"2018-04-02T19:47:00Z","updated_at":"2018-04-02T19:47:00Z","author_association":"NONE","body":"Hi @ahmed-sigmalux,\r\n\r\nI'm having a hard time reproducing your issue as well but noticed the following in your error message \"https://www.example.com/resources/media/woocommerce-follow-up-emails.zip\t404 Not Found\"\r\nCan you explain a bit more in detail how you tried to install this plugin. It would be also helpful to know if you configured your Elasticsearch server and performed an index on your site. Are you using a multi-site or single site setup?\r\n"}}
{"actor":{"display_login":"tott"}}