Support » Plugin: WooSquare - Square for WooCommerce » WP_Error on plugin files

  • anjusibi

    (@anjusibi)


    I integrate this module with the woo-commerce, and randomly I got the error after update products
    PHP Fatal error: Uncaught Error: Cannot use object of type WP_Error as array in /home/../wp-content/plugins/woosquare/_inc/SquareToWooSynchronizer.class.php:1310
    I added !is_wp_error instead of !empty for ($response[‘response’])) but still getting this.
    The error line changes each time.
    I couldn’t able to figure out the exact issue because it just happens randomly.
    Can somebody please fix this issue?

    • This topic was modified 2 months ago by  anjusibi.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.