{"action":"opened","issue":{"url":"https://api.github.com/repos/modxcms/fred/issues/45","repository_url":"https://api.github.com/repos/modxcms/fred","labels_url":"https://api.github.com/repos/modxcms/fred/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/modxcms/fred/issues/45/comments","events_url":"https://api.github.com/repos/modxcms/fred/issues/45/events","html_url":"https://github.com/modxcms/fred/issues/45","id":376222731,"node_id":"MDU6SXNzdWUzNzYyMjI3MzE=","number":45,"title":"Errors in log on load when Fred is active.","user":{"login":"digitalpenguin","id":5160368,"node_id":"MDQ6VXNlcjUxNjAzNjg=","avatar_url":"https://avatars0.githubusercontent.com/u/5160368?v=4","gravatar_id":"","url":"https://api.github.com/users/digitalpenguin","html_url":"https://github.com/digitalpenguin","followers_url":"https://api.github.com/users/digitalpenguin/followers","following_url":"https://api.github.com/users/digitalpenguin/following{/other_user}","gists_url":"https://api.github.com/users/digitalpenguin/gists{/gist_id}","starred_url":"https://api.github.com/users/digitalpenguin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digitalpenguin/subscriptions","organizations_url":"https://api.github.com/users/digitalpenguin/orgs","repos_url":"https://api.github.com/users/digitalpenguin/repos","events_url":"https://api.github.com/users/digitalpenguin/events{/privacy}","received_events_url":"https://api.github.com/users/digitalpenguin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-01T01:52:26Z","updated_at":"2018-11-01T01:52:26Z","closed_at":null,"author_association":"NONE","body":"When Fred is active on a template, any load/refresh causes the following two errors to appear in the MODX log. It doesn't appear to affect any functionality.\r\nThis happens regardless of whether there are elements set or the template is empty.\r\n```\r\n[2018-10-26 18:46:51] (ERROR @ /home/vagrant/code/barre2barre/public_html/core/components/fred/model/fred/src/Utils.php : 28) PHP warning: array_filter() expects parameter 2 to be a valid callback, no array or string given\r\n\r\n[2018-10-26 18:46:51] (ERROR @ /home/vagrant/code/barre2barre/public_html/core/components/fred/model/fred/src/Endpoint/Ajax/LoadLexicons.php : 24) PHP warning: Invalid argument supplied for foreach()\r\n```\r\nFred 1.0.0-beta9, MODX 2.6.5\r\n"}}
{"actor":{"display_login":"digitalpenguin"}}