CRITICAL Uncaught Error
-
My woocomer ce square is not suncing products, it is also not showing me my locations
When I disconnect the plugin and reconnected it, when I ran an product import I got this error:
2020-05-16T17:08:57+00:00 CRITICAL Uncaught Error: Call to a member function getRelatedObjects() on null in /home/lastingbrass/public_html/wp-content/plugins/woocommerce-square/includes/Sync/Product_Import.php:97
Stack trace:
#0 /home/lastingbrass/public_html/wp-content/plugins/woocommerce-square/includes/Sync/Stepped_Job.php(114): WooCommerce\Square\Sync\Product_Import->import_products()
#1 /home/lastingbrass/public_html/wp-content/plugins/woocommerce-square/includes/Sync/Stepped_Job.php(55): WooCommerce\Square\Sync\Stepped_Job->do_next_step()
#2 /home/lastingbrass/public_html/wp-content/plugins/woocommerce-square/includes/Handlers/Background_Job.php(172): WooCommerce\Square\Sync\Stepped_Job->run()
#3 /home/lastingbrass/public_html/wp-content/plugins/woocommerce-square/includes/Handlers/Background_Job.php(123): WooCommerce\Square\Handlers\Background_Job->process_job(Object(WooCommerce\Square\Sync\Product_Import))
#4 /home/lastingbrass/public_html/wp-content/plugins/woocommerce-square/vendor/skyverge/wc-plugin-framework/woocommerce/utilities/c in /home/lastingbrass/public_html/wp-content/plugins/woocommerce-square/includes/Sync/Product_Import.php on line 97Looking for some help to get this connected and running again..
System Status Report
### WordPress Environment ### WordPress address (URL): https://lastingbrass.com Site address (URL): https://lastingbrass.com WC Version: 4.1.0 REST API Version: ? 1.0.7 WC Blocks Version: ? 2.5.16 Action Scheduler Version: ? 3.1.5 WC Admin Version: ? 1.1.1 Log Directory Writable: ? WP Version: 5.4.1 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ? Language: en_US External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.3.17 PHP Post Max Size: 256 MB PHP Time Limit: 300 PHP Max Input Vars: 1000 cURL Version: 7.70.0 OpenSSL/1.1.1g SUHOSIN Installed: – MySQL Version: 5.7.30 Max Upload Size: 256 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? Your server does not have the SoapClient class enabled - some gateway plugins which use SOAP may not work as expected. DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 4.1.0 WC Database Prefix: wp_ Total Database Size: 39.63MB Database Data Size: 35.20MB Database Index Size: 4.43MB wp_woocommerce_sessions: Data: 0.21MB + Index: 0.01MB + Engine MyISAM wp_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_order_items: Data: 0.07MB + Index: 0.04MB + Engine MyISAM wp_woocommerce_order_itemmeta: Data: 0.56MB + Index: 0.42MB + Engine MyISAM wp_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_actionscheduler_actions: Data: 0.49MB + Index: 0.17MB + Engine MyISAM wp_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_actionscheduler_logs: Data: 0.27MB + Index: 0.18MB + Engine MyISAM wp_commentmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_comments: Data: 0.34MB + Index: 0.18MB + Engine MyISAM wp_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_mec_dates: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_mec_events: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_ms_snippets: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_options: Data: 18.07MB + Index: 0.26MB + Engine MyISAM wp_postmeta: Data: 3.04MB + Index: 1.19MB + Engine MyISAM wp_posts: Data: 3.15MB + Index: 0.24MB + Engine MyISAM wp_smush_dir_images: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_snippets: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_termmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_terms: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_term_relationships: Data: 0.02MB + Index: 0.04MB + Engine MyISAM wp_term_taxonomy: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_usermeta: Data: 0.20MB + Index: 0.13MB + Engine MyISAM wp_users: Data: 0.01MB + Index: 0.02MB + Engine MyISAM wp_wc_admin_notes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_admin_note_actions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_category_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine MyISAM wp_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_order_product_lookup: Data: 0.08MB + Index: 0.08MB + Engine MyISAM wp_wc_order_stats: Data: 0.03MB + Index: 0.03MB + Engine MyISAM wp_wc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_product_meta_lookup: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wfblockediplog: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_wfblocks7: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_wfconfig: Data: 2.14MB + Index: 0.02MB + Engine MyISAM wp_wfcrawlers: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wffilechanges: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wffilemods: Data: 2.32MB + Index: 0.47MB + Engine MyISAM wp_wfhits: Data: 2.14MB + Index: 0.15MB + Engine MyISAM wp_wfhoover: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wfissues: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_wfknownfilelist: Data: 1.23MB + Index: 0.14MB + Engine MyISAM wp_wflivetraffichuman: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wflocs: Data: 0.02MB + Index: 0.01MB + Engine MyISAM wp_wflogins: Data: 0.33MB + Index: 0.08MB + Engine MyISAM 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.00MB + Index: 0.00MB + Engine MyISAM wp_wfpendingissues: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wfreversecache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wfsnipcache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wfstatus: Data: 0.13MB + Index: 0.05MB + Engine MyISAM wp_wftrafficrates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_square_customers: Data: 0.21MB + Index: 0.27MB + Engine MyISAM ### Post Type Counts ### attachment: 254 br_popups: 1 custom_css: 1 et_pb_layout: 9 mec-events: 41 mec_calendars: 11 nav_menu_item: 14 page: 18 popup: 1 popup_theme: 6 post: 3 product: 37 product_variation: 39 project: 13 revision: 457 shop_coupon: 2 shop_order: 417 wafs: 1 wpgmapembed: 1 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (6) ### Jetpack by WordPress.com: by Automattic – 8.5 WooCommerce Advanced Free Shipping: by Jeroen Sormani – 1.1.4 – Installed version not tested with active version of WooCommerce 4.1.0 WooCommerce Services: by Automattic – 1.23.0 – Installed version not tested with active version of WooCommerce 4.1.0 WooCommerce Square: by WooCommerce – 2.1.5 WooCommerce: by Automattic – 4.1.0 WooCustomizer: by Kaira – 1.1.8 ### Inactive Plugins (5) ### Code Snippets: by Code Snippets Pro – 2.14.0 Google Map Embed: by srmilon.info – 1.6.5 Modern Events Calendar Lite: by Webnus – 5.4.5 Wordfence Security: by Wordfence – 7.4.7 WP Fastest Cache: by Emre Vona – 0.9.0.6 ### 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: #410 - /shop/ Cart: #411 - /cart/ Checkout: #412 - /checkout/ My account: #413 - /my-account/ Terms and conditions: ? Page not set ### Theme ### Name: Divi Version: 4.4.6 Author URL: https://www.elegantthemes.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: – ### Square ### Environment: Production Tokenization Enabled: – Debug Mode: Off ### Action Scheduler ### Complete: 1,127 Oldest: 2020-04-15 17:33:57 +0000 Newest: 2020-05-16 17:13:14 +0000 Pending: 2 Oldest: 2020-05-16 18:11:25 +0000 Newest: 2020-05-23 17:11:24 +0000
- The topic ‘CRITICAL Uncaught Error’ is closed to new replies.