{"action":"created","issue":{"url":"https://api.github.com/repos/pods-framework/pods/issues/3503","repository_url":"https://api.github.com/repos/pods-framework/pods","labels_url":"https://api.github.com/repos/pods-framework/pods/issues/3503/labels{/name}","comments_url":"https://api.github.com/repos/pods-framework/pods/issues/3503/comments","events_url":"https://api.github.com/repos/pods-framework/pods/issues/3503/events","html_url":"https://github.com/pods-framework/pods/issues/3503","id":153006650,"number":3503,"title":"Bug in 2.6.5.1 PodsAPI.php for PLL (Polylang)","user":{"login":"fmommeja","id":19188155,"avatar_url":"https://avatars.githubusercontent.com/u/19188155?v=3","gravatar_id":"","url":"https://api.github.com/users/fmommeja","html_url":"https://github.com/fmommeja","followers_url":"https://api.github.com/users/fmommeja/followers","following_url":"https://api.github.com/users/fmommeja/following{/other_user}","gists_url":"https://api.github.com/users/fmommeja/gists{/gist_id}","starred_url":"https://api.github.com/users/fmommeja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fmommeja/subscriptions","organizations_url":"https://api.github.com/users/fmommeja/orgs","repos_url":"https://api.github.com/users/fmommeja/repos","events_url":"https://api.github.com/users/fmommeja/events{/privacy}","received_events_url":"https://api.github.com/users/fmommeja/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pods-framework/pods/labels/Bug","name":"Bug","color":"e10c02"},{"url":"https://api.github.com/repos/pods-framework/pods/labels/Compatibility/Deprecation","name":"Compatibility/Deprecation","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"jimtrue","id":3052875,"avatar_url":"https://avatars.githubusercontent.com/u/3052875?v=3","gravatar_id":"","url":"https://api.github.com/users/jimtrue","html_url":"https://github.com/jimtrue","followers_url":"https://api.github.com/users/jimtrue/followers","following_url":"https://api.github.com/users/jimtrue/following{/other_user}","gists_url":"https://api.github.com/users/jimtrue/gists{/gist_id}","starred_url":"https://api.github.com/users/jimtrue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimtrue/subscriptions","organizations_url":"https://api.github.com/users/jimtrue/orgs","repos_url":"https://api.github.com/users/jimtrue/repos","events_url":"https://api.github.com/users/jimtrue/events{/privacy}","received_events_url":"https://api.github.com/users/jimtrue/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/pods-framework/pods/milestones/71","html_url":"https://github.com/pods-framework/pods/milestones/Pods%202.6.6","labels_url":"https://api.github.com/repos/pods-framework/pods/milestones/71/labels","id":1746713,"number":71,"title":"Pods 2.6.6","description":"","creator":{"login":"sc0ttkclark","id":709662,"avatar_url":"https://avatars.githubusercontent.com/u/709662?v=3","gravatar_id":"","url":"https://api.github.com/users/sc0ttkclark","html_url":"https://github.com/sc0ttkclark","followers_url":"https://api.github.com/users/sc0ttkclark/followers","following_url":"https://api.github.com/users/sc0ttkclark/following{/other_user}","gists_url":"https://api.github.com/users/sc0ttkclark/gists{/gist_id}","starred_url":"https://api.github.com/users/sc0ttkclark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sc0ttkclark/subscriptions","organizations_url":"https://api.github.com/users/sc0ttkclark/orgs","repos_url":"https://api.github.com/users/sc0ttkclark/repos","events_url":"https://api.github.com/users/sc0ttkclark/events{/privacy}","received_events_url":"https://api.github.com/users/sc0ttkclark/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":1,"state":"open","created_at":"2016-05-04T05:38:03Z","updated_at":"2016-05-04T13:19:21Z","due_on":null,"closed_at":null},"comments":8,"created_at":"2016-05-04T13:06:08Z","updated_at":"2016-05-04T13:23:37Z","closed_at":null,"body":"The line 7326 in PodsAPI.php  today's upgrade is:\r\n\r\n`            \tif ( function_exists( 'PLL' ) && isset( PPL()->model ) && method_exists( PLL()->model, 'get_language' ) ) {\r\n`\r\nas I guess it should be:\r\n\r\n`            \tif ( function_exists( 'PLL' ) && isset( PLL()->model ) && method_exists( PLL()->model, 'get_language' ) ) {\r\n`\r\n\r\nFound out as I got the error:\r\n\r\n> PHP Fatal error:  Call to undefined function PPL() in /wp-content/plugins/pods/classes/PodsAPI.php on line 7326"},"comment":{"url":"https://api.github.com/repos/pods-framework/pods/issues/comments/216863338","html_url":"https://github.com/pods-framework/pods/issues/3503#issuecomment-216863338","issue_url":"https://api.github.com/repos/pods-framework/pods/issues/3503","id":216863338,"user":{"login":"jimtrue","id":3052875,"avatar_url":"https://avatars.githubusercontent.com/u/3052875?v=3","gravatar_id":"","url":"https://api.github.com/users/jimtrue","html_url":"https://github.com/jimtrue","followers_url":"https://api.github.com/users/jimtrue/followers","following_url":"https://api.github.com/users/jimtrue/following{/other_user}","gists_url":"https://api.github.com/users/jimtrue/gists{/gist_id}","starred_url":"https://api.github.com/users/jimtrue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimtrue/subscriptions","organizations_url":"https://api.github.com/users/jimtrue/orgs","repos_url":"https://api.github.com/users/jimtrue/repos","events_url":"https://api.github.com/users/jimtrue/events{/privacy}","received_events_url":"https://api.github.com/users/jimtrue/received_events","type":"User","site_admin":false},"created_at":"2016-05-04T13:23:37Z","updated_at":"2016-05-04T13:23:37Z","body":"BTW, thank you for reporting the bug as quickly as you did. We can only keep on top of stuff like this with help from our community of users."}}