{"action":"opened","issue":{"url":"https://api.github.com/repos/strangerstudios/pmpro-cpt/issues/2","labels_url":"https://api.github.com/repos/strangerstudios/pmpro-cpt/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/strangerstudios/pmpro-cpt/issues/2/comments","events_url":"https://api.github.com/repos/strangerstudios/pmpro-cpt/issues/2/events","html_url":"https://github.com/strangerstudios/pmpro-cpt/issues/2","id":115771130,"number":2,"title":"Fatal Error","user":{"login":"stefwilliams","id":2754474,"avatar_url":"https://avatars.githubusercontent.com/u/2754474?v=3","gravatar_id":"","url":"https://api.github.com/users/stefwilliams","html_url":"https://github.com/stefwilliams","followers_url":"https://api.github.com/users/stefwilliams/followers","following_url":"https://api.github.com/users/stefwilliams/following{/other_user}","gists_url":"https://api.github.com/users/stefwilliams/gists{/gist_id}","starred_url":"https://api.github.com/users/stefwilliams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefwilliams/subscriptions","organizations_url":"https://api.github.com/users/stefwilliams/orgs","repos_url":"https://api.github.com/users/stefwilliams/repos","events_url":"https://api.github.com/users/stefwilliams/events{/privacy}","received_events_url":"https://api.github.com/users/stefwilliams/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-09T00:05:56Z","updated_at":"2015-11-09T00:05:56Z","closed_at":null,"body":"Just spotted that if I select a CPT to restrict access to, then save settings, then deselect all CPTs and save settings again, when I hit the front end, I get:\r\n\r\nFatal error: Cannot use string offset as an array in [...]/wp-content/plugins/pmpro-cpt/pmpro-cpt.php on line 24\r\n\r\nEasy enough to work around, by selecting any CPT in the backend again, but could be a bit worrying for people.\r\n(Unless my theme has somehow caused this - I haven't got any others installed atm so haven't checked.)\r\n"}}