Title: bug &#8211; warning
Last modified: May 18, 2023

---

# bug – warning

 *  Resolved [labok](https://wordpress.org/support/users/labok/)
 * (@labok)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/bug-warning-3/)
 * Hi
 * The plugin is throwing the following warning
 * PHP Warning: in_array() expects parameter 2 to be array, string given in /public/
   wp-content/plugins/estimated-delivery-for-woocommerce/estimated-delivery-woocommerce.
   php on line 283
 * Regards
 * Sam

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [DanielRiera](https://wordpress.org/support/users/danielriera/)
 * (@danielriera)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/bug-warning-3/#post-16747761)
 * Ops, is when you have select only one disabled day…. Ok, next update fix this.
 * Thanks for report
 *  Plugin Author [DanielRiera](https://wordpress.org/support/users/danielriera/)
 * (@danielriera)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/bug-warning-3/#post-16766238)
 * Solved, check 1.3.3 version
 *  [Pineparks](https://wordpress.org/support/users/pineparks/)
 * (@pineparks)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/bug-warning-3/#post-16770910)
 * [@danielriera](https://wordpress.org/support/users/danielriera/) unfortunately
   latest update does not fix the issue, we also experience endless loop and “PHP
   Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate
   262144 bytes)” in the end.
 * We tried to fix it on our own and updated line 277 like this
 * OLD: if($iteration == $daysToAdd) {
 * NEW: if($iteration >= $daysToAdd) {
 * Now plugin is working again, please consider this in next release 🙂
 *  Plugin Author [DanielRiera](https://wordpress.org/support/users/danielriera/)
 * (@danielriera)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/bug-warning-3/#post-16772074)
 * Hi [@pineparks](https://wordpress.org/support/users/pineparks/) sorry for this
   problem, can you provide me with your configuration?
 *  [loopforever](https://wordpress.org/support/users/loopforever/)
 * (@loopforever)
 * [3 years ago](https://wordpress.org/support/topic/bug-warning-3/#post-16792157)
 * I’ve done the updates but I’m getting the same error.** **On the single product
   page I get the following error:
   **Fatal error: **Allowed memory size of XXXX 
   bytes exhausted (tried to allocate YYYY bytes) in … plugins/estimated-delivery-
   for-woocommerce/estimated-delivery-woocommerce.php **on line 281**
 *  Plugin Author [DanielRiera](https://wordpress.org/support/users/danielriera/)
 * (@danielriera)
 * [3 years ago](https://wordpress.org/support/topic/bug-warning-3/#post-16795055)
 * Hi! Sorry, please check 1.3.4 version published now

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘bug – warning’ is closed to new replies.

 * ![](https://ps.w.org/estimated-delivery-for-woocommerce/assets/icon-256x256.png?
   rev=3082850)
 * [Estimated Delivery for WooCommerce](https://wordpress.org/plugins/estimated-delivery-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/estimated-delivery-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/estimated-delivery-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/estimated-delivery-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/estimated-delivery-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/estimated-delivery-for-woocommerce/reviews/)

 * 6 replies
 * 4 participants
 * Last reply from: [DanielRiera](https://wordpress.org/support/users/danielriera/)
 * Last activity: [3 years ago](https://wordpress.org/support/topic/bug-warning-3/#post-16795055)
 * Status: resolved