PHP Fatal Error
-
[18-Nov-2019 23:18:12 UTC] PHP Fatal error: Uncaught Error: Call to a member function is_debug_enabled() on null in .../wp-content/plugins/woocommerce-square/includes/Handlers/Connection.php:244 Stack trace: #0 .../wp-content/plugins/woocommerce-square/includes/API.php(812): WooCommerce\Square\Handlers\Connection->refresh_connection() #1 .../wp-content/plugins/woocommerce-square/includes/API.php(776): WooCommerce\Square\API->do_post_parse_response_validation() #2 .../wp-content/plugins/woocommerce-square/includes/API.php(743): WooCommerce\Square\API->handle_response(NULL) #3 .../wp-content/plugins/woocommerce-square/includes/API.php(607): WooCommerce\Square\API->perform_request(Object(WooCommerce\Square\API\Requests\Locations)) #4 .../wp-content/plugins/woocommerce-square/includes/Settings.php(612): WooCommerce\Square\API->get_locations() #5 .../wp-content/plugins/woocommerce-square/incl in .../wp-content/plugins/woocommerce-square/includes/Handlers/Connection.php on line 244
The above from debug log. Activating the plugin causes fatal error and site breaks. I have a clone of the site where it appears to work fine, so it’s not a plugin or theme conflict.
The page I need help with: [log in to see the link]
-
Hi @susanlangenes,
Between the site where this breaks and the cloned site, could you send us the system status reports from each of those?
You can find it via WooCommerce > Status.
Select “Get system report” and then “Copy for support”.? Once you’ve done that, paste them here in your response.Thanks!
Of course! Here is the report for the site with breakage:
### WordPress Environment ### WordPress address (URL): https://www.peakextracts.com Site address (URL): https://www.peakextracts.com WC Version: 3.8.0 REST API Version: ? 1.0.2 Log Directory Writable: ? WP Version: 5.3 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.11 PHP Post Max Size: 260 MB PHP Time Limit: 30 PHP Max Input Vars: 1000 cURL Version: 7.66.0 OpenSSL/1.0.2t SUHOSIN Installed: – MySQL Version: 5.7.23-23 Max Upload Size: 256 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 3.8.0 WC Database Prefix: wp_sinc_ MaxMind GeoIP Database: ? Total Database Size: 7.05MB Database Data Size: 5.43MB Database Index Size: 1.62MB wp_sinc_woocommerce_sessions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_woocommerce_order_items: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_woocommerce_order_itemmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_hknb_commentmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_hknb_comments: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_hknb_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_hknb_new_royalsliders: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_hknb_options: Data: 0.67MB + Index: 0.03MB + Engine MyISAM wp_hknb_postmeta: Data: 0.21MB + Index: 0.08MB + Engine MyISAM wp_hknb_posts: Data: 0.10MB + Index: 0.03MB + Engine MyISAM wp_hknb_rg_form: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_hknb_rg_form_meta: Data: 0.03MB + Index: 0.00MB + Engine MyISAM wp_hknb_rg_form_view: Data: 0.05MB + Index: 0.03MB + Engine MyISAM wp_hknb_rg_incomplete_submissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_hknb_rg_lead: Data: 0.03MB + Index: 0.01MB + Engine MyISAM wp_hknb_rg_lead_detail: Data: 0.07MB + Index: 0.09MB + Engine MyISAM wp_hknb_rg_lead_detail_long: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_hknb_rg_lead_meta: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_hknb_rg_lead_notes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_hknb_termmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_hknb_terms: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_hknb_term_relationships: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_hknb_term_taxonomy: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_hknb_usermeta: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_hknb_users: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_sinc_commentmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_comments: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_sinc_gf_draft_submissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_gf_entry: Data: 0.18MB + Index: 0.02MB + Engine MyISAM wp_sinc_gf_entry_meta: Data: 0.51MB + Index: 0.49MB + Engine MyISAM wp_sinc_gf_entry_notes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_gf_form: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_gf_form_meta: Data: 0.03MB + Index: 0.00MB + Engine MyISAM wp_sinc_gf_form_view: Data: 0.07MB + Index: 0.04MB + Engine MyISAM wp_sinc_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_options: Data: 1.07MB + Index: 0.06MB + Engine MyISAM wp_sinc_postmeta: Data: 1.00MB + Index: 0.32MB + Engine MyISAM wp_sinc_posts: Data: 0.15MB + Index: 0.07MB + Engine MyISAM wp_sinc_rg_form: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_rg_form_meta: Data: 0.03MB + Index: 0.00MB + Engine MyISAM wp_sinc_rg_form_view: Data: 0.04MB + Index: 0.02MB + Engine MyISAM wp_sinc_rg_incomplete_submissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_rg_lead: Data: 0.07MB + Index: 0.01MB + Engine MyISAM wp_sinc_rg_lead_detail: Data: 0.19MB + Index: 0.16MB + Engine MyISAM wp_sinc_rg_lead_detail_long: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_rg_lead_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_rg_lead_notes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_termmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_sinc_terms: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_sinc_term_relationships: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_term_taxonomy: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_usermeta: Data: 0.01MB + Index: 0.02MB + Engine MyISAM wp_sinc_users: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_sinc_wc_admin_notes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_wc_admin_note_actions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_wc_category_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_wc_customer_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_wc_order_product_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_wc_order_stats: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_wc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_wc_product_meta_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_sinc_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_sinc_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_woocommerce_square_customers: Data: 0.02MB + Index: 0.02MB + Engine MyISAM wp_sinc_yoast_seo_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_yoast_seo_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_yop2_pollmeta: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wp_sinc_yop2_polls: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_yop2_poll_answermeta: Data: 0.05MB + Index: 0.00MB + Engine MyISAM wp_sinc_yop2_poll_answers: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_yop2_poll_bans: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_yop2_poll_custom_fields: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_yop2_poll_logs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_yop2_poll_questionmeta: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wp_sinc_yop2_poll_questions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_yop2_poll_results: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_yop2_poll_templates: Data: 0.80MB + Index: 0.00MB + Engine MyISAM wp_sinc_yop2_poll_votes_custom_fields: Data: 0.00MB + Index: 0.00MB + Engine MyISAM ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (20) ### Advanced Custom Fields: Image Crop Add-on: by Anders Thorborg – 1.4.12 Advanced Custom Fields PRO: by Elliot Condon – 5.8.7 Age Verify: by Chase Wiseman – 0.3.0 Akismet Anti-Spam: by Automattic – 4.1.3 Contact Form 7: by Takayuki Miyoshi – 5.1.5 Facebook for WooCommerce: by Facebook – 1.9.15 – Not tested with the active version of WooCommerce Flamingo: by Takayuki Miyoshi – 2.1 Jetpack by WordPress.com: by Automattic – 7.9 Retailer Finder: by Arthur Parker – 1.0.0 Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 3.1.2 TinyMCE Advanced: by Andrew Ozz – 5.3.0 WooCommerce Admin: by WooCommerce – 0.22.0 WooCommerce Services: by Automattic – 1.22.1 WooCommerce UPS Shipping: by WooCommerce – 3.2.18 WooCommerce: by Automattic – 3.8.0 WordPress Importer: by wordpressdotorg – 0.6.4 Yoast SEO: by Team Yoast – 12.5 WP Clone by WP Academy: by WP Academy – 2.2.9 WP Font Awesome Share Icons: by Spyros Vlachopoulos – 1.1.1 ### Inactive Plugins (8) ### Alpine PhotoTile for Instagram: by the Alpine Press – 1.2.7.7 Gravity Forms: by rocketgenius – 2.3.6 Gravity Forms Polls Add-On: by Rocketgenius – 3.1 Hello Dolly: by Matt Mullenweg – 1.7.2 Search Regex: by John Godley – 1.4.16 SG Optimizer: by SiteGround – 5.3.7 WooCommerce Square: by WooCommerce – 2.0.7 WP Ultimate CSV Importer: by Smackcoders – 6.0.4 ### Dropin Plugins (1) ### install.php: install.php ### Must Use Plugins (2) ### Endurance Browser Cache: by Mike Hansen – 0.4 Endurance Page Cache: by Mike Hansen – 1.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: ? Page visibility should be public Cart: ? Page visibility should be public Checkout: ? Page visibility should be public My account: ? Page visibility should be public Terms and conditions: ? Page not set ### Theme ### Name: Peak 2018 Version: 1.0.0 Author URL: https://collagecreative.net 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: ? Not declared ### Templates ### Overrides: – ### Action Scheduler ### Complete: 20 Oldest: 2019-10-22 19:27:14 -0700 Newest: 2019-11-18 22:21:59 -0800 Pending: 1 Oldest: 2019-11-18 23:21:59 -0800 Newest: 2019-11-18 23:21:59 -0800 Canceled: 2 Oldest: 2019-11-12 18:35:04 -0800 Newest: 2019-11-12 18:35:05 -0800 In-progress: 0 Oldest: – Newest: – Failed: 0 Oldest: – Newest: –
And here is the report for the site where there is no breakage:
### WordPress Environment ### WordPress address (URL): https://newsite.peakextracts.com Site address (URL): https://newsite.peakextracts.com WC Version: 3.8.0 REST API Version: ? 1.0.2 Log Directory Writable: ? WP Version: 5.3 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.11 PHP Post Max Size: 260 MB PHP Time Limit: 300 PHP Max Input Vars: 1000 cURL Version: 7.66.0 OpenSSL/1.0.2t SUHOSIN Installed: – MySQL Version: 5.7.23-23 Max Upload Size: 256 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 3.8.0 WC Database Prefix: wp_sinc_ MaxMind GeoIP Database: ? Total Database Size: 4.98MB Database Data Size: 4.51MB Database Index Size: 0.47MB wp_sinc_woocommerce_sessions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_woocommerce_order_items: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_woocommerce_order_itemmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM smackuci_events: Data: 0.00MB + Index: 0.00MB + Engine MyISAM smackuci_history: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_dbar_commentmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_dbar_comments: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_dbar_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_dbar_options: Data: 1.34MB + Index: 0.02MB + Engine MyISAM wp_dbar_postmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_dbar_posts: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_dbar_termmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_dbar_terms: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_dbar_term_relationships: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_dbar_term_taxonomy: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_dbar_usermeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_dbar_users: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_sinc_commentmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_comments: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_sinc_import_detail_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_sinc_import_log_detail: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_sinc_import_postID: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_mailchimp_carts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_mailchimp_jobs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_options: Data: 1.86MB + Index: 0.06MB + Engine MyISAM wp_sinc_postmeta: Data: 0.69MB + Index: 0.23MB + Engine MyISAM wp_sinc_posts: Data: 0.11MB + Index: 0.05MB + Engine MyISAM wp_sinc_rg_form: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_rg_form_meta: Data: 0.03MB + Index: 0.00MB + Engine MyISAM wp_sinc_rg_form_view: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_rg_incomplete_submissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_rg_lead: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_rg_lead_detail: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_rg_lead_detail_long: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_rg_lead_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_rg_lead_notes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_smackcsv_file_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_sinc_termmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_terms: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_sinc_term_relationships: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_term_taxonomy: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_ultimate_csv_importer_acf_fields: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_sinc_ultimate_csv_importer_mappingtemplate: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_sinc_ultimate_csv_importer_media: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_sinc_ultimate_csv_importer_shortcode_manager: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_sinc_usermeta: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_sinc_users: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_sinc_wc_admin_notes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_wc_admin_note_actions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_wc_category_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_wc_customer_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_wc_order_product_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_wc_order_stats: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_wc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_wc_product_meta_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_sinc_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_woocommerce_square_customers: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_yop2_pollmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_yop2_polls: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_yop2_poll_answermeta: Data: 0.04MB + Index: 0.00MB + Engine MyISAM wp_sinc_yop2_poll_answers: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_yop2_poll_bans: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_yop2_poll_custom_fields: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_yop2_poll_logs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_yop2_poll_questionmeta: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wp_sinc_yop2_poll_questions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_yop2_poll_results: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_sinc_yop2_poll_templates: Data: 0.27MB + Index: 0.00MB + Engine MyISAM wp_sinc_yop2_poll_votes_custom_fields: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_ultimate_csv_importer_log_values: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wp_ultimate_csv_importer_manageshortcodes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_ultimate_csv_importer_shortcodes_statusrel: Data: 0.00MB + Index: 0.00MB + Engine MyISAM ### Security ### Secure connection (HTTPS): ? Your store is not using HTTPS. Learn more about HTTPS and SSL Certificates. Hide errors from visitors: ? ### Active Plugins (16) ### Advanced Custom Fields PRO: by Elliot Condon – 5.8.7 Age Verify: by Chase Wiseman – 0.3.0 Akismet Anti-Spam: by Automattic – 4.1.3 Facebook for WooCommerce: by Facebook – 1.9.15 – Not tested with the active version of WooCommerce Jetpack by WordPress.com: by Automattic – 7.9 Mailchimp for WooCommerce: by Mailchimp – 2.3 – Not tested with the active version of WooCommerce Retailer Finder: by Arthur Parker – 1.0.0 Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 3.1.2 TinyMCE Advanced: by Andrew Ozz – 5.3.0 WooCommerce Admin: by WooCommerce – 0.22.0 WooCommerce Services: by Automattic – 1.22.1 WooCommerce Square: by WooCommerce – 2.0.7 WooCommerce: by Automattic – 3.8.0 WordPress Importer: by wordpressdotorg – 0.6.4 WP Clone by WP Academy: by WP Academy – 2.2.9 WP Font Awesome Share Icons: by Spyros Vlachopoulos – 1.1.1 ### Inactive Plugins (3) ### Gravity Forms: by rocketgenius – 2.2.5 Gravity Forms Polls Add-On: by Rocketgenius – 3.1 WP Ultimate CSV Importer: by Smackcoders – 6.0.4 ### Must Use Plugins (2) ### Endurance Browser Cache: by Mike Hansen – 0.4 Endurance Page Cache: by Mike Hansen – 1.5 ### 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: #530 - /shop/ Cart: #531 - /cart/ Checkout: #532 - /checkout/ My account: #533 - /my-account/ Terms and conditions: ? Page not set ### Theme ### Name: Peak 2018 Version: 1.0.0 Author URL: https://collagecreative.net 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: ? Not declared ### Templates ### Overrides: – ### Action Scheduler ### Complete: 6 Oldest: 2019-11-18 14:50:25 -0800 Newest: 2019-11-18 22:31:17 -0800 Pending: 1 Oldest: 2019-11-18 23:31:17 -0800 Newest: 2019-11-18 23:31:17 -0800 Canceled: 0 Oldest: – Newest: – In-progress: 0 Oldest: – Newest: – Failed: 0 Oldest: – Newest: –
Hi @susanlangenes,
Thank you very much for those system status reports, alongside the fatal error you first posted I think I have a few suggestions to try.
From what I see from the site that has breakage, paired with the error, we should try first increasing the PHP Time Limit and maybe also disabling
WP_DEBUG
In the Connection.php file around line 244 there are mentions of a timeout set to 45, while yours is timing out earlier than that at 30 seconds. In general I would match your working site with the PHP Time Limit set to 300.
The fatal error also isn’t super clear, but it mentions
is_debug_enabled()
so perhaps disabling debug mode on the site will help as well.Let’s give those two items a shot and see if you can activate the plugin. If not we’ll keep trying from there!
PHP max execution time is set to 300 now, and I set debug to false; the fatal error still occurs and I’m seeing the same lines in the debug.log (after turning debug back on).
Any other ideas?
- This reply was modified 5 years ago by Susan Langenes.
Hi @susanlangenes,
Darn, thank you for trying that though. That was my best guess from my limited PHP knowledge. At the moment this is logged as an issue for our dev team to look into. It’s labeled high priority so I suspect we’ll be able to figure this out sooner than later. You can follow along with the progress if you’d like here too. ??
https://github.com/woocommerce/woocommerce-square/issues/328
I hope we have some good news for the issue soon!
Hey @ryanr14 I’m glad to hear it’s logged as an issue. I get a 404 on that github link, though. Private repo?
Hi @susanlangenes,
So sorry, I didn’t realize our Square repo was private. I assumed since this was a free plugin open sourced on www.remarpro.com it was a public repo.
Either way, the issue is logged and will be worked on ASAP. ??
Awesome. Thank you.
You are most welcome. In the meantime do you know if there were any previous version of Stripe that worked on the site, without causing fatal errors at the least? Perhaps you can downgrade the plugin to a previous version to continue using it.
I tested with 2.0.2, 2.0.0, and 1.0.38; 1.0.38 does not crash the site. It appears that everything after that does crash it.
- This reply was modified 5 years ago by Susan Langenes.
If it helps any, with 1.0.38 installed, this shows up after add to cart button is clicked:
Error found in: /home3/peakextr/public_html/wp-content/plugins/woocommerce/includes/libraries/class-wc-eval-math.php, nfx, 123
Hi @susanlangenes,
That issue itself there likely isn’t related to Square, at least it shouldn’t be doing anything related to the add to cart button.
I found one product on the site (https://newsite.peakextracts.com) and didn’t have issues just now with the add to cart button on the shop page or single product page. Where did you see this error, was it on the front end or in error logs?
Hey @ryanr14 actually that’s on the regular site, not the newsite subdomain. Single product page, after add to cart button is clicked.
Do you need a link? This isn’t live so I’m hesitant to post..
Hi @susanlangenes,
Hmm, interesting. If you feel better emailing us the link to the site having this issue that is totally fine. Send it to us via [email protected] and let us know here what the subject is, we’ll find it from there and see what may be going on.
- The topic ‘PHP Fatal Error’ is closed to new replies.