• Resolved kokodesignwebsite

    (@kokodesignwebsite)


    error after complete order payment

    2023-05-15T13:52:53+00:00 CRITICAL Uncaught TypeError: array_map(): Argument #2 ($array) must be of type array, null given in /var/www/site.com/wp-content/plugins/wcboost-wishlist/includes/data-stores/wishlist.php:321
    Stack trace:
    #0 /var/www/site.com/wp-content/plugins/wcboost-wishlist/includes/data-stores/wishlist.php(321): array_map()
    #1 /var/www/site.com/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(224): WCBoost\Wishlist\DataStore\Wishlist->get_wishlist_ids()
    #2 /var/www/site.com/wp-content/plugins/wcboost-wishlist/includes/query.php(161): WC_Data_Store->__call()
    #3 /var/www/site.com/wp-content/plugins/wcboost-wishlist/includes/form-handler.php(375): WCBoost\Wishlist\Query->get_user_wishlists()
    #4 /var/www/site.com/wp-content/plugins/wcboost-wishlist/includes/form-handler.php(360): WCBoost\Wishlist\Form_Handler::auto_remove_item()
    #5 /var/www/site.com/wp-includes/class-wp-hook.php(310): WCBoost\Wishlist\Form_Handler::auto_remove_item_on_checkout()
    #6 /var/www/site.com/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    #7 /var/www/site.com/wp-includes/plugin.php(517): WP_Hook->do_action()
    #8 /var/www/site.com/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-item-type-data-store.php(60): do_action()
    #9 /var/www/site.com/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(186): Abstract_WC_Order_Item_Type_Data_Store->create()
    #10 /var/www/site.com/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php(228): WC_Data_Store->create()
    #11 /var/www/site.com/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(285): WC_Data->save()
    #12 /var/www/site.com/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(217): WC_Abstract_Order->save_items()
    #13 /var/www/site.com/wp-content/plugins/woocommerce/includes/class-wc-order.php(244): WC_Abstract_Order->save()
    #14 /var/www/site.com/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(449): WC_Order->save()
    #15 /var/www/site.com/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1256): WC_Checkout->create_order()
    #16 /var/www/site.com/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(485): WC_Checkout->process_checkout()
    #17 /var/www/site.com/wp-includes/class-wp-hook.php(308): WC_AJAX::checkout()
    #18 /var/www/site.com/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    #19 /var/www/site.com/wp-includes/plugin.php(517): WP_Hook->do_action()
    #20 /var/www/site.com/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(96): do_action()
    #21 /var/www/site.com/wp-includes/class-wp-hook.php(308): WC_AJAX::do_wc_ajax()
    #22 /var/www/site.com/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    #23 /var/www/site.com/wp-includes/plugin.php(517): WP_Hook->do_action()
    #24 /var/www/site.com/wp-includes/template-loader.php(13): do_action()
    #25 /var/www/site.com/wp-blog-header.php(19): require_once('...')
    #26 /var/www/site.com/index.php(17): require('...')
    #27 {main}
      thrown in /var/www/site.com/wp-content/plugins/wcboost-wishlist/includes/data-stores/wishlist.php alla riga 321
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘woocommerce fatal error’ is closed to new replies.