{"action":"opened","issue":{"url":"https://api.github.com/repos/processwire/processwire-issues/issues/30","repository_url":"https://api.github.com/repos/processwire/processwire-issues","labels_url":"https://api.github.com/repos/processwire/processwire-issues/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/processwire/processwire-issues/issues/30/comments","events_url":"https://api.github.com/repos/processwire/processwire-issues/issues/30/events","html_url":"https://github.com/processwire/processwire-issues/issues/30","id":181793219,"number":30,"title":"Error: strpos() expects parameter 1 to be string, array given on line: 96 in /Users/ajones/Sites/ecoreportcard/wire/core/PageComparison.php","user":{"login":"adrianbj","id":871211,"avatar_url":"https://avatars.githubusercontent.com/u/871211?v=3","gravatar_id":"","url":"https://api.github.com/users/adrianbj","html_url":"https://github.com/adrianbj","followers_url":"https://api.github.com/users/adrianbj/followers","following_url":"https://api.github.com/users/adrianbj/following{/other_user}","gists_url":"https://api.github.com/users/adrianbj/gists{/gist_id}","starred_url":"https://api.github.com/users/adrianbj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrianbj/subscriptions","organizations_url":"https://api.github.com/users/adrianbj/orgs","repos_url":"https://api.github.com/users/adrianbj/repos","events_url":"https://api.github.com/users/adrianbj/events{/privacy}","received_events_url":"https://api.github.com/users/adrianbj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-08T00:39:20Z","updated_at":"2016-10-08T00:39:20Z","closed_at":null,"body":"<!--\r\nIf you want your bug report\r\n* to be more difficult to process and understand\r\n* to have many unnecessary follow-up questions\r\n* to take longer to fix then necessary\r\ndon’t use this issue template.\r\n\r\nIf you want your bug report \r\n* to be concise and easy to understand\r\n* to not have any (or very few) follow-up questions\r\n* to take faster to fix\r\nuse this issue template. Thank you.\r\n-->\r\n\r\n### Short description of the issue\r\n\r\nError: strpos() expects parameter 1 to be string, array given on line: 96 in /Users/ajones/Sites/ecoreportcard/wire/core/PageComparison.php\r\n\r\n### Expected behavior\r\n\r\nNo error\r\n\r\n### Optional: Suggestion for a possible fix\r\n\r\nThis might be hard for you to reproduce - I am seeing it with a complicated API script and I haven't yet figured out what part of it is initiating this. \r\n\r\nThis is the array that is being returned:\r\n```\r\narray (2)\r\n0 => \"has_parent\"\r\n1 => \"id\"\r\n```\r\n\r\nTrouble is I am not sure if we should be figuring out why `$property` is an array in this situation, or whether it's ok to just check for an array and not proceed with trying to explode since it's already an array.\r\n\r\nIf you think we need to figure out why `$property` is an array, let me know and I'll try to isolate it."}}
{"actor":{"display_login":"adrianbj"}}