{"action":"opened","issue":{"url":"https://api.github.com/repos/hypothesis/wp-hypothesis/issues/23","repository_url":"https://api.github.com/repos/hypothesis/wp-hypothesis","labels_url":"https://api.github.com/repos/hypothesis/wp-hypothesis/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/hypothesis/wp-hypothesis/issues/23/comments","events_url":"https://api.github.com/repos/hypothesis/wp-hypothesis/issues/23/events","html_url":"https://github.com/hypothesis/wp-hypothesis/issues/23","id":196372725,"number":23,"title":"PHP <5.4 compatibility problems","user":{"login":"nickstenning","id":3602,"avatar_url":"https://avatars.githubusercontent.com/u/3602?v=3","gravatar_id":"","url":"https://api.github.com/users/nickstenning","html_url":"https://github.com/nickstenning","followers_url":"https://api.github.com/users/nickstenning/followers","following_url":"https://api.github.com/users/nickstenning/following{/other_user}","gists_url":"https://api.github.com/users/nickstenning/gists{/gist_id}","starred_url":"https://api.github.com/users/nickstenning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickstenning/subscriptions","organizations_url":"https://api.github.com/users/nickstenning/orgs","repos_url":"https://api.github.com/users/nickstenning/repos","events_url":"https://api.github.com/users/nickstenning/events{/privacy}","received_events_url":"https://api.github.com/users/nickstenning/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-19T09:57:10Z","updated_at":"2016-12-19T09:57:10Z","closed_at":null,"body":"Relaying a report from our support email address:\r\n\r\n> After I updated the Hypothes.is plugin on my Wordpress website to the version mentioned above, it was not accessible anymore. I had to delete the plugin folder via my FTP access; that restored service immediately. The error message I found in my server logs was:\r\n>\r\n> mod_fcgid: stderr: PHP Parse error: syntax error, unexpected '[' in /var/www/vhosts/wordpress.karstens.eu/httpdocs/wp-content/plugins/hypothesis/hypothesis.php on line 409\r\n\r\nI'm not sure, but I'd guess this is a result of https://github.com/hypothesis/wp-hypothesis/commit/1f8a0c6a7cf03280fe4c17ed067aaebb50aa3deb, which replaced `array()` with `[]` in a number of places.\r\n\r\nIt appears that this short syntax for arrays was only introduced in PHP 5.4: https://secure.php.net/manual/en/language.types.array.php#syntax\r\n\r\nWe should either revert that part of the change, or clearly document that we only support PHP>=5.4.\r\n\r\nDo you think you might have time to look at this, @greatislander?\r\n"}}
{"actor":{"display_login":"nickstenning"}}