Square not syncing to woo
-
Square not syncing with my products , and unable to manually sync them.
tested site , backup processes are ok
unable to set location in the admin panel
unable to use on mobile device
The page I need help with: [log in to see the link]
-
Hi there,
Please make sure that you have followed the walkthrough documentation to sync Square successfully to WooCommerce. If it is getting errors, please let us know more details such as the type of error and where it is showing.
Thanks!
hi mike
here are some of the errors the website is spitting out ;
2020-02-06T22:29:22+00:00 CRITICAL Uncaught Error: Call to a member function getIdMappings() on null in D:\INETPUB\handz-on\wp-content\plugins\woocommerce-square\includes\Sync\Manual_Synchronization.php:352
Stack trace:
#0 D:\INETPUB\handz-on\wp-content\plugins\woocommerce-square\includes\Sync\Stepped_Job.php(114): WooCommerce\Square\Sync\Manual_Synchronization->upsert_categories()
#1 D:\INETPUB\handz-on\wp-content\plugins\woocommerce-square\includes\Sync\Stepped_Job.php(55): WooCommerce\Square\Sync\Stepped_Job->do_next_step()
#2 D:\INETPUB\handz-on\wp-content\plugins\woocommerce-square\includes\Handlers\Background_Job.php(172): WooCommerce\Square\Sync\Stepped_Job->run()
#3 D:\INETPUB\handz-on\wp-content\plugins\woocommerce-square\includes\Handlers\Background_Job.php(123): WooCommerce\Square\Handlers\Background_Job->process_job(Object(WooCommerce\Square\Sync\Manual_Synchronization))
#4 D:\INETPUB\handz-on\wp-content\plugins\woocommerce-square\vendor\skyverge\wc-plugin-framework\woocommerce\utilities\class-sv-wp-background-job-handler.php(167): in D:\INETPUB\handz-on\wp-content\plugins\woocommerce-square\includes\Sync\Manual_Synchronization.php on line 3522020-02-06T22:31:33+00:00 CRITICAL Uncaught Error: Call to a member function getIdMappings() on null in D:\INETPUB\handz-on\wp-content\plugins\woocommerce-square\includes\Sync\Manual_Synchronization.php:352
Stack trace:
#0 D:\INETPUB\handz-on\wp-content\plugins\woocommerce-square\includes\Sync\Stepped_Job.php(114): WooCommerce\Square\Sync\Manual_Synchronization->upsert_categories()
#1 D:\INETPUB\handz-on\wp-content\plugins\woocommerce-square\includes\Sync\Stepped_Job.php(55): WooCommerce\Square\Sync\Stepped_Job->do_next_step()
#2 D:\INETPUB\handz-on\wp-content\plugins\woocommerce-square\includes\Handlers\Background_Job.php(172): WooCommerce\Square\Sync\Stepped_Job->run()
#3 D:\INETPUB\handz-on\wp-content\plugins\woocommerce-square\includes\Handlers\Background_Job.php(123): WooCommerce\Square\Handlers\Background_Job->process_job(Object(WooCommerce\Square\Sync\Manual_Synchronization))
#4 D:\INETPUB\handz-on\wp-content\plugins\woocommerce-square\vendor\skyverge\wc-plugin-framework\woocommerce\utilities\class-sv-wp-background-job-handler.php(167): in D:\INETPUB\handz-on\wp-content\plugins\woocommerce-square\includes\Sync\Manual_Synchronization.php on line 3522020-02-06T22:33:43+00:00 CRITICAL Uncaught Error: Call to a member function getIdMappings() on null in D:\INETPUB\handz-on\wp-content\plugins\woocommerce-square\includes\Sync\Manual_Synchronization.php:352
Stack trace:
#0 D:\INETPUB\handz-on\wp-content\plugins\woocommerce-square\includes\Sync\Stepped_Job.php(114): WooCommerce\Square\Sync\Manual_Synchronization->upsert_categories()
#1 D:\INETPUB\handz-on\wp-content\plugins\woocommerce-square\includes\Sync\Stepped_Job.php(55): WooCommerce\Square\Sync\Stepped_Job->do_next_step()
#2 D:\INETPUB\handz-on\wp-content\plugins\woocommerce-square\includes\Handlers\Background_Job.php(172): WooCommerce\Square\Sync\Stepped_Job->run()
#3 D:\INETPUB\handz-on\wp-content\plugins\woocommerce-square\includes\Handlers\Background_Job.php(123): WooCommerce\Square\Handlers\Background_Job->process_job()
#4 D:\INETPUB\handz-on\wp-content\plugins\woocommerce-square\vendor\skyverge\wc-plugin-framework\woocommerce\utilities\class-sv-wp-background-job-handler.php(167): WooCommerce\Square\Handlers\Background_Job->handle()
in D:\INETPUB\handz-on\wp-content\plugins\woocommerce-square\includes\Sync\Manual_Synchronization.php on line 3522020-02-06T22:34:19+00:00 CRITICAL Uncaught Error: Call to a member function getIdMappings() on null in D:\INETPUB\handz-on\wp-content\plugins\woocommerce-square\includes\Sync\Manual_Synchronization.php:352
Stack trace:
#0 D:\INETPUB\handz-on\wp-content\plugins\woocommerce-square\includes\Sync\Stepped_Job.php(114): WooCommerce\Square\Sync\Manual_Synchronization->upsert_categories()
#1 D:\INETPUB\handz-on\wp-content\plugins\woocommerce-square\includes\Sync\Stepped_Job.php(55): WooCommerce\Square\Sync\Stepped_Job->do_next_step()
#2 D:\INETPUB\handz-on\wp-content\plugins\woocommerce-square\includes\Handlers\Background_Job.php(172): WooCommerce\Square\Sync\Stepped_Job->run()
#3 D:\INETPUB\handz-on\wp-content\plugins\woocommerce-square\includes\Handlers\Background_Job.php(123): WooCommerce\Square\Handlers\Background_Job->process_job()
#4 D:\INETPUB\handz-on\wp-content\plugins\woocommerce-square\vendor\skyverge\wc-plugin-framework\woocommerce\utilities\class-sv-wp-background-job-handler.php(167): WooCommerce\Square\Handlers\Background_Job->handle()
in D:\INETPUB\handz-on\wp-content\plugins\woocommerce-square\includes\Sync\Manual_Synchronization.php on line 3522020-02-06T23:03:29+00:00 CRITICAL Uncaught Error: Call to a member function getIdMappings() on null in D:\INETPUB\handz-on\wp-content\plugins\woocommerce-square\includes\Sync\Manual_Synchronization.php:352
Stack trace:
#0 D:\INETPUB\handz-on\wp-content\plugins\woocommerce-square\includes\Sync\Stepped_Job.php(114): WooCommerce\Square\Sync\Manual_Synchronization->upsert_categories()
#1 D:\INETPUB\handz-on\wp-content\plugins\woocommerce-square\includes\Sync\Stepped_Job.php(55): WooCommerce\Square\Sync\Stepped_Job->do_next_step()
#2 D:\INETPUB\handz-on\wp-content\plugins\woocommerce-square\includes\Handlers\Background_Job.php(172): WooCommerce\Square\Sync\Stepped_Job->run()
#3 D:\INETPUB\handz-on\wp-content\plugins\woocommerce-square\includes\Handlers\Background_Job.php(123): WooCommerce\Square\Handlers\Background_Job->process_job()
#4 D:\INETPUB\handz-on\wp-content\plugins\woocommerce-square\vendor\skyverge\wc-plugin-framework\woocommerce\utilities\class-sv-wp-background-job-handler.php(167): WooCommerce\Square\Handlers\Background_Job->handle()
in D:\INETPUB\handz-on\wp-content\plugins\woocommerce-square\includes\Sync\Manual_Synchronization.php on line 3522020-02-06T23:32:06+00:00 CRITICAL Uncaught Error: Call to a member function getCursor() on null in D:\INETPUB\handz-on\wp-content\plugins\woocommerce-square\includes\Sync\Interval_Polling.php:261
Stack trace:
#0 D:\INETPUB\handz-on\wp-content\plugins\woocommerce-square\includes\Sync\Stepped_Job.php(114): WooCommerce\Square\Sync\Interval_Polling->update_inventory_counts()
#1 D:\INETPUB\handz-on\wp-content\plugins\woocommerce-square\includes\Sync\Stepped_Job.php(55): WooCommerce\Square\Sync\Stepped_Job->do_next_step()
#2 D:\INETPUB\handz-on\wp-content\plugins\woocommerce-square\includes\Handlers\Background_Job.php(172): WooCommerce\Square\Sync\Stepped_Job->run()
#3 D:\INETPUB\handz-on\wp-content\plugins\woocommerce-square\includes\Handlers\Background_Job.php(123): WooCommerce\Square\Handlers\Background_Job->process_job()
#4 D:\INETPUB\handz-on\wp-content\plugins\woocommerce-square\vendor\skyverge\wc-plugin-framework\woocommerce\utilities\class-sv-wp-background-job-handler.php(167): WooCommerce\Square\Handlers\Background_Job->handle()
#5 D:\INET in D:\INETPUB\handz-on\wp-content\plugins\woocommerce-square\includes\Sync\Interval_Polling.php on line 261i can confirm that test background processes are working successfully
WordPress environment
WordPress address (URL): https://www.handz-on.co.uk
Site address (URL): https://www.handz-on.co.uk
WooCommerce version: 3.9.2
WooCommerce REST API package: 1.0.7 D:\INETPUB\handz-on\wp-content\plugins\woocommerce\packages\woocommerce-rest-api
Log directory writable: D:\INETPUB\handz-on/wp-content/uploads/wc-logs/
WordPress version: 5.3.2
WordPress multisite: –
WordPress memory limit: 512 MB
WordPress debug mode: –
WordPress cron:
Language: en_GB
External object cache: –
Server environment
Server info: Microsoft-IIS/10.0
PHP version: 7.4.1
PHP post max size: 8 MB
PHP time limit: 6000
PHP max input vars: 4000
cURL version: 7.67.0, OpenSSL/1.1.1d
SUHOSIN installed: –
MySQL version: 8.0.17
Max upload size: 2 MB
Default timezone is UTC:
fsockopen/cURL:
SoapClient:
DOMDocument:
GZip:
Multibyte string:
Remote post:
Remote get:
Database
WooCommerce database version: 3.9.2
Database prefix handzon_
Total Database Size 76.67MB
Database Data Size 53.93MB
Database Index Size 22.74MB
handzon_woocommerce_sessions Data: 15.02MB + Index: 2.02MB + Engine InnoDB
handzon_woocommerce_api_keys Data: 0.02MB + Index: 0.03MB + Engine InnoDB
handzon_woocommerce_attribute_taxonomies Data: 0.02MB + Index: 0.02MB + Engine InnoDB
handzon_woocommerce_downloadable_product_permissions Data: 0.02MB + Index: 0.06MB + Engine InnoDB
handzon_woocommerce_order_items Data: 0.02MB + Index: 0.02MB + Engine InnoDB
handzon_woocommerce_order_itemmeta Data: 0.06MB + Index: 0.03MB + Engine InnoDB
handzon_woocommerce_tax_rates Data: 0.02MB + Index: 0.06MB + Engine InnoDB
handzon_woocommerce_tax_rate_locations Data: 0.02MB + Index: 0.03MB + Engine InnoDB
handzon_woocommerce_shipping_zones Data: 0.02MB + Index: 0.00MB + Engine InnoDB
handzon_woocommerce_shipping_zone_locations Data: 0.02MB + Index: 0.03MB + Engine InnoDB
handzon_woocommerce_shipping_zone_methods Data: 0.02MB + Index: 0.00MB + Engine InnoDB
handzon_woocommerce_payment_tokens Data: 0.02MB + Index: 0.02MB + Engine InnoDB
handzon_woocommerce_payment_tokenmeta Data: 0.02MB + Index: 0.03MB + Engine InnoDB
handzon_woocommerce_log Data: 0.02MB + Index: 0.02MB + Engine InnoDB
handzon_berocket_termmeta Data: 0.02MB + Index: 0.00MB + Engine InnoDB
handzon_commentmeta Data: 0.02MB + Index: 0.03MB + Engine InnoDB
handzon_comments Data: 2.02MB + Index: 1.92MB + Engine InnoDB
handzon_failed_jobs Data: 0.02MB + Index: 0.00MB + Engine InnoDB
handzon_links Data: 0.02MB + Index: 0.02MB + Engine InnoDB
handzon_mail_bank Data: 0.00MB + Index: 0.00MB + Engine MyISAM
handzon_mail_bank_logs Data: 4.10MB + Index: 0.01MB + Engine MyISAM
handzon_mail_bank_meta Data: 0.00MB + Index: 0.00MB + Engine MyISAM
handzon_mailchimp_carts Data: 0.02MB + Index: 0.00MB + Engine InnoDB
handzon_options Data: 8.22MB + Index: 4.05MB + Engine InnoDB
handzon_postmeta Data: 6.52MB + Index: 2.94MB + Engine InnoDB
handzon_posts Data: 4.50MB + Index: 1.13MB + Engine InnoDB
handzon_queue Data: 0.02MB + Index: 0.00MB + Engine InnoDB
handzon_sbi_instagram_feeds_posts Data: 0.02MB + Index: 0.02MB + Engine InnoDB
handzon_sbi_instagram_posts Data: 0.25MB + Index: 0.00MB + Engine InnoDB
handzon_term_relationships Data: 0.48MB + Index: 0.23MB + Engine InnoDB
handzon_term_taxonomy Data: 0.02MB + Index: 0.03MB + Engine InnoDB
handzon_termmeta Data: 0.02MB + Index: 0.03MB + Engine InnoDB
handzon_terms Data: 0.02MB + Index: 0.03MB + Engine InnoDB
handzon_usermeta Data: 1.52MB + Index: 0.38MB + Engine InnoDB
handzon_users Data: 0.06MB + Index: 0.05MB + Engine InnoDB
handzon_wc_admin_note_actions Data: 0.02MB + Index: 0.02MB + Engine InnoDB
handzon_wc_admin_notes Data: 0.02MB + Index: 0.00MB + Engine InnoDB
handzon_wc_category_lookup Data: 0.02MB + Index: 0.00MB + Engine InnoDB
handzon_wc_customer_lookup Data: 0.02MB + Index: 0.03MB + Engine InnoDB
handzon_wc_download_log Data: 0.02MB + Index: 0.03MB + Engine InnoDB
handzon_wc_order_coupon_lookup Data: 0.02MB + Index: 0.03MB + Engine InnoDB
handzon_wc_order_product_lookup Data: 0.02MB + Index: 0.06MB + Engine InnoDB
handzon_wc_order_stats Data: 0.02MB + Index: 0.05MB + Engine InnoDB
handzon_wc_order_tax_lookup Data: 0.02MB + Index: 0.03MB + Engine InnoDB
handzon_wc_product_meta_lookup Data: 0.06MB + Index: 0.09MB + Engine InnoDB
handzon_wc_tax_rate_classes Data: 0.02MB + Index: 0.02MB + Engine InnoDB
handzon_wc_webhooks Data: 0.02MB + Index: 0.02MB + Engine InnoDB
handzon_wdi_feeds Data: 0.02MB + Index: 0.02MB + Engine InnoDB
handzon_wdi_themes Data: 0.02MB + Index: 0.02MB + Engine InnoDB
handzon_woo_square_integration_deleted_data Data: 0.02MB + Index: 0.00MB + Engine InnoDB
handzon_woo_square_integration_logs Data: 0.02MB + Index: 0.00MB + Engine InnoDB
handzon_woocommerce_square_customers Data: 0.02MB + Index: 0.00MB + Engine InnoDB
handzon_wpml_mails Data: 0.02MB + Index: 0.00MB + Engine InnoDB
handzon_yith_wcwl Data: 4.02MB + Index: 1.28MB + Engine InnoDB
handzon_yith_wcwl_lists Data: 6.03MB + Index: 7.78MB + Engine InnoDB
handzon_yoast_seo_links Data: 0.02MB + Index: 0.02MB + Engine InnoDB
handzon_yoast_seo_meta Data: 0.27MB + Index: 0.00MB + Engine InnoDB
Post Type Counts
attachment 763
custom_css 1
customize_changeset 4
jetpack_migration 2
jp_img_sitemap 1
jp_sitemap 1
jp_sitemap_master 1
mc4wp-form 1
nav_menu_item 32
note 2
page 17
post 1
product 397
product_variation 112
revision 170
scheduled-action 4199
shop_coupon 3
shop_order 19
wdi_instagram 1
wpcf7_contact_form 4
wpforms 1
Security
Secure connection (HTTPS):
Hide errors from visitors
Active plugins (25)
WooSquare by Wpexpertsio – 3.5.1
Advanced Cron Manager by BracketSpace – 2.3.10
WooCommerce Advanced Product Labels by BeRocket – 1.1.16.3 – Not tested with the active version of WooCommerce
Akismet Anti-Spam by Automattic – 4.1.3
BackWPup by Inpsyde GmbH – 3.7.0
Contact Form 7 by Takayuki Miyoshi – 5.1.6
Custom Product Stickers for Woocommerce by starblank.com – 1.9.0 – Not tested with the active version of WooCommerce
Facebook for WooCommerce by Facebook – 1.9.15 – Not tested with the active version of WooCommerce
Google Analytics for WordPress by MonsterInsights by MonsterInsights – 7.10.4
Smash Balloon Instagram Feed by Smash Balloon – 2.2
Official Facebook pixel by Facebook – 1.8.0
One Click Demo Import by ProteusThemes – 2.5.2
User Notes by Cartpauj – 1.0.1
WooCommerce Blocks by Automattic – 2.5.13
WooCommerce Admin by WooCommerce – 0.26.1
WooCommerce Print Invoice & Delivery Note by Tyche Softwares – 4.5.3 – Not tested with the active version of WooCommerce
WooCommerce PayPal Checkout Gateway by WooCommerce – 1.6.20
WP WooCommerce Mailchimp by Saint Systems – 2.3.9
WooCommerce New Product Badge by jameskoster – 0.3.0 – Not tested with the active version of WooCommerce
WooCommerce Services by Automattic – 1.22.3 – 1.22.4 is available
WooCommerce by Automattic – 3.9.2
Yoast SEO by Team Yoast – 13.1
WP Dashboard Notes by Jeroen Sormani – 1.0.9
WP Mail SMTP Plugin by Mail Bank by Tech Banker – 4.0.10
YITH WooCommerce Wishlist by YITH – 3.0.6
Inactive plugins (2)
Jetpack by WordPress.com by Automattic – 8.2.3
WooCommerce Square by WooCommerce – 2.1.0
Settings
API enabled: –
Force SSL: –
Currency GBP (£)
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: –
WooCommerce pages
Shop base: Page ID is set, but the page does not exist
Basket: #6 – /basket/
Checkout: #7 – /checkout/
My account: #8 – /my-account/
Terms and conditions: #1827 – /terms-and-conditions/
Theme
Name: eCommerce Gem
Version: 2.1.1 – 2.1.4 is available
Author URL: https://www.prodesigns.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
Overrides ecommerce-gem/woocommerce/content-product.php version – is out of date. The core version is 3.6.0,
ecommerce-gem/woocommerce/global\wrapper-end.php version – is out of date. The core version is 3.3.0,
ecommerce-gem/woocommerce/global\wrapper-start.php version – is out of date. The core version is 3.3.0
Outdated templates: Learn how to update
Action Scheduler
Action Status Count Oldest Scheduled Date Newest Scheduled Date
Complete 4,188 2020-01-31 23:49:20 +0000 2020-03-02 23:14:22 +0000
Pending 6 2020-03-02 23:54:16 +0000 2020-03-09 15:08:04 +0000
Canceled 5 2020-02-26 23:59:54 +0000 2020-03-05 00:13:05 +0000
In-progress 0 – –
Failed 0 –Hi Mike. I’m having a similar issue that just started today.
WooToSquare temporarily crashed our website.
The reported error is below (I’ve replaced our domain name with “domain”).Fatal error: Uncaught Error: Class ‘finfo’ not found in /home/domain/public_html/wp-content/plugins/woosquare/_inc/WooToSquareSynchronizer.class.php:645 Stack trace: #0 /home/domain/public_html/wp-content/plugins/woosquare/_inc/WooToSquareSynchronizer.class.php(553): WooToSquareSynchronizer->uploadImage(‘9be8179c-3308-4…’, ‘/home/domain/…’, 1916) #1 /home/domain/public_html/wp-content/plugins/woosquare/woocommerce-square-integration.php(398): WooToSquareSynchronizer->addProduct(Object(WP_Post), ‘9be8179c-3308-4…’) #2 /home/domain/public_html/wp-includes/class-wp-hook.php(288): woo_square_add_edit_product(1916, Object(WP_Post), true) #3 /home/domain/public_html/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(NULL, Array) #4 /home/domain/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #5 /home/domain/public_html/wp-includes/post.php(4120): do_action(‘save_post’, 1916, Object(WP_Post), true) #6 /home/domain/public_html/wp-includes/post.php(4197): wp_insert_post(Array, fal in /home/domain/public_html/wp-content/plugins/woosquare/_inc/WooToSquareSynchronizer.class.php on line 645
There has been a critical error on your website. Please check your site admin email inbox for instructions.-=Al=-
User deleted. Incorrect plugin support forum.
-
This reply was modified 6 years, 3 months ago by
fitnessbuddies.
Hi @fitnessbuddies,
Based on on your error message, that is coming form a different Square plugin. Based on your last reply, looks like you have reached out to them, thanks! 🙂
@handzon, you initially mentioned:
Square not syncing with my products, and unable to manually sync them. unable to set location in the admin panel
To clarify, you were unable to set the business location here?
Link to image: https://d.pr/i/Nabu1DIf that is the case, then that would be why syncing is an issue. Location would need to be set first. Let’s make sure this is not a theme or plugin conflict with Square not letting you select the business location.
First, backing up your live site before any testing and updates is highly recommended. If you would prefer not to do testing on your live site, first make a back up of your site, then create a staging site using this plugin WP Staging. This creates a copy of your live site where you can make tests without affecting your live site. You can also use Health Check which deactivates plugins and switches to a default theme only in your admin login session, but does not affect your customer’s view.
Temporarily switch your theme to one of our default – Storefront or Twenty Nineteen, then deactivate all plugins except for two – WooCommerce and Square. If it shows correctly, then it’s a theme or plugin conflict. Reactivating each plugin one at a time, then see if the issue pops up again will tell us which plugin is conflicting.
Once you have a business location connected, please try to sync your products. If your products are on Square side, make sure that the . system of record is set to Square.
Hope that helps!
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.
-
This reply was modified 6 years, 3 months ago by
The topic ‘Square not syncing to woo’ is closed to new replies.