Sync Failed issue
-
Hello, I’ve setup Woocommerce as the system of record and have many of the products syncing stock on variations correctly. However when I try to add new products into Square from Woocommerce and then manually sync them I get this error every time. Here’s the copy from the logs:
2024-02-10T00:02:54+00:00 CRITICAL Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function “square_stock_sync_handler” not found or invalid function name in /home/espirecl/public_html/wp-includes/class-wp-hook.php:324 Stack trace: #0 /home/espirecl/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #1 /home/espirecl/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #2 /home/espirecl/public_html/wp-content/plugins/woocommerce/includes/class-wc-api.php(161): do_action() #3 /home/espirecl/public_html/wp-includes/class-wp-hook.php(324): WC_API->handle_api_requests() #4 /home/espirecl/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #5 /home/espirecl/public_html/wp-includes/plugin.php(565): WP_Hook->do_action() #6 /home/espirecl/public_html/wp-includes/class-wp.php(418): do_action_ref_array() #7 /home/espirecl/public_html/wp-includes/class-wp.php(813): WP->parse_request() #8 /home/espirecl/public_html/wp-includes/functions.php(1336): WP->main() #9 /home/espirecl/public_html/wp-blog-header.php(16): wp() #10 /home/espirecl/public_html/index.php(17): require(‘/home/espirecl/…’) #11 {main} thrown in /home/espirecl/public_html/wp-includes/class-wp-hook.php on line 324
Thanks,
Balin
- The topic ‘Sync Failed issue’ is closed to new replies.