<html><head></head><body><div><br></div><div><br></div><div>On Sun, 2017-01-29 at 23:15 -0800, Al wrote:</div><blockquote type="cite"><pre>glen wrote:
<blockquote type="cite">
i had a problem with mythweb on arch recently when i installed the php
7.1 updates from arch. i rolled the php updates back to 7.0 and it
worked. i also noticed around that time some minor changes were made in
the mythweb git but i did not check to see if the newer files in the git
would eliminate the error i got under php 7.1. But i did not get the
error message you got i had something different, but still maybe worth
looking into.
</blockquote>

I'm running Gentoo with php 7.1, and found the solution on the archlinux
forum.

See <a href="https://bbs.archlinux.org/viewtopic.php?id=222245">https://bbs.archlinux.org/viewtopic.php?id=222245</a>

>From my notes (for Gentoo, so the path to utils.php might be different):

in /var/www/localhost/htdocs/mythweb/includes/utils.php lines 220-225:
 Change every instance of 'this' to 'that'.

The end result:

    function _or($that, $or_that, $gt = false) {
        if ($gt === true)
            return $that > 0 ? $that : $or_that;
        if (!empty($gt))
            return $that > $gt ? $that : $or_that;
        return $that ? $that : $or_that;
    }

Al
_______________________________________________
mythtv-users mailing list
<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a>
<a href="http://lists.mythtv.org/mailman/listinfo/mythtv-users">http://lists.mythtv.org/mailman/listinfo/mythtv-users</a>
<a href="http://wiki.mythtv.org/Mailing_List_etiquette">http://wiki.mythtv.org/Mailing_List_etiquette</a>
MythTV Forums: <a href="https://forum.mythtv.org
">https://forum.mythtv.org
</a></pre></blockquote><div><br></div><div>thanks Al, will save me a lot of time when i do the upgrade. i also have owncloud server and it can't use 7.1 php either until arch updates it to 10.0. </div></body></html>