-
Notifications
You must be signed in to change notification settings - Fork 147
Undefined index: id in Loader.php:1019 #5631
Comments
@BrianHenryIE Thank you for submitting your bug report. I was not able to reproduce the error with a fresh installation of WordPress + WooCommerce. However, I can see how this can happen since there is no error handling logic when an invalid group setting I.D is given. We will work on a fix. |
@BrianHenryIE Hi :) Could you do me a favor, please? I would like to find out what's causing this error before we push out a fix.
Thank you, |
As a note, a customer came across this error and reached out in Live Chat - 25863716-hc - they let us know that deactivating and reactivating the core WooCommerce plugin removed the error |
@dougaitken Thank you! I will read through the ticket and test it myself. |
Hi again, sorry for the delay. I disabled our 70 plugins and enabled them one by one, refreshing the admin orders list page each time and checking the log file! The problem is with the WooCommerce Anti Fraud plugin version 3.3 (latest), WooCommerce 4.7.1 & 4.8.0, and WordPress 5.5.3 (when no other plugins are active). Also occurs with WooCommerce Admin 1.7.2 plugin active. I'll file a bug report with them too with a link here.
This did not work in my case. |
An update has been released to WooCommerce Anti Fraud to address this problem. Their changelog says:
I haven't had time to make a diff to understand/explain it more (and probably won't unless someone is interested). |
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue was automatically closed due to being stale. Please feel free to re-open it if you still experience this problem. |
Describe the bug
Our logs are full of lots of:
where Loader.php is preloading options.
I added in some extra logging:
error_log((new Exception())->getTraceAsString());
error_log( $group );
error_log( json_encode( $group_settings) );
To Reproduce
Refresh a page. Orders page is a sure one. Probably more.Refresh the admin orders list page.
Expected behavior
Clean logs.
Environment:
WooCommerce 4.7.0
Siteground WordPress hosting.
PHP 7.3
The text was updated successfully, but these errors were encountered: