PHP 8.1 and Sitemap Generator 8.2
« on: June 13, 2022, 06:54:35 PM »
Everything works well, but my error log shows hundreds of lines of errors, mostly missing array index keys.

Here are some of the errors:
[13-Jun-2022 17:53:07 UTC] PHP Warning:  Undefined array key "ddbg" in pages/class.utils.inc.php on line 107
[13-Jun-2022 17:53:07 UTC] PHP Warning:  Undefined array key "" in pages/class.grab.inc.php on line 116
[13-Jun-2022 17:53:07 UTC] PHP Warning:  Trying to access array offset on value of type null in pages/class.grab.inc.php on line 116
[13-Jun-2022 17:53:07 UTC] PHP Warning:  Undefined array key "xs_prev_sm_incl" in pages/class.grab.inc.php on line 739
[13-Jun-2022 17:53:07 UTC] PHP Warning:  Undefined array key "xs_prev_sm_cache" in pages/class.grab.inc.php on line 741
[13-Jun-2022 17:53:07 UTC] PHP Warning:  Undefined array key "xs_badreq_httpcode" in pages/class.grab.inc.php on line 751
[13-Jun-2022 17:53:07 UTC] PHP Warning:  Undefined array key "xs_interrupt_httpcode" in pages/class.grab.inc.php on line 753
Re: PHP 8.1 and Sitemap Generator 8.2
« Reply #1 on: June 16, 2022, 09:07:42 PM »
Hello,
you might need to configured the server to disable writing warning level messages in the log file when running it.
Re: PHP 8.1 and Sitemap Generator 8.2
« Reply #2 on: March 17, 2023, 07:35:46 PM »
Ok so guess i was write, quick fixes using @ for warning is indeed implemented, thats why we didnt really see a huge boost in performance in regards to php5 -> php7.4. @fclose, @chmod, @ on plenty of functions, anyways, option stands if you need help developing further, i guess most of here used this script before github was full of similar scripts, both free and faster, maybe its time to promote the script as open source but for those who dont get it or gets how to fix permissions, fw, (thinking of cf) and such should maybe be suggested going for a paid option like im sure this website makes alot more money on.

Br,
Thomas