Hello @kissmylegs,
It looks like you’ve done a great job troubleshooting the issue. Your observation about the PHP version potentially being a factor is a good one. With PHP 8.0 and later, more strict type checking and error handling have been introduced, and this could lead to warnings where none were seen before.
The changes you’ve made to the wc-template-functions.php file should prevent the warnings from appearing, as you’re now checking if the array index exists before trying to access it. This is a good practice to follow in general to prevent potential issues. However, making these changes in the core file is not recommended.
As for the cron job error, it’s hard to say what might be causing this without more information. It could be due to a server configuration issue, a conflict with another plugin, or many other factors.
Rest assured, I couldn’t replicate the error on my testing site. I used various versions like 8.6.1, 8.5.2, 8.4, and 8.3.1.
However, I suggest you continue to monitor your site and let us know if you see any further issues.
Thanks for your patience and understanding.