<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Dec 14, 2021 at 3:07 PM Nigel Jewell <<a href="mailto:nigel.jewell@grufty.co.uk">nigel.jewell@grufty.co.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
>> 'Fatal error: Uncaught Error: Undefined constant "Math" in<br>
>> /srv/http/mythweb/modules/tv/classes/Schedule.php:286 Stack trace: #0<br>
>> /srv/http/mythweb/modules/tv/detail.php(250): Schedule->save() #1<br>
>> /srv/http/mythweb/modules/tv/handler.php(82):<br>
>> require_once('/srv/http/mythw...') #2<br>
>> /srv/http/mythweb/mythweb.php(35): require_once('/srv/http/mythw...')<br>
>> #3 {main} thrown<br>
>> in /srv/http/mythweb/modules/tv/classes/Schedule.php on line 286'<br>
>><br>
>> I put it in as issue on the git. Everything else is working.<br>
><br>
> Good spot. I raised this some time ago for MythWeb, complete with <br>
> pull request. I missed the "this will throw an Error in a future <br>
> version of PHP".<br>
><br>
> <a href="https://github.com/MythTV/mythweb/issues/58" rel="noreferrer" target="_blank">https://github.com/MythTV/mythweb/issues/58</a><br>
><br>
<br>
Thank to Peter's quick response - now merged into master.<br>
<br>
Nige.<br></blockquote><div><br></div><div>I just tried pulling mythweb from master again and I still get an error when setting a new recording from the Listing page.</div><br style="color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium"><div><b style="color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium">Fatal error</b><span style="color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium">: 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 </span><b style="color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium">/usr/share/mythtv/mythweb/modules/tv/classes/Schedule.php</b><span style="color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium"> on line </span><b style="color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium">286</b></div><div><br></div><div>Maybe I'm doing something wrong.</div><div>Jim A</div><div> </div></div></div>