• Resolved thomasjulienalain

    (@thomasjulienalain)


    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 !

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi there @thomasjulienalain,

    We’ve seen such errors before in hosting environments with allow_url_fopen disabled. Could you please check that with your hosting and get back to us if enabling it doesn’t help?

    Cheers!

    Hi there @thomasjulienalain,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Import products problem with image from square’ is closed to new replies.