{"action":"created","issue":{"url":"https://api.github.com/repos/10up/ElasticPress/issues/1178","repository_url":"https://api.github.com/repos/10up/ElasticPress","labels_url":"https://api.github.com/repos/10up/ElasticPress/issues/1178/labels{/name}","comments_url":"https://api.github.com/repos/10up/ElasticPress/issues/1178/comments","events_url":"https://api.github.com/repos/10up/ElasticPress/issues/1178/events","html_url":"https://github.com/10up/ElasticPress/issues/1178","id":386176987,"node_id":"MDU6SXNzdWUzODYxNzY5ODc=","number":1178,"title":"number_format_exception","user":{"login":"vekikive","id":444478,"node_id":"MDQ6VXNlcjQ0NDQ3OA==","avatar_url":"https://avatars1.githubusercontent.com/u/444478?v=4","gravatar_id":"","url":"https://api.github.com/users/vekikive","html_url":"https://github.com/vekikive","followers_url":"https://api.github.com/users/vekikive/followers","following_url":"https://api.github.com/users/vekikive/following{/other_user}","gists_url":"https://api.github.com/users/vekikive/gists{/gist_id}","starred_url":"https://api.github.com/users/vekikive/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vekikive/subscriptions","organizations_url":"https://api.github.com/users/vekikive/orgs","repos_url":"https://api.github.com/users/vekikive/repos","events_url":"https://api.github.com/users/vekikive/events{/privacy}","received_events_url":"https://api.github.com/users/vekikive/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-30T12:57:05Z","updated_at":"2018-12-10T15:41:01Z","closed_at":null,"author_association":"NONE","body":"Have you searched for similar issues before submitting this one?\r\nYes\r\nIs this a bug, question or feature request?\r\nBug\r\nDescribe the issue you encountered:\r\nI'm receiving following error: \r\n{\r\n    \"error\": {\r\n        \"root_cause\": [\r\n            {\r\n                \"type\": \"number_format_exception\",\r\n                \"reason\": \"For input string: \"\"\"\r\n            }\r\n        ],\r\n        \"type\": \"number_format_exception\",\r\n        \"reason\": \"For input string: \"\"\"\r\n    },\r\n    \"status\": 400\r\n}\r\n\r\nThe searching functionality works correctly and so does autosuggest feature (for autosuggest setting of end-point I'm using plugin found here: https://github.com/grossherr/elasticpress-autosuggest-endpoint).\r\n\r\nThe error happens when feature woocommerce is turned on. If I turn it off, then no error happens.\r\nI'm unable to catch/debug (don't know how to) for which exact query does this error fire. Error happens on every page of my site.\r\nAutosuggest also works fine when woocommerce is turned on, but the error also fires.\r\n\r\nCurrent WordPress version:\r\n4.9.8\r\nCurrent ElasticPress version:\r\n2.6.1\r\nCurrent Elasticsearch version:\r\n5.4\r\nWhere do you host your Elasticsearch server:\r\nCloudways - DigitalOcean\r\nOther plugins installed (WooCommerce, Simple Redirect Manager, etc..):\r\nWoocommerce, Breeze, Admin Columns, CF7, DebugBar, ... Tried to deactivate each of them.. errors still there.\r\nScreenshots, if needed:\r\n![debug_1](https://user-images.githubusercontent.com/444478/49290547-8b626f80-f4a7-11e8-9340-7c60c740b3e6.jpg)\r\n[query_args.txt](https://github.com/10up/ElasticPress/files/2633254/query_args.txt)\r\n[query_body.txt](https://github.com/10up/ElasticPress/files/2633255/query_body.txt)\r\n[query_result.txt](https://github.com/10up/ElasticPress/files/2633256/query_result.txt)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/10up/ElasticPress/issues/comments/445860478","html_url":"https://github.com/10up/ElasticPress/issues/1178#issuecomment-445860478","issue_url":"https://api.github.com/repos/10up/ElasticPress/issues/1178","id":445860478,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NTg2MDQ3OA==","user":{"login":"oscarssanchez","id":31049169,"node_id":"MDQ6VXNlcjMxMDQ5MTY5","avatar_url":"https://avatars3.githubusercontent.com/u/31049169?v=4","gravatar_id":"","url":"https://api.github.com/users/oscarssanchez","html_url":"https://github.com/oscarssanchez","followers_url":"https://api.github.com/users/oscarssanchez/followers","following_url":"https://api.github.com/users/oscarssanchez/following{/other_user}","gists_url":"https://api.github.com/users/oscarssanchez/gists{/gist_id}","starred_url":"https://api.github.com/users/oscarssanchez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oscarssanchez/subscriptions","organizations_url":"https://api.github.com/users/oscarssanchez/orgs","repos_url":"https://api.github.com/users/oscarssanchez/repos","events_url":"https://api.github.com/users/oscarssanchez/events{/privacy}","received_events_url":"https://api.github.com/users/oscarssanchez/received_events","type":"User","site_admin":false},"created_at":"2018-12-10T15:41:01Z","updated_at":"2018-12-10T15:41:01Z","author_association":"COLLABORATOR","body":"Hi @vekikive ,\r\n\r\nHave you made a change on ES mappings or is the plugin doing a change there? This sounds like there's a problem with ES mappings.\r\n\r\nThanks!"}}
{"actor":{"display_login":"oscarssanchez"}}