Not completing Square Sync
-
I have tried to sync products using the full import the first time. It did not bring in all products correctly. I then put all products in trash and then permanently deleted them and attempted another full import. I went back and the customer had altered Square. I assumed that when it syncs every hour to square, it would make the needed alterations however it did not. I have repeated the process of the leaving all products and putting them in the trash then permanently deleting them then doing a full import three more times and it is pulling 185 products out of 215. The number is consistent and does not change.
Has the client done something in square that can block this plugin from syncing properly? How would I know?
I have WordPress 5.5, and the jQuery plug-in helper installed.
-
### WordPress Environment ### WordPress address (URL): https://online.REDACTED Site address (URL): https://online.REDACTED WC Version: 4.4.1 REST API Version: ? 1.0.15 WC Blocks Version: ? 3.1.0 Action Scheduler Version: ? 3.1.6 WC Admin Version: ? 1.4.0 Log Directory Writable: ? WP Version: 5.5.1 WP Multisite: – WP Memory Limit: 512 MB WP Debug Mode: – WP Cron: ? Language: en_US External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.3.14 PHP Post Max Size: 40 MB PHP Time Limit: 300 PHP Max Input Vars: 1000 cURL Version: 7.68.0 OpenSSL/1.1.1d SUHOSIN Installed: – MySQL Version: 8.0.18 Max Upload Size: 40 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 4.4.1 WC Database Prefix: wp_ Total Database Size: 322.68MB Database Data Size: 317.55MB Database Index Size: 5.13MB wp_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_actions: Data: 0.28MB + Index: 0.14MB + Engine InnoDB wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_logs: Data: 0.16MB + Index: 0.13MB + Engine InnoDB wp_bwt_failed_submissions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_bwt_passed_submissions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_hurrytimer_evergreen: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mailchimp_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_options: Data: 11.05MB + Index: 0.16MB + Engine InnoDB wp_postmeta: Data: 20.36MB + Index: 1.45MB + Engine InnoDB wp_posts: Data: 2.33MB + Index: 0.53MB + Engine InnoDB wp_rafflepress_contestants: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_rafflepress_entries: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_rafflepress_giveaways: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_rafflepress_polls: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_smush_dir_images: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_tm_taskmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_tm_tasks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_updraftcentral_site_temporary_keys: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_updraftcentral_sitemeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_updraftcentral_sites: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_updraftcentral_user_cron: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_usermeta: Data: 1.52MB + Index: 0.03MB + Engine InnoDB wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wfblockediplog: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfblocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wfconfig: Data: 270.36MB + Index: 0.00MB + Engine InnoDB wp_wfcrawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wffilechanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wffilemods: Data: 5.52MB + Index: 0.00MB + Engine InnoDB wp_wfhits: Data: 0.13MB + Index: 0.05MB + Engine InnoDB wp_wfhoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wfissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wfknownfilelist: Data: 2.52MB + Index: 0.00MB + Engine InnoDB wp_wflivetraffichuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wflocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wflogins: Data: 0.08MB + Index: 0.03MB + Engine InnoDB wp_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfnotifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfpendingissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wfreversecache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wfstatus: Data: 0.13MB + Index: 0.11MB + Engine InnoDB wp_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_square_customers: Data: 0.05MB + Index: 0.00MB + Engine InnoDB wp_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_yoast_indexable: Data: 1.52MB + Index: 0.83MB + Engine InnoDB wp_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_yoast_seo_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_yoast_seo_meta: Data: 0.08MB + Index: 0.00MB + Engine InnoDB ### Post Type Counts ### arilewp_portfolio: 4 attachment: 4651 customize_changeset: 93 elementor_library: 2 flamingo_contact: 3 hurrytimer_countdown: 1 nav_menu_item: 34 oembed_cache: 2 page: 20 post: 3 product: 32 revision: 94 wpcf7_contact_form: 1 ### Security ### Secure connection (HTTPS): ? Your store is not using HTTPS. Learn more about HTTPS and SSL Certificates. Hide errors from visitors: ? ### Active Plugins (28) ### AWS for WordPress: by AWS Labs WP Engine – 4.2.2 Arile Extra: by ThemeArile – 2.0.2 WP AutoTerms: by WP AutoTerms – 2.4.1 Autoptimize: by Frank Goossens (futtta) – 2.7.7 Bing Webmaster Url Submission: by Bing Webmaster – 1.0.4 Contact Form 7: by Takayuki Miyoshi – 5.2.2 Elementor Pro: by Elementor.com – 3.0.2 Elementor: by Elementor.com – 3.0.5 Enable jQuery Migrate Helper: by The WordPress Team – 1.0.1 Essential Addons for Elementor: by WPDeveloper – 4.2.3 Flamingo: by Takayuki Miyoshi – 2.2 Google Analytics for WordPress by MonsterInsights: by MonsterInsights – 7.12.2 Happy Elementor Addons: by weDevs – 2.14.0 HurryTimer: by Nabil Lemsieh – 2.2.27 – Installed version not tested with active version of WooCommerce 4.4.1 RafflePress Pro: by RafflePress – 1.3.4 Shortcodes Ultimate: by Vladimir Anokhin – 5.9.2 Simple Tags: by Amaury BALMER – 2.5.7 UpdraftPlus - Backup/Restore: by UpdraftPlus.Com DavidAnderson – 1.16.28 Web Stories: by Google – 1.0.0-beta.2 WPC Frequently Bought Together for WooCommerce: by WPClever.net – 3.3.1 WooCommerce Square: by WooCommerce – 2.2.0 WooCommerce: by Automattic – 4.4.1 Wordfence Security: by Wordfence – 7.4.11 Yoast SEO: by Team Yoast – 14.9 WP Mail SMTP: by WPForms – 2.3.1 SEOPress: by SEOPress – 3.9.2 Smush: by WPMU DEV – 3.6.3 Yoast SEO: Search index purge: by Team Yoast – 1.1.0 ### Inactive Plugins (3) ### Age Gate: by Phil Baker – 2.7.2 AMP: by AMP Project Contributors – 2.0.0 Site Kit by Google: by Google – 1.15.0 ### Settings ### API Enabled: – Force SSL: – Currency: USD ($) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) variable (variable) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) Connected to WooCommerce.com: – ### WC Pages ### Shop base: #1458 - /categories/ Cart: #23 - /cart/ Checkout: #24 - /checkout/ My account: #25 - /my-account/ Terms and conditions: #478 - /terms-and-conditions/ ### Theme ### Name: ArileWP Pro Version: 1.4.1 Author URL: https://themearile.com Child Theme: ? – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme WooCommerce Support: ? ### Templates ### Archive Template: Your theme has a woocommerce.php file you will not be able to override the woocommerce/archive-product.php custom template since woocommerce.php has priority over archive-product.php. This is intended to prevent display issues. Overrides: – ### Square ### Environment: Production Tokenization Enabled: – Debug Mode: Save to Log ### Action Scheduler ### Complete: 650 Oldest: 2020-08-21 10:40:33 -0400 Newest: 2020-09-03 11:01:04 -0400 Pending: 2 Oldest: 2020-09-03 12:01:04 -0400 Newest: 2020-09-05 15:54:42 -0400
CommerceStatusLogs
Store ActivityHelp
System statusToolsLogsScheduled ActionsLogs
Please Setup Website Analytics to See Audience InsightsMonsterInsights, WordPress analytics plugin, helps you connect your website with Google Analytics, so you can see how people find and use your website. Over 2 million website owners use MonsterInsights to see the stats that matter and grow their business.
Connect MonsterInsights and Setup Website Analytics Learn More
Heads up! Square is currently configured to log transaction data for debugging purposes. If you are not experiencing any problems with payment processing, we recommend turning off Debug Mode ?
Dismiss this notice.
fatal-errors-2020-09-02-fee06b5333d2ebf268f8bb6ca3f3d116.log Delete logfatal-errors-2020-09-02-fee06b5333d2ebf268f8bb6ca3f3d116.log (September 2, 2020 at 6:53 am)
View
2020-09-02T06:53:12+00:00 CRITICAL Uncaught Error: Call to a member function getObject() on string in /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/woocommerce-square/includes/Handlers/Product.php:243
Stack trace:
#0 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/woocommerce-square/includes/Sync/Product_Import.php(400): WooCommerce\Square\Handlers\Product::update_image_from_square(3449, ‘S6NG3RJQED4BDDA…’)
#1 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/woocommerce-square/includes/Sync/Product_Import.php(181): WooCommerce\Square\Sync\Product_Import->update_product(Object(WC_Product_Simple), Array)
#2 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/woocommerce-square/includes/Sync/Stepped_Job.php(114): WooCommerce\Square\Sync\Product_Import->import_products()
#3 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/woocommerce-square/includes/Sync/Stepped_Job.php(55): WooCommerce\Square\Sync\Stepped_Job->do_next_step()
#4 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/woocommerce-square/includes/Handlers/B in /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/woocommerce-square/includes/Handlers/Product.php on line 243Hi @gawebwarrior, thanks for sharing those logs with us as they’re very helpful.
The logs point to our function
update_image_from_square()
which is fetching the product image from Square and updating it on your product in WooCommerce.The fatal error you linked above shows that our API request to Square returned in invalid response.
Can you please go into your WooCommerce > Status > Logs and use the dropdown to select and view the recent Square logs for
square-2020-09-02
please (here’s a screenshot of how to view them: https://d.pr/i/QJqHha)In these logs you should find an API request and response that is causing this fatal error.
Searching that file for the string:
retrieveCatalogObject
will point you to the request that failed.Let me know if this log shows has any information as to what has caused this issue.
Thanks for your patience
Hi there @gawebwarrior,
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.
- The topic ‘Not completing Square Sync’ is closed to new replies.