Hi,
I just tried deactivating and reactivating the Square plugin and it didn’t change anything. I turned on error logging during this last test, and below is what the error log is showing. Will get system report too if below doesn’t help.
2018-02-22T15:55:15+00:00 CRITICAL Uncaught TypeError: Argument 1 passed to WC_Square_Sync_To_Square::sync_inventory() must be an instance of WC_Product, boolean given, called in /home/micheles/public_html/wp-content/plugins/woocommerce-square/includes/class-wc-square-sync-to-square-wp-hooks.php on line 287 and defined in /home/micheles/public_html/wp-content/plugins/woocommerce-square/includes/class-wc-square-sync-to-square.php:221
Stack trace:
#0 /home/micheles/public_html/wp-content/plugins/woocommerce-square/includes/class-wc-square-sync-to-square-wp-hooks.php(287): WC_Square_Sync_To_Square->sync_inventory(false)
#1 /home/micheles/public_html/wp-includes/class-wp-hook.php(300): WC_Square_Sync_To_Square_WordPress_Hooks->on_variation_set_stock(Object(WC_Product_Variation))
#2 /home/micheles/public_html/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(”, Array)
#3 /home/micheles/public_html/wp-includes/plugin.php(515): WP_Hook->do_action(Array)
#4 /home/micheles/public_html/wp-cron.php(117): do_action_ref_array(‘wc_square_on_va…’
2018-02-23T06:13:04+00:00 CRITICAL Uncaught TypeError: Argument 1 passed to WC_Square_Sync_To_Square::sync_inventory() must be an instance of WC_Product, boolean given, called in /home/micheles/public_html/wp-content/plugins/woocommerce-square/includes/class-wc-square-sync-to-square-wp-hooks.php on line 287 and defined in /home/micheles/public_html/wp-content/plugins/woocommerce-square/includes/class-wc-square-sync-to-square.php:221
Stack trace:
#0 /home/micheles/public_html/wp-content/plugins/woocommerce-square/includes/class-wc-square-sync-to-square-wp-hooks.php(287): WC_Square_Sync_To_Square->sync_inventory(false)
#1 /home/micheles/public_html/wp-includes/class-wp-hook.php(300): WC_Square_Sync_To_Square_WordPress_Hooks->on_variation_set_stock(Object(WC_Product_Variation))
#2 /home/micheles/public_html/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(”, Array)
#3 /home/micheles/public_html/wp-includes/plugin.php(515): WP_Hook->do_action(Array)
#4 /home/micheles/public_html/wp-cron.php(117): do_action_ref_array(‘wc_square_on_va…’