WPIntell

Source evidence

PHP error

Doko Bundle Builder : The Ultimate dynamic bundle builder for WooCommerce · support · 2023-11-20T20:38:00+00:00

complaintsentiment
highseverity
0.96relevance
2replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

4 / 26 rows with source links

15.4% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

22 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
Daniele unresolved
Hello guys, I built my first box, when I add the selected products to the checkout I get the message: Please wait a moment while we prepare your custom gift box! But admin-ajax is failing with error 500 and this PHP error is generated: Uncaught TypeError: trim(): Argument #1 ($string) must be of type string, WC_Product_Attribute given in /var/www/html/site/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart.php:993 Stack trace: #0 /var/www/html/site/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart.php(993): trim(Object(WC_Product_Attribute)) #1 /var/www/html/site/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart.php(1148): WC_Cart->generate_cart_id(227452, 0, Array, Array) #2 /var/www/html/site/public_html/wp-content/plugins/doko-box-builder/public/class-hs-doko-public.php(524): WC_Cart->add_to_cart(227452, '1', 0, Array, Array) #3 /var/www/html/site/public_html/wp-includes/class-wp-hook.php(324): Hs_Doko_Public->add_to_cart('') #4 /var/www/html/site/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array) #5 /var/www/html/site/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #6 /var/www/html/site/public_html/wp-admin/admin-ajax.php(188): do_action('wp_ajax_doko_wc...') #7 {main} thrown Is this plugin still working on latest WC versions? Thanks Daniele Dear support, It turn out that this happens when one of the products in out-of-stock. I think is a bug, it should not be possible for a customer to add out-of-stock products in the box. Thanks Hello @daniele , Thank you for highlighting and sharing details about this issue. We are currently working on a patch to address it. We will provide further updates in our support panel.

Comments

2 shown
Daniele 2023-11-22T16:16:00+00:00

Dear support, It turn out that this happens when one of the products in out-of-stock. I think is a bug, it should not be possible for a customer to add out-of-stock products in the box. Thanks

UltiWP 2023-11-23T09:21:00+00:00

Hello @daniele , Thank you for highlighting and sharing details about this issue. We are currently working on a patch to address it. We will provide further updates in our support panel.