- Support forum for the Order Minimum/Maximum Amount Limits for WooCommerce.
- This topic has 4 replies, 2 voices, and was last updated 8 months, 3 weeks ago by B4invest Smart Solutions.
- AuthorPosts
- March 15, 2024 at 9:22 am #136782B4invest Smart SolutionsParticipant
Appears on the erro_log and php-fpm_error.logs:
Error:
Undefined array key “alg_wc_pq_min_all
Complete log:
[14-Mar-2024 08:32:32] WARNING: [pool xxx.pt] child 1539362 said into stderr: “PHP message: PHP Warning: Undefined array key “alg_wc_pq_min_all_product” in /var/www/vhosts/xxx.pt/httpdocs/wp-content/plugins/product-quantity-for-woocommerce-pro/includes/pro/class-alg-wc-pq-pro.php on line 346″
line 346:
– if ($cat_quantity > 0)
Code file:
// $meta_key = ‘alg_wc_pq_’ . $min_or_max;
$meta_key = ‘alg_wc_pq_’ . $min_or_max . ‘_all_product’;
if (!empty($term_meta) && is_array($term_meta)) {
$cat_quantity = $term_meta[$meta_key];
if ($cat_quantity > 0)
{
return $cat_quantity;
}
}
}
}
return;
}March 18, 2024 at 2:55 am #137024MoshtafizurParticipantHi there,
Thanks for reaching out. I am sorry to know that you are experiencing issues.
I was unable to reproduce the issue. Could you please ensure that you using the latest version of WooCommerce and our plugin? Please let us know.
March 18, 2024 at 11:08 am #137049B4invest Smart SolutionsParticipantHello,
We are using the woocommerce 8.6 and the plugin version is 4.5.23.
Let us know if need further information.
Thanks,
March 21, 2024 at 3:44 am #137182MoshtafizurParticipantHi there,
Thanks for letting us know.
I have escalated this with our development team. They will back to you as soon as possible.
Kind regards.
March 25, 2024 at 8:09 pm #137431B4invest Smart SolutionsParticipantHello,
Can we have an update? We are continuing to get this errors and now after update the woocommerce to last version we have error updating the product stock.
Thanks.
- AuthorPosts
- You must be logged in to reply to this topic.