Title: PHP errors with v1.7.4
Last modified: October 16, 2024

---

# PHP errors with v1.7.4

 *  [remedycocktailcompany](https://wordpress.org/support/users/remedycocktailcompany/)
 * (@remedycocktailcompany)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/php-errors-with-v1-7-4/)
 * After some investigation, it appears that the recent update to the Faire for 
   WooCommerce plugin from v1.7.3 -> v1.7.4 has resulted in errors which are manifesting
   on the front end by users being presented the following message:
   `There was an
   error processing your order. Please check for any charges in your payment method
   and review your order history before placing the order again.`
 * In the apache2 error log, I see the following corresponding PHP errors:
   `PHP 
   message: PHP Warning: Attempt to read property "settings" on null in /var/www/
   html/wp-content/plugins/faire-for-woocommerce/src/api/drivers/class-logging-driver.
   php on line 109; PHP message: PHP Fatal error: Uncaught TypeError: array_intersect_key():
   Argument #1 ($array) must be of type array, null given in /var/www/html/wp-content/
   plugins/faire-for-woocommerce/src/api/drivers/class-logging-driver.php:112\nStack
   trace:\n#0 /var/www/html/wp-content/plugins/faire-for-woocommerce/src/api/drivers/
   class-logging-driver.php(112): array_intersect_key()\n#1 /var/www/html/wp-content/
   plugins/faire-for-woocommerce/src/api/drivers/class-logging-driver.php(63): Faire\
   Wc\Api\Drivers\Logging_Driver->log_settings()\n#2 /var/www/html/wp-content/plugins/
   faire-for-woocommerce/src/api/drivers/class-json-api-driver.php(88): Faire\Wc\
   Api\Drivers\Logging_Driver->send()\n#3 /var/www/html/wp-content/plugins/faire-
   for-woocommerce/src/api/client/class-api-client.php(262): Faire\Wc\Api\Drivers\
   Json_Api_Driver->send()\n#4 /var/www/html/wp-content/plugins/faire-for-woocommerce/
   src/api/client/class-api-client.php(162): Faire\Wc\Api\Client\Api_Client->send_request()\
   n#5 /var/www/html/wp-content/plugins/faire-f…', referer: https://www.[REDACTED].
   com/checkout/`
 * These errors only started after the upgrade to 1.7.4 and no other plugins have
   changed in the interim.
   Here’s the output from the WooCommerce System status 
   report:
 * System Status Report
 *     ```wp-block-code
       ### WordPress Environment ###
   
       WordPress address (URL): [Redacted]
       Site address (URL): [Redacted]
       WC Version: 9.3.3
       Legacy REST API Package Version: The Legacy REST API plugin is not installed on this site.
       Action Scheduler Version: ✔ 3.8.1
       Log Directory Writable: ✔
       WP Version: 6.6.2
       WP Multisite: –
       WP Memory Limit: 256 MB
       WP Debug Mode: –
       WP Cron: ✔
       Language: en_US
       External object cache: –
   
       ### Server Environment ###
   
       Server Info: Apache/2.4.41 (Ubuntu)
       PHP Version: 8.2.23
       PHP Post Max Size: 8 MB
       PHP Time Limit: 30
       PHP Max Input Vars: 1000
       cURL Version: 7.68.0
       OpenSSL/1.1.1f
   
       SUHOSIN Installed: –
       MySQL Version: 8.0.39
       Max Upload Size: 8 MB
       Default Timezone is UTC: ✔
       fsockopen/cURL: ✔
       SoapClient: ✔
       DOMDocument: ✔
       GZip: ✔
       Multibyte String: ✔
       Remote Post: ✔
       Remote Get: ✔
   
       ### Database ###
   
       [REDACTED]
   
       ### Post Type Counts ###
   
       acf-field: 9
       acf-field-group: 2
       acf-post-type: 1
       acf-taxonomy: 3
       attachment: 324
       cs_footer: 1
       cs_header: 2
       cs_layout_archive: 3
       cs_layout_archive_wc: 3
       cs_layout_single: 1
       cs_layout_single_wc: 2
       cs_template: 4
       custom_css: 1
       flamingo_contact: 168
       flamingo_inbound: 120
       nav_menu_item: 20
       order_form: 1
       page: 30
       post: 5
       product: 44
       product_variation: 9
       recipe: 1
       recipes: 153
       revision: 424
       seedprod: 2
       shipping_package: 3
       shop_coupon: 14
       shop_order: 3693
       shop_order_refund: 18
       wafs: 2
       wp_global_styles: 2
       wp_navigation: 1
       wp_template: 2
       wpforms: 8
   
       ### Security ###
   
       Secure connection (HTTPS): ✔
       Hide errors from visitors: ✔
   
       ### Active Plugins (33) ###
   
       Advanced Custom Fields PRO: by WP Engine – 6.3.8
       AffiliateWP: by AffiliateWP – 2.27.1
       The SEO Framework: by The SEO Framework Team – 5.0.6
       Better Search Replace: by WP Engine – 1.4.7
       Admin Columns: by AdminColumns.com – 4.7.7
       GTM4WP - A Google Tag Manager (GTM) plugin for WordPress: by Thomas Geiger – 1.20.2
       Enable Media Replace: by ShortPixel – 4.1.5
       Facebook for WooCommerce: by Facebook – 3.2.10
       Health Check & Troubleshooting: by The WordPress.org community – 1.7.1
       Instant Images: by Darren Cooney – 6.1.2
       Jetpack: by Automattic – 13.9.1
       Custom 404: by Themeco – 2.0.6
       White Label: by Themeco – 2.0.6
       Converter for Media: by matt plugins - Optimize images by convert WebP & AVIF – 6.1.1
       Facebook Sync Issue Fix: by William Whispell – 1.0
       WooCommerce.com Update Manager: by Automattic – 1.0.3
       WooCommerce Gift Cards: by Woo – 2.0.4
       WooPayments: by WooCommerce – 8.3.0
       PDF Invoices & Packing Slips for WooCommerce: by WP Overnight – 3.8.8
       Brevo - WooCommerce Email Marketing: by Brevo – 4.0.30
       WooCommerce Shipping & Tax: by WooCommerce – 2.8.2
       WooCommerce UPS Shipping: by WooCommerce – 3.7.1
       WooCommerce USPS Shipping: by WooCommerce – 5.0.0
       WooCommerce Wholesale Lead Capture: by Rymera Web Co – 1.17.8
       WooCommerce Wholesale Prices Premium: by Rymera Web Co – 2.0.2
       WooCommerce Wholesale Prices: by Rymera Web Co – 2.2.0.2
       WooCommerce: by Automattic – 9.3.3
       Wordfence Security: by Wordfence – 7.11.7
       WP Mail Logging: by WP Mail Logging Team – 1.13.1
       WP Mail SMTP: by WP Mail SMTP – 4.1.1
       WP Super Cache: by Automattic – 1.12.4
       WPForms Brevo: by WPForms – 1.3.0
       WPForms: by WPForms – 1.9.1.3
   
       ### Inactive Plugins (4) ###
   
       Advanced Coupons for WooCommerce Free: by Rymera Web Co – 4.6.3.1
       Advanced Custom Fields: by WP Engine – 6.3.9
       Faire for WooCommerce: by Faire – 1.7.4
       WooCommerce Wholesale Order Form: by Rymera Web Co – 3.0
   
       ### Dropin Plugins () ###
   
       advanced-cache.php: advanced-cache.php
   
       ### Must Use Plugins (1) ###
   
       Health Check Troubleshooting Mode: by  – 1.9.1
   
       ### Settings ###
   
       Legacy API Enabled: –
       Force SSL: –
       Currency: USD ($)
       Currency Position: left
       Thousand Separator: ,
       Decimal Separator: .
       Number of Decimals: 2
       Taxonomies: Product Types: bundle (bundle)
       external (external)
       grouped (grouped)
       simple (simple)
       subscription (subscription)
       variable (variable)
       variable subscription (variable-subscription)
   
       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: ✔
       Enforce Approved Product Download Directories: –
       HPOS feature enabled: ✔
       Order datastore: Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore
       HPOS data sync enabled: ✔
   
       ### Logging ###
   
       Enabled: ✔
       Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2
       Retention period: 30 days
       Level threshold: –
       Log directory size: 20 MB
   
       ### WC Pages ###
   
       Shop base: #362 - /shop/
       Cart: #323 - /cart/ -  Contains the [woocommerce_cart] shortcode
       Checkout: #324 - /checkout/ -  Contains the [woocommerce_checkout] shortcode
       My account: #325 - /my-account/
       Terms and conditions: #347 - /terms-of-service/
   
       ### Theme ###
   
       Name: remedy
       Version: 1.0.0
       Author URL: https://remedycocktailcompany.com/
       Child Theme: ✔
       Parent Theme Name: Pro
       Parent Theme Version: 6.5.9
       Parent Theme Author URL: https://theme.co
       WooCommerce Support: ✔
   
       ### Templates ###
   
       Overrides: remedy/woocommerce/emails/admin-new-order.php
   
       ### WooPayments ###
   
       Version: 8.3.0
       Connected to WPCOM: Yes
       WPCOM Blog ID: 202868133
       Account ID: acct_1KTX8R2HKaUyeMzK
       Payment Gateway: Enabled
       Test Mode: Disabled
       Enabled APMs: card
       WooPay: Disabled
       WooPay Incompatible Extensions: No
       Apple Pay / Google Pay: Enabled (product,cart,checkout)
       Fraud Protection Level: basic
       Multi-currency: Enabled
       Auth and Capture: Enabled
       Documents: Disabled
       Logging: Disabled
   
       ### Gift Cards ###
   
       Database Version: 2.0.4
       Loopback Test: ✔
       Task Queueing Test: ✔
   
       ### Admin ###
   
       Enabled Features: activity-panels
       analytics
       product-block-editor
       coupons
       core-profiler
       customize-store
       customer-effort-score-tracks
       import-products-task
       experimental-fashion-sample-products
       shipping-smart-defaults
       shipping-setting-tour
       homescreen
       marketing
       mobile-app-banner
       navigation
       onboarding
       onboarding-tasks
       pattern-toolkit-full-composability
       product-custom-fields
       remote-inbox-notifications
       remote-free-extensions
       payment-gateway-suggestions
       printful
       shipping-label-banner
       subscriptions
       store-alerts
       transient-notices
       woo-mobile-welcome
       wc-pay-promotion
       wc-pay-welcome-page
       launch-your-store
   
       Disabled Features: experimental-blocks
       minified-js
       product-pre-publish-modal
       settings
       async-product-editor-category-field
       product-editor-template-system
       blueprint
       reactify-classic-payments-settings
   
       Daily Cron: ✔ Next scheduled: 2024-10-16 20:55:16 -04:00
       Options: ✔
       Notes: 163
       Onboarding: completed
   
       ### Action Scheduler ###
   
       Canceled: 101
       Oldest: 2024-09-18 11:19:37 -0400
       Newest: 2024-10-16 10:34:34 -0400
   
       Complete: 7,107
       Oldest: 2024-09-15 11:58:38 -0400
       Newest: 2024-10-16 11:36:37 -0400
   
       Failed: 14
       Oldest: 2023-11-24 20:18:52 -0500
       Newest: 2024-10-16 11:25:37 -0400
   
       Pending: 24
       Oldest: 2024-10-16 11:55:37 -0400
       Newest: 2024-11-06 09:37:20 -0500
   
   
       ### Status report information ###
   
       Generated at: 2024-10-16 11:39:37 -04:00
       ```
   

The topic ‘PHP errors with v1.7.4’ is closed to new replies.

 * ![](https://ps.w.org/faire-for-woocommerce/assets/icon-256x256.png?rev=2835163)
 * [Faire for WooCommerce](https://wordpress.org/plugins/faire-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/faire-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/faire-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/faire-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/faire-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/faire-for-woocommerce/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [remedycocktailcompany](https://wordpress.org/support/users/remedycocktailcompany/)
 * Last activity: [1 year, 7 months ago](https://wordpress.org/support/topic/php-errors-with-v1-7-4/)
 * Status: not resolved