Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter stompdev

    (@stompdev)

    Thanks I have updated and the errors are gone! But the PayPal auto payout does not seem to work. I do not see an option to add it as a payment method.

    It is enabled and I have added keys.

    Thread Starter stompdev

    (@stompdev)

    Hi,

    Is the plugin usable with this issue? 

    Thanks,

    James

    Thread Starter stompdev

    (@stompdev)

    Please use this – ?0v12fy7H

    • This reply was modified 1 year, 3 months ago by stompdev.
    Thread Starter stompdev

    (@stompdev)

    Thanks, okay, must have missed that, I added them as they were on the page. But the functions I added have solved the issues there for now, and I can remove them or use them to add some messages etc.

    The main issue is, why am I not seeing the options to select stock locations in the cart as the settings seem correct to me?

    Thanks,

    James

    Thread Starter stompdev

    (@stompdev)

    Hi, thanks for the quick response. I have added the setting for the cart but still don’t see it:

    The errors are similar to this:

    Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function “twentytwentyfive_child_allow_stock_allocation_notification_callback” not found or invalid function name in /hiddenpath//wp-includes/class-wp-hook.php:324 Stack trace: #0 /hiddenpath//wp-includes/plugin.php(205): WP_Hook->apply_filters() #1 /hiddenpath//wp-content/plugins/stock-locations-for-woocommerce/src/helpers/helper-slw-mail.php(25): apply_filters() #2 /hiddenpath//wp-content/plugins/stock-locations-for-woocommerce/src/helpers/helper-slw-order-item.php(176): SLW\SRC\Helpers\SlwMailHelper::stock_allocation_notification() #3 /hiddenpath//wp-content/plugins/stock-locations-for-woocommerce/src/classes/class-slw-order-item.php(537): SLW\SRC\Helpers\SlwOrderItemHelper::allocateLocationStock() #4 /hiddenpath//wp-content/plugins/stock-locations-for-woocommerce/src/classes/class-slw-order-item.php(561): SLW\SRC\Classes\SlwOrderItem->reduce_order_items_locations_stock() #5 /hiddenpath//wp-includes/class-wp-hook.php(324): SLW\SRC\Classes\SlwOrderItem->reduce_order_items_locations_stock_on_save() #6 /hiddenpath//wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #7 /hiddenpath//wp-includes/plugin.php(517): WP_Hook->do_action() #8 /hiddenpath//wp-content/plugins/woocommerce/src/Internal/Admin/Orders/Edit.php(318): do_action() #9 /hiddenpath//wp-content/plugins/woocommerce/src/Internal/Admin/Orders/Edit.php(153): Automattic\WooCommerce\Internal\Admin\Orders\Edit->handle_order_update() #10 /hiddenpath//wp-content/plugins/woocommerce/src/Internal/Admin/Orders/PageController.php(351): Automattic\WooCommerce\Internal\Admin\Orders\Edit->setup() #11 /hiddenpath//wp-content/plugins/woocommerce/src/Internal/Admin/Orders/PageController.php(367): Automattic\WooCommerce\Internal\Admin\Orders\PageController->prepare_order_edit_form() #12 /hiddenpath//wp-content/plugins/woocommerce/src/Internal/Admin/Orders/PageController.php(166): Automattic\WooCommerce\Internal\Admin\Orders\PageController->setup_action_edit_order() #13 /hiddenpath//wp-includes/class-wp-hook.php(324): Automattic\WooCommerce\Internal\Admin\Orders\PageController->handle_load_page_action() #14 /hiddenpath//wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #15 /hiddenpath//wp-includes/plugin.php(517): WP_Hook->do_action() #16 /hiddenpath//wp-admin/admin.php(237): do_action() #17 {main} thrown in /hiddenpath//wp-includes/class-wp-hook.php on line 324

    There is one related to each of these hooks, I think:

    add_filter(‘slw_stock_allocation_notification_message’, ‘twentytwentyfive_child_stock_allocation_notification_message_callback’, 10, 4);
    add_filter(‘allow_stock_allocation_notification’, ‘twentytwentyfive_child_allow_stock_allocation_notification_callback’, 10, 4);
    add_filter(‘slw_stock_allocation_notification_subject’, ‘twentytwentyfive_child_allow_stock_allocation_notification_callback’, 10, 4);
    add_filter(‘slw_edit_stocks_filter’, ‘twentytwentyfive_child_slw_edit_stocks_filter_callback’, 10, 3);
    add_filter(‘slw_product_stock_location_notice’, ‘twentytwentyfive_child_slw_product_stock_location_notice_callback’, 10, 4);

    I can solve them by adding some functions to my functions.php, but maybe this is related to my issues. I have noticed I can see the locations in the product now.

    I hope this all makes sense. Thanks for the help.

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