[mythtv-users] Merged PHP 8 changes

James Abernathy jfabernathy at gmail.com
Tue Dec 14 20:36:32 UTC 2021


On Tue, Dec 14, 2021 at 3:07 PM Nigel Jewell <nigel.jewell at grufty.co.uk>
wrote:

>
> >> 'Fatal error: Uncaught Error: Undefined constant "Math" in
> >> /srv/http/mythweb/modules/tv/classes/Schedule.php:286 Stack trace: #0
> >> /srv/http/mythweb/modules/tv/detail.php(250): Schedule->save() #1
> >> /srv/http/mythweb/modules/tv/handler.php(82):
> >> require_once('/srv/http/mythw...') #2
> >> /srv/http/mythweb/mythweb.php(35): require_once('/srv/http/mythw...')
> >> #3 {main} thrown
> >> in /srv/http/mythweb/modules/tv/classes/Schedule.php on line 286'
> >>
> >> I put it in as issue on the git. Everything else is working.
> >
> > Good spot.  I raised this some time ago for MythWeb, complete with
> > pull request.  I missed the "this will throw an Error in a future
> > version of PHP".
> >
> > https://github.com/MythTV/mythweb/issues/58
> >
>
> Thank to Peter's quick response - now merged into master.
>
> Nige.
>

I just tried pulling mythweb from master again and I still get an error
when setting a new recording from the Listing page.

*Fatal error*: Uncaught Error: Undefined constant "Math" in
/usr/share/mythtv/mythweb/modules/tv/classes/Schedule.php:286 Stack trace:
#0 /usr/share/mythtv/mythweb/modules/tv/detail.php(250): Schedule->save()
#1 /usr/share/mythtv/mythweb/modules/tv/handler.php(82):
require_once('...') #2 /usr/share/mythtv/mythweb/mythweb.php(35):
require_once('...') #3 {main} thrown in
*/usr/share/mythtv/mythweb/modules/tv/classes/Schedule.php* on line *286*

Maybe I'm doing something wrong.
Jim A
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20211214/bc562119/attachment-0001.htm>


More information about the mythtv-users mailing list