{"action":"created","issue":{"url":"https://api.github.com/repos/LibreTime/libretime/issues/580","repository_url":"https://api.github.com/repos/LibreTime/libretime","labels_url":"https://api.github.com/repos/LibreTime/libretime/issues/580/labels{/name}","comments_url":"https://api.github.com/repos/LibreTime/libretime/issues/580/comments","events_url":"https://api.github.com/repos/LibreTime/libretime/issues/580/events","html_url":"https://github.com/LibreTime/libretime/issues/580","id":375295657,"node_id":"MDU6SXNzdWUzNzUyOTU2NTc=","number":580,"title":"Problem: ZendFramework 1 is incompatible with Php > 7.1 and thus Ubuntu 18.04 & Debian 10","user":{"login":"Robbt","id":760739,"node_id":"MDQ6VXNlcjc2MDczOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/760739?v=4","gravatar_id":"","url":"https://api.github.com/users/Robbt","html_url":"https://github.com/Robbt","followers_url":"https://api.github.com/users/Robbt/followers","following_url":"https://api.github.com/users/Robbt/following{/other_user}","gists_url":"https://api.github.com/users/Robbt/gists{/gist_id}","starred_url":"https://api.github.com/users/Robbt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Robbt/subscriptions","organizations_url":"https://api.github.com/users/Robbt/orgs","repos_url":"https://api.github.com/users/Robbt/repos","events_url":"https://api.github.com/users/Robbt/events{/privacy}","received_events_url":"https://api.github.com/users/Robbt/received_events","type":"User","site_admin":false},"labels":[{"id":553283154,"node_id":"MDU6TGFiZWw1NTMyODMxNTQ=","url":"https://api.github.com/repos/LibreTime/libretime/labels/installer","name":"installer","color":"fef2c0","default":false},{"id":544821149,"node_id":"MDU6TGFiZWw1NDQ4MjExNDk=","url":"https://api.github.com/repos/LibreTime/libretime/labels/php","name":"php","color":"c5def5","default":false},{"id":720358632,"node_id":"MDU6TGFiZWw3MjAzNTg2MzI=","url":"https://api.github.com/repos/LibreTime/libretime/labels/setup","name":"setup","color":"e99695","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2018-10-30T02:42:38Z","updated_at":"2018-12-29T19:12:37Z","closed_at":null,"author_association":"MEMBER","body":"So, Php 7.2 introduced some inheritance tightening that causes ZF1 to break. See this [post](https://stackoverflow.com/questions/49072332/is-zend-framework-1-compatible-with-php-7-2). \r\n\r\nUbuntu 18.04 uses Php 7.2 by default and so LT is no longer going to work with this without some workarounds.\r\n\r\nOne option would be to with the installer force Ubuntu 18.04 to use an older version of PHP, I think Php 7.1 should still work.\r\n\r\nAnother option would be to switch to a community fork of Zend 1 Framework that includes Php 7.2 fixes. But I don't think there really is one here is a [discussion](https://discourse.zendframework.com/t/zf1-community-maintained-official-fork/419/5) that doesn't end in an actual project and includes some reasons why this isn't a good idea. Someone did make individual [composer packages](https://github.com/zf1s) but it doesn't appear to be very well maintained and there doesn't seem to be a fix in zend_rest for the issue we are running into.\r\n\r\nIt should work on Php 7.0 which is supported until 3 Dec 2018. and PHP 7.1 is supported until 1 Dec 2019. The breakages all happen with Php 7.2"},"comment":{"url":"https://api.github.com/repos/LibreTime/libretime/issues/comments/450513733","html_url":"https://github.com/LibreTime/libretime/issues/580#issuecomment-450513733","issue_url":"https://api.github.com/repos/LibreTime/libretime/issues/580","id":450513733,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDUxMzczMw==","user":{"login":"hairmare","id":116588,"node_id":"MDQ6VXNlcjExNjU4OA==","avatar_url":"https://avatars2.githubusercontent.com/u/116588?v=4","gravatar_id":"","url":"https://api.github.com/users/hairmare","html_url":"https://github.com/hairmare","followers_url":"https://api.github.com/users/hairmare/followers","following_url":"https://api.github.com/users/hairmare/following{/other_user}","gists_url":"https://api.github.com/users/hairmare/gists{/gist_id}","starred_url":"https://api.github.com/users/hairmare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hairmare/subscriptions","organizations_url":"https://api.github.com/users/hairmare/orgs","repos_url":"https://api.github.com/users/hairmare/repos","events_url":"https://api.github.com/users/hairmare/events{/privacy}","received_events_url":"https://api.github.com/users/hairmare/received_events","type":"User","site_admin":false},"created_at":"2018-12-29T19:12:37Z","updated_at":"2018-12-29T19:12:37Z","author_association":"MEMBER","body":"On my zf1s branch https://github.com/LibreTime/libretime/compare/master...radiorabe:dev/zf1s basic playout is now working, I did some testing and will also do some retesting on trusty to be sure I don't break anything old. I'll open a PR a soon as I get trusty tested.\r\n\r\nIt's already quite clear that I'll need some help in testing the PR as it's rather likely that I didn't catch everything in my tests. The critical path for my station (the program grid, basic uploading and, playout) as well as the podcast downloading work and I haven't found any pages in the UI that still throw 500 errors."}}
{"actor":{"display_login":"hairmare"}}