Critical fatal error – Unable to edit product descriptions in WP Admin panel
-
Hi Square Support,
This topic has been logged by a few other WooCommerce Square Gateway users but does not appear to be resolved. I am unable to edit the product description or short description in the WordPress Admin if the WooCommerce Square gateway is active.
I’m running WooCommerce for Square 2.0.8, and WooCommerce 3.7.0 on WordPress 5.3.2.
Below is a sample of the error I have copied from the Fatal Errors log. My own site reported this to me tonight, and when I disable the Square plugin I am able to edit products in the admin as normal.
2020-02-05T08:10:44+00:00 CRITICAL Argument 1 passed to WooCommerce\Square\Handlers\Products::format_product_error() must be an instance of WooCommerce\Square\Handlers\string, string given, called in /home/celesti1/public_html/wp-content/plugins/woocommerce-square/includes/Handlers/Products.php on line 265 and defined in /home/celesti1/public_html/wp-content/plugins/woocommerce-square/includes/Handlers/Products.php on line 700
Here is the System Status information below:
### WordPress Environment ### WordPress address (URL): https://www.celestialcloset.com Site address (URL): https://www.celestialcloset.com WC Version: 3.7.0 REST API Version: ? 1.0.2 Log Directory Writable: ? WP Version: 5.3.2 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ? Language: en_AU External object cache: – ### Server Environment ### Server Info: LiteSpeed PHP Version: 5.6.40 - We recommend using PHP version 7.2 or above for greater performance and security. How to update your PHP version PHP Post Max Size: 8 MB PHP Time Limit: 300 PHP Max Input Vars: 1000 cURL Version: 7.62.0 OpenSSL/1.0.2k SUHOSIN Installed: – MySQL Version: 5.6.45 Max Upload Size: 2 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 3.7.0 WC Database Prefix: wpfw_ MaxMind GeoIP Database: ? Total Database Size: 8.85MB Database Data Size: 8.03MB Database Index Size: 0.82MB wpfw_woocommerce_sessions: Data: 3.70MB + Index: 0.10MB + Engine MyISAM wpfw_woocommerce_api_keys: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpfw_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpfw_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpfw_woocommerce_order_items: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpfw_woocommerce_order_itemmeta: Data: 0.01MB + Index: 0.02MB + Engine MyISAM wpfw_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpfw_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpfw_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpfw_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpfw_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpfw_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpfw_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpfw_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp8p_commentmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp8p_comments: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp8p_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp8p_options: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp8p_postmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp8p_posts: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp8p_termmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp8p_terms: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp8p_term_relationships: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp8p_term_taxonomy: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp8p_usermeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp8p_users: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpfw_berocket_termmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpfw_commentmeta: Data: 0.01MB + Index: 0.02MB + Engine MyISAM wpfw_comments: Data: 0.07MB + Index: 0.02MB + Engine MyISAM wpfw_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpfw_loginizer_logs: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wpfw_options: Data: 2.15MB + Index: 0.08MB + Engine MyISAM wpfw_postmeta: Data: 1.01MB + Index: 0.24MB + Engine MyISAM wpfw_posts: Data: 0.39MB + Index: 0.09MB + Engine MyISAM wpfw_revslider_css: Data: 0.09MB + Index: 0.00MB + Engine MyISAM wpfw_revslider_layer_animations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpfw_revslider_navigations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpfw_revslider_sliders: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wpfw_revslider_slides: Data: 0.08MB + Index: 0.00MB + Engine MyISAM wpfw_revslider_static_slides: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpfw_sendlelogs: Data: 0.44MB + Index: 0.02MB + Engine MyISAM wpfw_termmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpfw_terms: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpfw_term_relationships: Data: 0.01MB + Index: 0.04MB + Engine MyISAM wpfw_term_taxonomy: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpfw_usermeta: Data: 0.02MB + Index: 0.02MB + Engine MyISAM wpfw_users: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpfw_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpfw_wc_product_meta_lookup: Data: 0.01MB + Index: 0.02MB + Engine MyISAM wpfw_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpfw_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpfw_woocommerce_square_customers: Data: 0.00MB + Index: 0.01MB + Engine MyISAM ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (22) ### Afterpay Gateway for WooCommerce: by Afterpay – 2.1.3 – Not tested with the active version of WooCommerce Akismet Anti-Spam: by Automattic – 4.1.3 Australia Post WooCommerce Extension: by WPRuby – 1.6.3 – Not tested with the active version of WooCommerce Coming Soon Page & Maintenance Mode by SeedProd: by SeedProd – 5.1.0 Contact Form 7: by Takayuki Miyoshi – 5.1.6 WooCommerce Coupon Generator: by Jeroen Sormani – 1.1.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 Jetpack by WordPress.com: by Automattic – 7.9.1 WPBakery Page Builder: by Michael M - WPBakery.com – 6.0.3 Kirki Customizer Framework: by Ari Stathopoulos (@aristath) – 3.0.45 Loginizer: by Raj Kothari – 1.4.3 Meta Box: by MetaBox.io – 5.2.6 Sendle Shipping Plugin: by Joovii – 2.2.23 – Not tested with the active version of WooCommerce Slider Revolution: by ThemePunch – 5.4.8.3 Sober Addons: by UIX Themes – 1.4.1 Soo Demo Importer: by SooThemes – 1.0 Soo Product Filter: by UIX Themes – 1.0.8 – Not tested with the active version of WooCommerce WooCommerce Variation Swatches: by ThemeAlien – 1.0.4 – Not tested with the active version of WooCommerce WooCommerce PayPal Checkout Gateway: by WooCommerce – 1.6.18 – Not tested with the active version of WooCommerce WooCommerce Services: by Automattic – 1.22.3 – Not tested with the active version of WooCommerce WooCommerce Square: by WooCommerce – 2.0.8 – Not tested with the active version of WooCommerce WooCommerce: by Automattic – 3.7.0 – 3.9.1 is available ### Inactive Plugins (0) ### ### Settings ### API Enabled: – Force SSL: – Currency: AUD ($) 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: #7 - /shop/ Cart: #2454 - /cart/ Checkout: #9 - /checkout/ My account: #10 - /my-account/ Terms and conditions: ? Page not set ### Theme ### Name: Sober Child Theme Version: 1.0.0 Author URL: https://uix.store Child Theme: ? Parent Theme Name: Sober Parent Theme Version: 2.1.6 Parent Theme Author URL: https://uix.store WooCommerce Support: ? ### Templates ### Overrides: sober/woocommerce/cart/cart-shipping.php sober/woocommerce/cart/cart.php version 3.5.0 is out of date. The core version is 3.7.0 sober/woocommerce/cart/mini-cart.php version 3.5.0 is out of date. The core version is 3.7.0 sober/woocommerce/checkout/form-checkout.php sober/woocommerce/checkout/form-coupon.php sober/woocommerce/checkout/form-login.php sober/woocommerce/checkout/review-order.php sober/woocommerce/global/form-login.php sober/woocommerce/global/quantity-input.php sober/woocommerce/global/wrapper-end.php sober/woocommerce/global/wrapper-start.php sober/woocommerce/loop/add-to-cart.php sober/woocommerce/loop/price.php sober/woocommerce/loop/result-count.php version 3.3.0 is out of date. The core version is 3.7.0 sober/woocommerce/myaccount/dashboard.php sober/woocommerce/myaccount/form-edit-account.php sober/woocommerce/myaccount/form-login.php sober/woocommerce/myaccount/my-address.php sober/woocommerce/notices/error.php sober/woocommerce/notices/success.php sober/woocommerce/order/form-tracking.php sober/woocommerce/single-product/add-to-cart/external.php sober/woocommerce/single-product/add-to-cart/grouped.php sober/woocommerce/single-product/add-to-cart/simple.php sober/woocommerce/single-product/add-to-cart/variable.php sober/woocommerce/single-product/add-to-cart/variation-add-to-cart-button.php sober/woocommerce/single-product/product-image.php sober/woocommerce/single-product/product-thumbnails.php sober/woocommerce/single-product/related.php sober/woocommerce/single-product/review-meta.php sober/woocommerce/single-product/tabs/additional-information.php sober/woocommerce/single-product/tabs/tabs.php sober/woocommerce/single-product/up-sells.php sober/woocommerce/single-product-reviews.php Outdated Templates: ? Learn how to update ### Square ### Environment: Production Tokenization Enabled: – Debug Mode: Save to Log ### Action Scheduler ### Complete: 8 Oldest: 2020-01-07 12:49:06 +1100 Newest: 2020-02-04 14:25:37 +1100 Pending: 1 Oldest: 2020-02-11 12:57:47 +1100 Newest: 2020-02-11 12:57:47 +1100 Canceled: 0 Oldest: – Newest: – In-progress: 0 Oldest: – Newest: – Failed: 0 Oldest: – Newest: –
- The topic ‘Critical fatal error – Unable to edit product descriptions in WP Admin panel’ is closed to new replies.