Howdy @dimalifragis,
I could do all that but the problem is that this error is showing 1-2 times per day and i can’t replicate it. So i don’t know when it happens.
Is this notice being displayed on the front end of your site, or is it only being logged in the error log found?under?WooCommerce?→?Status?→?Logs.?
Also, if you roll back to a previous PHP version, does the issue resolve? The best way to perform these types of checks is in a staging environment. This is a clone of your live site where you can test changes without affecting your live site. This can be done using the free?WP Staging?plugin.
If you do make any changes to your live site, we always recommend ensuring that you have a good?backup?of your?full site and database?before doing this, so that, should something go wrong, you are able to easily restore your site to a functioning state.
Lastly, kindly share a copy of your site’s System Status Report so that we can take a closer look at your sites current environment.
As mentioned, this can be found via?WooCommerce?→?Status. Select?Get system report
?and then?Download for Support
. This will download a TXT file that has the contents of the SSR which you can then share with us here.
Cheers!