Error in WooCommerce settings “stripeslashes() expects parameter 1 to be a ..
-
Not sure what impact this error is having, but it just started showing up in WooCommerce | Settings
At first, I thought it was related to WooCommerce Subscriptions, since it appears on that tab, but when I enabled error messaging, I see the trace heads right into woocommerce. I downloaded the plugin to my local machine and did a search to that line and found that the function IS being called with an array. The line that is throwing the notice is the second line shown below. And how it’s getting past the is_array function is one of life’s mysteries.
if ( is_array( $option_value ) ) { $option_value = array_map( 'stripslashes', $option_value ); } elseif ( ! is_null( $option_value ) ) { $option_value = stripslashes( $option_value ); }
Screen grab of the issue:
https://www.screencast.com/t/OQaHJqC7uNot sure what to do now… open to suggestions.
WooCommerce Status:
—### WordPress Environment ### WordPress address (URL): https://michiganmealprep.com Site address (URL): https://michiganmealprep.com WC Version: 3.8.0 REST API Version: ? 1.0.2 Log Directory Writable: ? WP Version: ? 5.2.4 - There is a newer version of WordPress available (5.3) WP Multisite: – WP Memory Limit: 768 MB WP Debug Mode: – WP Cron: ? Language: en_US External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.1.33 - We recommend using PHP version 7.2 or above for greater performance and security. How to update your PHP version PHP Post Max Size: 128 MB PHP Time Limit: 0 PHP Max Input Vars: 6000 cURL Version: 7.59.0 OpenSSL/1.0.2r SUHOSIN Installed: – MySQL Version: 5.6.40-84.0-log Max Upload Size: 128 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: wpfn_ MaxMind GeoIP Database: ? Total Database Size: 80.70MB Database Data Size: 57.19MB Database Index Size: 23.51MB wpfn_woocommerce_sessions: Data: 1.02MB + Index: 0.05MB + Engine InnoDB wpfn_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpfn_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpfn_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wpfn_woocommerce_order_items: Data: 2.52MB + Index: 0.45MB + Engine InnoDB wpfn_woocommerce_order_itemmeta: Data: 17.55MB + Index: 10.03MB + Engine InnoDB wpfn_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wpfn_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpfn_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpfn_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpfn_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpfn_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpfn_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpfn_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpfn_ac_abandoned_cart_history_lite: Data: 0.11MB + Index: 0.00MB + Engine InnoDB wpfn_ac_email_templates_lite: Data: 0.03MB + Index: 0.00MB + Engine InnoDB wpfn_ac_guest_abandoned_cart_history_lite: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpfn_ac_sent_history_lite: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpfn_affiliate_wp_affiliatemeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpfn_affiliate_wp_affiliates: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpfn_affiliate_wp_campaigns: Data: 0.00MB + Index: 0.00MB + Engine wpfn_affiliate_wp_creatives: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpfn_affiliate_wp_customermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpfn_affiliate_wp_customers: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpfn_affiliate_wp_direct_links: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpfn_affiliate_wp_payouts: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpfn_affiliate_wp_referralmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpfn_affiliate_wp_referrals: Data: 0.17MB + Index: 0.02MB + Engine InnoDB wpfn_affiliate_wp_rest_consumers: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpfn_affiliate_wp_visits: Data: 1.52MB + Index: 0.16MB + Engine InnoDB wpfn_cbnetpo_ping_optimizer: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpfn_commentmeta: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wpfn_comments: Data: 2.96MB + Index: 1.34MB + Engine MyISAM wpfn_cw_saved_widgets_options: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpfn_cw_widgets_options: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpfn_gf_draft_submissions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpfn_gf_entry: Data: 0.09MB + Index: 0.03MB + Engine InnoDB wpfn_gf_entry_meta: Data: 0.20MB + Index: 0.22MB + Engine InnoDB wpfn_gf_entry_notes: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpfn_gf_form: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpfn_gf_form_meta: Data: 0.03MB + Index: 0.00MB + Engine InnoDB wpfn_gf_form_revisions: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpfn_gf_form_view: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wpfn_iwp_backup_status: Data: 0.03MB + Index: 0.00MB + Engine MyISAM wpfn_iwp_file_list: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpfn_iwp_processed_iterator: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpfn_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpfn_ms_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpfn_nm_personalized: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpfn_options: Data: 2.65MB + Index: 0.09MB + Engine MyISAM wpfn_pmxe_exports: Data: 0.20MB + Index: 0.00MB + Engine InnoDB wpfn_pmxe_google_cats: Data: 0.39MB + Index: 0.00MB + Engine InnoDB wpfn_pmxe_posts: Data: 0.09MB + Index: 0.00MB + Engine InnoDB wpfn_pmxe_templates: Data: 0.31MB + Index: 0.00MB + Engine InnoDB wpfn_pmxi_files: Data: 0.06MB + Index: 0.00MB + Engine InnoDB wpfn_pmxi_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpfn_pmxi_images: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpfn_pmxi_imports: Data: 0.09MB + Index: 0.00MB + Engine InnoDB wpfn_pmxi_posts: Data: 0.05MB + Index: 0.00MB + Engine InnoDB wpfn_pmxi_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpfn_postmeta: Data: 14.67MB + Index: 6.15MB + Engine MyISAM wpfn_posts: Data: 1.45MB + Index: 0.55MB + Engine MyISAM wpfn_revslider_css: Data: 0.13MB + Index: 0.00MB + Engine InnoDB wpfn_revslider_layer_animations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpfn_revslider_navigations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpfn_revslider_sliders: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpfn_revslider_slides: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpfn_revslider_static_slides: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpfn_smush_dir_images: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpfn_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpfn_tcb_api_error_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpfn_td_fields: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpfn_td_groups: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpfn_termmeta: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wpfn_terms: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpfn_term_relationships: Data: 0.04MB + Index: 0.08MB + Engine MyISAM wpfn_term_taxonomy: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpfn_tve_ult_designs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpfn_tve_ult_emails: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpfn_tve_ult_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpfn_tve_ult_event_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpfn_tve_ult_settings_campaign: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpfn_tve_ult_settings_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpfn_usermeta: Data: 4.00MB + Index: 0.60MB + Engine MyISAM wpfn_users: Data: 0.05MB + Index: 0.05MB + Engine MyISAM wpfn_wcpdf_invoice_number: Data: 0.09MB + Index: 0.00MB + Engine InnoDB wpfn_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpfn_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpfn_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpfn_wc_customer_lookup: Data: 0.09MB + Index: 0.06MB + Engine InnoDB wpfn_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpfn_wc_order_coupon_lookup: Data: 0.09MB + Index: 0.13MB + Engine InnoDB wpfn_wc_order_product_lookup: Data: 2.52MB + Index: 1.34MB + Engine InnoDB wpfn_wc_order_stats: Data: 0.30MB + Index: 0.25MB + Engine InnoDB wpfn_wc_order_tax_lookup: Data: 0.19MB + Index: 0.17MB + Engine InnoDB wpfn_wc_points_rewards_user_points: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpfn_wc_points_rewards_user_points_log: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wpfn_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wpfn_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpfn_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpfn_wfBadLeechers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpfn_wfBlockedCommentLog: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpfn_wfBlockedIPLog: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpfn_wfBlocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wpfn_wfConfig: Data: 0.05MB + Index: 0.00MB + Engine InnoDB wpfn_wfCrawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpfn_wfFileChanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpfn_wfFileMods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpfn_wfHits: Data: 1.52MB + Index: 0.22MB + Engine InnoDB wpfn_wfHoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpfn_wfIssues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wpfn_wfKnownFileList: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpfn_wfLeechers: Data: 0.06MB + Index: 0.00MB + Engine InnoDB wpfn_wfLiveTrafficHuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpfn_wfLocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpfn_wfLogins: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpfn_wfNotifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpfn_wfPendingIssues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wpfn_wfReverseCache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpfn_wfScanners: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpfn_wfSNIPCache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wpfn_wfStatus: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpfn_wfVulnScanners: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpfn_yoast_seo_links: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wpfn_yoast_seo_meta: Data: 0.16MB + Index: 0.19MB + 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 (39) ### InfiniteWP - Client: by Revmakx – 1.9.4.2 Gravity Forms: by rocketgenius – 2.4.15 Advanced Custom Fields PRO: by Elliot Condon – 5.8.7 AffiliateWP - Lifetime Commissions: by Sandhills Development LLC – 1.4 AffiliateWP - PayPal Payouts: by Pippin Williamson and Andrew Munro – 1.2.1 AffiliateWP: by Sandhills Development LLC – 2.4.1 AffiliateWP - Affiliate Area Tabs: by AffiliateWP – 1.2.7 AffiliateWP - Affiliate Forms For Gravity Forms: by Sandhills Development LLC – 1.0.19 AffiliateWP - Allowed Products: by AffiliateWP LLC – 1.1.2 AffiliateWP - Custom Affiliate Slugs: by Pippin Williamson and Andrew Munro – 1.0.2 AffiliateWP - Direct Link Tracking: by Sandhills Development LLC – 1.1.4 AffiliateWP - Tiered Rates: by AffiliateWP – 1.1.2 All-in-One WP Migration: by ServMask – 7.10 Classic Editor: by WordPress Contributors – 1.5 Code Snippets: by Shea Bunge – 2.13.3 Facebook Reviews Pro: by RichPlugins – 1.4.4 Flexible Checkout Fields PRO: by WP Desk – 1.11.3 – Not tested with the active version of WooCommerce Flexible Checkout Fields: by WP Desk – 2.2.1 – Not tested with the active version of WooCommerce Printful Integration for WooCommerce: by Printful – 2.1.8 Thrive Architect: by <a href="https://www.thrivethemes.com">Thrive Themes</a> – 2.4.5 Abandoned Cart Lite for WooCommerce: by Tyche Softwares – 5.6.1 – Not tested with the active version of WooCommerce WooCommerce Admin: by WooCommerce – 0.22.0 WooCommerce Email Test: by RaiserWeb – 1.10 – Not tested with the active version of WooCommerce WooCommerce PayPal Checkout Gateway: by WooCommerce – 1.6.17 – Not tested with the active version of WooCommerce WooCommerce Stripe Gateway: by WooCommerce – 4.3.1 WooCommerce PDF Invoices & Packing Slips: by Ewout Fernhout – 2.3.5 WooCommerce Points and Rewards: by WooCommerce – 1.6.23 – Not tested with the active version of WooCommerce PPOM for WooCommerce by N-MEDIA: by Najeeb Ahmad – 18.6 – Not tested with the active version of WooCommerce WooCommerce Subscribe All the Things: by Prospress Inc. – 2.1.1 – Not tested with the active version of WooCommerce WooCommerce Subscriptions: by Prospress Inc. – 2.3.7 – Not tested with the active version of WooCommerce WooCommerce: by Automattic – 3.8.0 WordPress HTTPS: by Mike Ems – 3.4.0 Yoast SEO: by Team Yoast – 12.5 WP All Export Pro: by Soflyy – 1.5.9 WP All Import Pro: by Soflyy – 4.5.8 Smush: by WPMU DEV – 3.3.1 WP All Import - WooCommerce Add-On Pro: by Soflyy – 3.0.9 – Not tested with the active version of WooCommerce WP Desk Helper: by WP Desk – 1.7.0 – Not tested with the active version of WooCommerce XT WooCommerce Floating Cart Pro: by XplodedThemes – 1.4.3 – Not tested with the active version of WooCommerce ### Inactive Plugins (1) ### WP PHP Console: by Fulvio Notarstefano – 1.5.4 ### Must Use Plugins (1) ### InfiniteWP - Client Loader: by Revmakx – ### 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) 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: – ### WC Pages ### Shop base: #324 - /shop/ Cart: #325 - /cart/ Checkout: #326 - /checkout/ My account: #327 - /my-account/ Terms and conditions: #1018 - /terms-and-conditions/ ### Theme ### Name: Pressive Child MMP Version: 1.400.2 Author URL: https://thrivethemes.com/ Child Theme: ? Parent Theme Name: Pressive Parent Theme Version: 1.409 Parent Theme Author URL: https://thrivethemes.com/ WooCommerce Support: ? ### Templates ### Overrides: pressive-child/woocommerce/cart/cart-item-data.php pressive-child/woocommerce/cart/cart-totals.php pressive-child/woocommerce/cart/cart.php version 3.7.0 is out of date. The core version is 3.8.0 pressive-child/woocommerce/checkout/form-checkout.php pressive-child/woocommerce/checkout/review-order.php version 3.3.0 is out of date. The core version is 3.8.0 pressive-child/woocommerce/emails/admin-new-order.php pressive-child/woocommerce/emails/customer-completed-order.php pressive-child/woocommerce/emails/customer-invoice.php pressive-child/woocommerce/emails/customer-processing-order.php pressive-child/woocommerce/global/quantity-input.php pressive-child/woocommerce/single-product/related.php pressive-child/woocommerce/single-product/short-description.php pressive-child/woocommerce/single-product/tabs/additional-information.php pressive-child/woocommerce/single-product/title.php Outdated Templates: ? Learn how to update ### Subscriptions ### WCS_DEBUG: ? No Subscriptions Mode: ? Live Subscriptions Template Theme Overrides: pressive-child/woocommerce/emails/customer-completed-renewal-order.php pressive-child/woocommerce/emails/customer-processing-renewal-order.php Subscription Statuses: wc-active: 17 wc-expired: 138 wc-on-hold: 2 wc-cancelled: 72 WooCommerce Account Connected: ? No Custom Retry Rules: ? No Custom Retry Rule Class: ? No Custom Raw Retry Rule: ? No Custom Retry Rule: ? No Report Cache Enabled: ? Yes Cache Update Failures: ? 0 failure ### Store Setup ### Country / State: United States (US) — Michigan ### Subscriptions by Payment Gateway ### PayPal Checkout: wc-active: 17 wc-cancelled: 69 wc-expired: 113 wc-on-hold: 2 other: wc-cancelled: 3 wc-expired: 25 ### Payment Gateway Support ### PayPal Checkout: products refunds subscriptions subscription_cancellation subscription_reactivation subscription_suspension multiple_subscriptions subscription_payment_method_change_customer subscription_payment_method_change_admin subscription_amount_changes subscription_date_changes ### Action Scheduler ### Complete: 1,615 Oldest: 2019-10-14 00:24:43 -0400 Newest: 2019-11-13 22:55:08 -0500 Pending: 24 Oldest: 2019-11-13 23:55:08 -0500 Newest: 2019-12-13 08:04:53 -0500 Canceled: 9 Oldest: 2019-11-13 18:28:28 -0500 Newest: 2019-12-13 08:04:53 -0500 In-progress: 0 Oldest: – Newest: – Failed: 0 Oldest: – Newest: –
The page I need help with: [log in to see the link]
- The topic ‘Error in WooCommerce settings “stripeslashes() expects parameter 1 to be a ..’ is closed to new replies.