著者: Lennart Sorensen 日付: To: dmo-discussion 題目: Re: broken mythweb in stretch-backports
On Wed, Feb 07, 2018 at 09:56:50AM -0500, Lennart Sorensen wrote: > On Wed, Feb 07, 2018 at 01:38:06PM +0100, Christian Marillat wrote:
> > Still doesn't work with PHP 7 ?
>
> I was about to say it was working fine on unstable for me, but after
> checking it turns out I have both php5 and php7 installed and am in fact
> using php5 with apache currently. Apparently I still have jessie era
> php packages installed.
Switching to php7.2 on sid seems to mostly work with a few warnings, like:
Warning at /usr/share/mythtv/mythweb/modules/tv/recorded.php, line 188:
!!NoTrans: Use of undefined constant disk_size - assumed 'disk_size' (this will throw an Error in a future version of PHP)!!
Warning at /usr/share/mythtv/mythweb/modules/tv/recorded.php, line 189:
!!NoTrans: Use of undefined constant disk_used - assumed 'disk_used' (this will throw an Error in a future version of PHP)!!
That was on the recorded programs listing page.
Also:
Warning at /usr/share/mythtv/mythweb/modules/backend_log/tmpl/default/backend_log.php, line 26:
!!NoTrans: array_keys() expects parameter 1 to be array, null given!!
Warning at /usr/share/mythtv/mythweb/modules/backend_log/tmpl/default/backend_log.php, line 26:
!!NoTrans: Invalid argument supplied for foreach()!!