{"action":"created","issue":{"url":"https://api.github.com/repos/kartik-v/yii2-mpdf/issues/37","repository_url":"https://api.github.com/repos/kartik-v/yii2-mpdf","labels_url":"https://api.github.com/repos/kartik-v/yii2-mpdf/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/kartik-v/yii2-mpdf/issues/37/comments","events_url":"https://api.github.com/repos/kartik-v/yii2-mpdf/issues/37/events","html_url":"https://github.com/kartik-v/yii2-mpdf/issues/37","id":175583822,"number":37,"title":"Illegal string offset 'ID' on PHP 7.1","user":{"login":"adrianpaiva1","id":19557611,"avatar_url":"https://avatars.githubusercontent.com/u/19557611?v=3","gravatar_id":"","url":"https://api.github.com/users/adrianpaiva1","html_url":"https://github.com/adrianpaiva1","followers_url":"https://api.github.com/users/adrianpaiva1/followers","following_url":"https://api.github.com/users/adrianpaiva1/following{/other_user}","gists_url":"https://api.github.com/users/adrianpaiva1/gists{/gist_id}","starred_url":"https://api.github.com/users/adrianpaiva1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrianpaiva1/subscriptions","organizations_url":"https://api.github.com/users/adrianpaiva1/orgs","repos_url":"https://api.github.com/users/adrianpaiva1/repos","events_url":"https://api.github.com/users/adrianpaiva1/events{/privacy}","received_events_url":"https://api.github.com/users/adrianpaiva1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-07T19:20:13Z","updated_at":"2016-09-07T20:02:23Z","closed_at":null,"body":"I'm getting Illegal string offset 'ID' after upgrading to PHP 7.1 is there a workaround for this?"},"comment":{"url":"https://api.github.com/repos/kartik-v/yii2-mpdf/issues/comments/245399137","html_url":"https://github.com/kartik-v/yii2-mpdf/issues/37#issuecomment-245399137","issue_url":"https://api.github.com/repos/kartik-v/yii2-mpdf/issues/37","id":245399137,"user":{"login":"adrianpaiva1","id":19557611,"avatar_url":"https://avatars.githubusercontent.com/u/19557611?v=3","gravatar_id":"","url":"https://api.github.com/users/adrianpaiva1","html_url":"https://github.com/adrianpaiva1","followers_url":"https://api.github.com/users/adrianpaiva1/followers","following_url":"https://api.github.com/users/adrianpaiva1/following{/other_user}","gists_url":"https://api.github.com/users/adrianpaiva1/gists{/gist_id}","starred_url":"https://api.github.com/users/adrianpaiva1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrianpaiva1/subscriptions","organizations_url":"https://api.github.com/users/adrianpaiva1/orgs","repos_url":"https://api.github.com/users/adrianpaiva1/repos","events_url":"https://api.github.com/users/adrianpaiva1/events{/privacy}","received_events_url":"https://api.github.com/users/adrianpaiva1/received_events","type":"User","site_admin":false},"created_at":"2016-09-07T20:02:23Z","updated_at":"2016-09-07T20:02:23Z","body":"\r\n1293129412951296129712981299130013011302130313041305130613071308130913101311    {\r\n        $p = array();\r\n        $zp = array();\r\n \r\n        $classes = array();\r\n        if (isset($attr['CLASS'])) {\r\n            $classes = preg_split('/\\s+/', $attr['CLASS']);\r\n        }\r\n        if (!isset($attr['ID'])) {\r\n            $attr['ID'] = '';\r\n        }\r\n        // mPDF 6\r\n        $shortlang = '';\r\n        if (!isset($attr['LANG'])) {\r\n            $attr['LANG'] = '';\r\n        } else {\r\n            $attr['LANG'] = strtolower($attr['LANG']);\r\n            if (strlen($attr['LANG']) == 5) {\r\n                $shortlang = substr($attr['LANG'], 0, 2);\r\n"}}
{"actor":{"display_login":"adrianpaiva1"}}