Replies: 0
Hello !
I have a fresh install of woocommerce with woocommerce square plugin installed.
Square is set as my system of record.
I created a test product with an image in Square.
When I import it in WooCommerce, the image is not imported.
I tryied to manually sync the product in square/update settings page. Still nothing.
In the logs, I have one fatal error :
2020-05-02T13:05:09+00:00 CRITICAL Uncaught Error: Call to a member function getObject() on string in /public_html/wp-content/plugins/woocommerce-square/includes/Handlers/Product.php:242
Stack trace:
#0 /public_html/wp-content/plugins/woocommerce-square/includes/Sync/Manual_Synchronization.php(1419): WooCommerce\Square\Handlers\Product::update_image_from_square(Object(WC_Product_Variable), 'RRK3SI36GMXQJ2K...')
#1 /public_html/wp-content/plugins/woocommerce-square/includes/Sync/Stepped_Job.php(114): WooCommerce\Square\Sync\Manual_Synchronization->square_sor_sync()
#2 /public_html/wp-content/plugins/woocommerce-square/includes/Sync/Stepped_Job.php(55): WooCommerce\Square\Sync\Stepped_Job->do_next_step()
#3 /public_html/wp-content/plugins/woocommerce-square/includes/Handlers/Background_Job.php(172): WooCommerce\Square\Sync\Stepped_Job->run()
#4 /public_html/wp-content/plugins/woocommerce-square/includes/Handlers/Background_Job.php(123): WooCommerce\Square\H dans /public_html/wp-content/plugins/woocommerce-square/includes/Handlers/Product.php à la ligne 242
Help would be appreciated, we want to set all the images directely in Square.
Thank you !