by John Schinnerer.
Thank Leon,
I did the purge_caches.php. That changed the error I get, so appears cached headers were the cause of the previous error.
NOTE the "==" that was output to my CLI however - same errant chars as on the web page:
...
john.schinnerer@malama:/content/lms.mydomain.tld/html/moodle$ sudo php admin/cli/purge_caches.php
==john.schinnerer@malama:/content/lms.mydomain.tld/html/moodle
...
So yeah there is something generating stray chars probably causing these errors, they show up on CLI output as well!
Git says:
------------------
$ git status
Refresh index: 100% (21186/21186), done.
On branch MOODLE_39_STABLE
Your branch is up to date with 'origin/MOODLE_39_STABLE'.
Changes not staged for commit:
(use "git add ..." to update what will be committed)
(use "git checkout -- ..." to discard changes in working directory)
modified: filter/algebra/algebra2tex.pl
modified: filter/tex/mimetex.darwin
modified: filter/tex/mimetex.exe
modified: filter/tex/mimetex.freebsd
modified: filter/tex/mimetex.linux
modified: lib/dml/my
sqli_native_moodle_database.php
Untracked files:
(use "git add ..." to include in what will be committed)
lib/dml/mysqli_native_moodle_database.php.bak-2020-10-04
no changes added to commit (use "git add" and/or "git commit -a")
--------------------------------
I DID edit the mysqli_native_moodle_database.php file, to add the patch to fix this bug:
https://tracker.moodle.org/browse/MDL-69196
I did NOT modify those other files...would they have been modified by the install process?
I will do checkouts to put them back to original from branch and see what happens.