{"action":"created","issue":{"url":"https://api.github.com/repos/amzn/amazon-payments-magento-2-plugin/issues/226","repository_url":"https://api.github.com/repos/amzn/amazon-payments-magento-2-plugin","labels_url":"https://api.github.com/repos/amzn/amazon-payments-magento-2-plugin/issues/226/labels{/name}","comments_url":"https://api.github.com/repos/amzn/amazon-payments-magento-2-plugin/issues/226/comments","events_url":"https://api.github.com/repos/amzn/amazon-payments-magento-2-plugin/issues/226/events","html_url":"https://github.com/amzn/amazon-payments-magento-2-plugin/issues/226","id":323679671,"node_id":"MDU6SXNzdWUzMjM2Nzk2NzE=","number":226,"title":"Uncaught TypeError: Cannot read property 'match' of null","user":{"login":"craigcarnell","id":1188869,"node_id":"MDQ6VXNlcjExODg4Njk=","avatar_url":"https://avatars3.githubusercontent.com/u/1188869?v=4","gravatar_id":"","url":"https://api.github.com/users/craigcarnell","html_url":"https://github.com/craigcarnell","followers_url":"https://api.github.com/users/craigcarnell/followers","following_url":"https://api.github.com/users/craigcarnell/following{/other_user}","gists_url":"https://api.github.com/users/craigcarnell/gists{/gist_id}","starred_url":"https://api.github.com/users/craigcarnell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/craigcarnell/subscriptions","organizations_url":"https://api.github.com/users/craigcarnell/orgs","repos_url":"https://api.github.com/users/craigcarnell/repos","events_url":"https://api.github.com/users/craigcarnell/events{/privacy}","received_events_url":"https://api.github.com/users/craigcarnell/received_events","type":"User","site_admin":false},"labels":[{"id":627208425,"node_id":"MDU6TGFiZWw2MjcyMDg0MjU=","url":"https://api.github.com/repos/amzn/amazon-payments-magento-2-plugin/labels/customer%20feedback%20required","name":"customer feedback required","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-05-16T15:45:45Z","updated_at":"2018-06-25T09:53:15Z","closed_at":null,"author_association":"NONE","body":"I get this error on the home page of my test site:\r\n\r\nUncaught TypeError: Cannot read property 'match' of null\r\n    at Object.t.K (eu.account.amazon.com/lwa/js/sdk/login1.js:45)\r\n    at Object.window.amazon.Login.setClientId (eu.account.amazon.com/lwa/js/sdk/login1.js:59)\r\n    at setClientId (/static/version1526484346/frontend/VaxLtd/uk/en_GB/Amazon_Payment/js/amazon-core.js:49)\r\n    at window.onAmazonLoginReady (/static/version1526484346/frontend/VaxLtd/uk/en_GB/Amazon_Payment/js/amazon-core.js:36)\r\n    at eu.account.amazon.com/lwa/js/sdk/login1.js:60\r\n    at eu.account.amazon.com/lwa/js/sdk/login1.js:62\r\n\r\n#### Your setup\r\n\r\n* Magento version: 2.2.4\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/amzn/amazon-payments-magento-2-plugin/issues/comments/399896855","html_url":"https://github.com/amzn/amazon-payments-magento-2-plugin/issues/226#issuecomment-399896855","issue_url":"https://api.github.com/repos/amzn/amazon-payments-magento-2-plugin/issues/226","id":399896855,"node_id":"MDEyOklzc3VlQ29tbWVudDM5OTg5Njg1NQ==","user":{"login":"craigcarnell","id":1188869,"node_id":"MDQ6VXNlcjExODg4Njk=","avatar_url":"https://avatars3.githubusercontent.com/u/1188869?v=4","gravatar_id":"","url":"https://api.github.com/users/craigcarnell","html_url":"https://github.com/craigcarnell","followers_url":"https://api.github.com/users/craigcarnell/followers","following_url":"https://api.github.com/users/craigcarnell/following{/other_user}","gists_url":"https://api.github.com/users/craigcarnell/gists{/gist_id}","starred_url":"https://api.github.com/users/craigcarnell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/craigcarnell/subscriptions","organizations_url":"https://api.github.com/users/craigcarnell/orgs","repos_url":"https://api.github.com/users/craigcarnell/repos","events_url":"https://api.github.com/users/craigcarnell/events{/privacy}","received_events_url":"https://api.github.com/users/craigcarnell/received_events","type":"User","site_admin":false},"created_at":"2018-06-25T09:53:15Z","updated_at":"2018-06-25T09:53:15Z","author_association":"NONE","body":"@islandskater43 @lemked \r\n\r\nI believe this is caused by <referenceBlock name=\"authentication-popup\" remove=\"true\" /> in our custom theme.\r\n\r\nWe do not have customer logins on our site.\r\n\r\nPerhaps your code should check, alternatively we can disable the option in your plugin and see if that resolves it."}}
{"actor":{"display_login":"craigcarnell"}}