<html><head></head><body><div>On Tue, 2021-12-14 at 16:02 -0500, James Abernathy wrote:</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><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:41 PM glen <<a href="mailto:glenb@glenb.net">glenb@glenb.net</a>> wrote:<br></div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div><div>On Tue, 2021-12-14 at 15:36 -0500, James Abernathy wrote:</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><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" target="_blank">nigel.jewell@grufty.co.uk</a>> wrote:<br></div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div><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="http://email.mg.glenb.net/c/eJwlzb0OwiAUBeCnaTcbLNALA4OLm5txvxcupUl_TKEa316MyRm-c5YTnI8YtGon5xFMAOCzEIPX1gAGgdgLjLIXZBk1kfAUO48Lz40S48wrdSuXNjl59tIQMWgwQg5RcVQEvQrBAlqQ7exSKc_cyEvTX2vGqaSDOr8ttdw-Jd0fFUvFm6lqyvngXKFNu7vfXl6nI_Oe6_O_dts-fgHsUTy9" rel="noreferrer" target="_blank">https://github.com/MythTV/mythweb/issues/58</a><br>><br></div><div><br>Thank to Peter's quick response - now merged into master.<br></div><div><br>Nige.<br></div><div><br></div></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><div>_______________________________________________<br></div><div>mythtv-users mailing list<br></div><div><a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br></div><div><a href="http://email.mg.glenb.net/c/eJxNjs0OwiAQhJ-m3CTbHwo9cPDie-wC25IAmoImvr3VmGgyl_lmJhlvHaNXk4jWoTZe69ADzE4tRqMHxAGQxwFoCaiIwBFLhzmkboI1hUKyhCY2GxY_-8CaoHegzayQJmavUTMa6kkku7V268ZzN1wOpVhblfnZtvaQ1309UMaYMpZvGAtf3_DTON1r2KvY7b89Hvz2L51SQk4" target="_blank">http://lists.mythtv.org/mailman/listinfo/mythtv-users</a><br></div><div>the<a href="http://email.mg.glenb.net/c/eJxFjc0OgjAQhJ-G3mxW6A8cevDiSZ-BbNstNAIqLBrf3iYeTOY0-eab6ELCqJXILqBto7V0BDBBd63FCIg1YGpq8B2h9h6CTzLgTFOlYJho8XIhFqMD1AmtaaLRljRiJFVEqjUhGU_GismNzI-qOVX1ueSdb1nOHx75Je_rUJor5ikvQ3_JG_fE-bkTM4nV_ajDvtG6ldf_6AtyvD2r" target="_blank">http://wiki.mythtv.org/Mailing_List_etiquette</a><br></div><div>MythTV Forums: <a href="http://email.mg.glenb.net/c/eJxFjDsKAyEUAE-zdpHnXwuLNLnHU5-7gf0EdQO5fRZSBKYZBqbEXLEYzZ4xo_PFORIANpvgHRZAlIBVSUiB0KQEOVWecaN10jCvtCe-02BLLE6ioBSqNSJIo6zwFbRK2jhvrVRsjcsYrz6p-yQfF_Vo58a3z1jGmx9tZi3-5HZ2av3a_9sX-kEztQ" target="_blank">https://forum.mythtv.org</a><br></div></blockquote><div>why don't you just simply look at your source and go to the file and line question. /mythweb/modules/tv/classes/Schedule.php and see if the word 'Math' appears in line 286. if it does. remove it. that's the fix.</div><div><span></span></div><br></div><br></blockquote><div><br></div><div>Agreed, that fixes the problem locally, I'm just surprised that if the fix has been pushed to master, then I would expect a new clone from mythweb master branch would have the fix.  Maybe just one of timing of servier syncs</div><div> </div></div></div><div>_______________________________________________<br></div><div>mythtv-users mailing list<br></div><div><a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br></div><div><a href="http://email.mg.glenb.net/c/eJxNjkEOwiAURE9TdhI-0G9ZsHDjPYB-WhKgpqCJt7caE01mM29mkpltiG4eNUvWgAqktBhRKR_PHiYykwlhJIWoDSEp7wiRB1coD1osmarnlTpbrQBpnERNCiQCkSTQYpKgIaIjiCzbtffboC6DvB7KqfXGy7Ov_cG3fTlQcSkXV79hqnF7w0_jdG-0N7bbf3s8-O1fY0s_7g">http://lists.mythtv.org/mailman/listinfo/mythtv-users</a><br></div><div><a href="http://email.mg.glenb.net/c/eJxFjTsOwjAQBU8Td1j4t7YLFzRUcIbIn01ikQRINiBuTyQKpFeNZvRKyF0sRrMavFAZlT4aUCp1NgmH3vmcDSoA7RFQpYgAPMcJx0Yf-xHnxGckNoQisgYJKjsrIJtOmmSdjU5KKEVDZGMYiB6NOjXyvO9db5VPHxroxe9Lv5NrrGOd-_ZSV2qR6nNDImRL-FmHbcVl3V__0RexXjwr">http://wiki.mythtv.org/Mailing_List_etiquette</a><br></div><div>MythTV Forums: <a href="http://email.mg.glenb.net/c/eJxFjDsOwyAQBU9juiDwshsoKNzkHixe25H8iQBHyu1jKUWk14xG88aYpzSiU88YLGQBZ5AAeLqz9RJ8yBkFiFwQEuAkRDqnTdbOmXmVnfUuTS0R0bCgBcNsxZF1LImvwHvDhNyrNS6tvWoHQ9c_rk1HOTe9fdrS3voosyrxB7ezSqnX_d99Adg_M_A">https://forum.mythtv.org</a><br></div></blockquote><div>i just looked at the master branch in git and its fixed there</div><div><span></span></div><img width="1px" height="1px" alt="" src="http://email.mg.glenb.net/o/eJwlzEEOwiAQRuHTyE4CzDDCgsMM8Lc1aWtCq4m3t4nLt_heL23SHtk8S_bUQOyiENXpUX1CTrm1CBLhDAFVhYhtumG9sZtX7NXuOM1SgvdBXA5BySeWJAoi5esC6RScGWX7nsv5ub8PjOPS_7SvMf8A0GAnhw"></body></html>