I've been using xml-sitemaps since 2008 and I'm currently running the latest version (7.1). It's served me very well so thank you for the script.
I recently upgraded my server to PHP 7.1 (from 5.6); I now get the following errors logged on every cron run of runcrawl.php:
[25-Jan-2017 05:30:03 UTC] PHP Warning: A non-numeric value encountered in [path redacted]pages/page-crawlproc.inc.php on line 212
[25-Jan-2017 05:30:03 UTC] PHP Warning: A non-numeric value encountered in [path redacted]pages/page-crawlproc.inc.php on line 212
[25-Jan-2017 05:30:03 UTC] PHP Warning: A non-numeric value encountered in [path redacted]pages/page-crawlproc.inc.php on line 212
over and over again.
The sitemap file still generates OK, but I just get a full error log of these messages. One of my sites has over 2.5k pages, so the error log gets large quite quickly.
I would guess it's a fairly simple change to fix/suppress this warning in page-crawlproc.inc.php, but with the code obfuscation I can't see what would need to change.
Is this something you could fix? Even just an updated copy of that file to stop the warnings would be great.
Thanks in advance.