PHP Error/Warning
-
Hi There!
we have the following error/warning in our PHP error log
[12-Oct-2021 15:21:12 UTC] PHP Warning: array_column() expects parameter 1 to be array, string given in /kunden/xxx_xxx/webseiten/hello-world.net/wordpress/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/RemoteInboxNotifications/Transformers/ArrayColumn.php on line 27
thnx for helping
best regards
Nick-
This topic was modified 3 years, 4 months ago by
Nico Marcuz.
The page I need help with: [log in to see the link]
-
This topic was modified 3 years, 4 months ago by
-
Hi @nick7766,
Thanks for sharing this PHP warning.
Do you still get this warning when you disable all plugins except WooCommerce and switch to the default Storefront theme? Can you confirm all your plugins/extensions are up to date?
Could you please share a copy of your site’s System Status? You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”. Once you’ve done that, paste it here in your response.
Thanks.
I am receiving the same error in my log file.
[16-Oct-2021 03:43:05 UTC] PHP Warning: array_column() expects parameter 1 to be array, string given in /home/xxxxx/public_html/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/RemoteInboxNotifications/Transformers/ArrayColumn.php on line 27
WooCommerce has yet to be updated to 5.8, but everything else looks up to date. Here is my system status report…
### WordPress Environment ### WordPress address (URL): xxx Site address (URL): xxx WC Version: 5.7.1 REST API Version: ? 5.7.1 WC Blocks Version: ? 5.7.2 Action Scheduler Version: ? 3.2.1 WC Admin Version: ? 2.6.5 Log Directory Writable: ? WP Version: 5.8.1 WP Multisite: – WP Memory Limit: 1 GB WP Debug Mode: – WP Cron: – Language: en_US External object cache: – ### Server Environment ### Server Info: LiteSpeed PHP Version: 7.3.31 PHP Post Max Size: 1 GB PHP Time Limit: 600 PHP Max Input Vars: 1000 cURL Version: 7.71.0 OpenSSL/1.1.1d SUHOSIN Installed: – MySQL Version: 5.5.5-10.3.31-MariaDB-cll-lve Max Upload Size: 1 GB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 5.7.1 WC Database Prefix: wp_ Total Database Size: 554.25MB Database Data Size: 314.61MB Database Index Size: 239.64MB wp_woocommerce_sessions: Data: 23.06MB + Index: 1.03MB + Engine InnoDB wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_order_items: Data: 6.52MB + Index: 2.52MB + Engine InnoDB wp_woocommerce_order_itemmeta: Data: 34.56MB + Index: 32.09MB + Engine InnoDB wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_actions: Data: 5.02MB + Index: 7.53MB + Engine InnoDB wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_logs: Data: 3.45MB + Index: 2.98MB + Engine InnoDB wp_commentmeta: Data: 3.52MB + Index: 1.53MB + Engine InnoDB wp_comments: Data: 44.58MB + Index: 25.89MB + Engine InnoDB wp_failed_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_litespeed_url: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_litespeed_url_file: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_mailchimp_carts: Data: 0.36MB + Index: 0.00MB + Engine InnoDB wp_mailchimp_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_moneris_monerischeckout_transactions: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wp_options: Data: 22.47MB + Index: 3.69MB + Engine InnoDB wp_postmeta: Data: 97.63MB + Index: 103.27MB + Engine InnoDB wp_posts: Data: 19.52MB + Index: 8.00MB + Engine InnoDB wp_queue: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_snp_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_snp_stats: Data: 0.06MB + Index: 0.14MB + Engine InnoDB wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_terms: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wp_term_relationships: Data: 0.20MB + Index: 0.11MB + Engine InnoDB wp_term_taxonomy: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wp_toolset_post_guid_id: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_usermeta: Data: 30.56MB + Index: 39.13MB + Engine InnoDB wp_users: Data: 5.52MB + Index: 6.55MB + Engine InnoDB wp_wc_admin_notes: Data: 0.05MB + Index: 0.00MB + Engine InnoDB wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_customer_lookup: Data: 0.08MB + Index: 0.06MB + Engine InnoDB wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_product_lookup: Data: 1.06MB + Index: 0.06MB + Engine InnoDB wp_wc_order_stats: Data: 0.11MB + Index: 0.14MB + Engine InnoDB wp_wc_order_tax_lookup: Data: 1.05MB + Index: 0.09MB + Engine InnoDB wp_wc_product_meta_lookup: Data: 0.23MB + Index: 0.42MB + Engine InnoDB wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wfBlockedIPLog: Data: 0.06MB + Index: 0.00MB + Engine InnoDB wp_wfBlocks7: Data: 0.06MB + Index: 0.05MB + Engine InnoDB wp_wfConfig: Data: 1.39MB + Index: 0.00MB + Engine InnoDB wp_wfCrawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfFileChanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfFileMods: Data: 4.52MB + Index: 0.00MB + Engine InnoDB wp_wfHits: Data: 1.11MB + Index: 0.19MB + Engine InnoDB wp_wfHoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wfIssues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wfKnownFileList: Data: 1.52MB + Index: 0.00MB + Engine InnoDB wp_wfLiveTrafficHuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wfLocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfLogins: Data: 0.39MB + Index: 0.16MB + Engine InnoDB 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.02MB + Index: 0.00MB + Engine InnoDB wp_wfPendingIssues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wfReverseCache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfSNIPCache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wfStatus: Data: 0.13MB + Index: 0.09MB + Engine InnoDB wp_wfTrafficRates: Data: 0.08MB + Index: 0.00MB + Engine InnoDB wp_yoast_indexable: Data: 4.52MB + Index: 2.84MB + Engine InnoDB wp_yoast_indexable_hierarchy: Data: 0.09MB + Index: 0.14MB + Engine InnoDB wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_yoast_primary_term: Data: 0.05MB + Index: 0.03MB + Engine InnoDB wp_yoast_seo_links: Data: 0.09MB + Index: 0.03MB + Engine InnoDB wp_yoast_seo_meta: Data: 0.06MB + Index: 0.00MB + Engine InnoDB ### Post Type Counts ### acf: 7 acf-field: 33 acf-field-group: 7 attachment: 2831 custom_css: 1 customize_changeset: 7 nav_menu_item: 45 oembed_cache: 1 page: 149 partner: 90 post: 84 product: 1130 product_variation: 1208 revision: 1406 shop_coupon: 6 shop_order: 15723 shop_order_refund: 250 wishlist: 1919 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (18) ### Advanced Custom Fields: by Delicious Brains – 5.10.2 Akismet Anti-Spam: by Automattic – 4.2.1 Ninja Popups: by ArsCode – 4.3.9 Breadcrumb NavXT: by John Havlik – 6.6.0 Clean Login: by codection – 1.12.8.3 Custom Related Products for WooCommerce: by Scott Nelle – 1.3 LiteSpeed Cache: by LiteSpeed Technologies – 4.4.2 Mailchimp for WooCommerce: by Mailchimp – 2.5.3 Moneris Checkout WooCommerce Integration: by – 1.0.16 Resize Image After Upload: by ShortPixel – 1.8.6 WooCommerce Buy Now: by Store Apps – 1.6 WooCommerce Moneris Gateway: by SkyVerge – 2.17.1 Woocommerce Gift Wrapper: by Little Package – 4.5.1 WooCommerce WishLists: by Element Stark – 2.2.5 WooCommerce: by Automattic – 5.7.1 (update to version 5.8.0 is available) Wordfence Security: by Wordfence – 7.5.5 Yoast SEO: by Team Yoast – 17.3 ### Inactive Plugins (1) ### Toolset Types: by OnTheGoSystems – 2.2.22 ### Settings ### API Enabled: ? Force SSL: ? Currency: CAD ($) 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: #26 - /shop/ Cart: #27 - /cart/ Checkout: #28 - /checkout/ My account: #29 - /my-account/ Terms and conditions: ? Page not set ### Theme ### Name: Custom Theme Version: (update to version 0 is available) Author URL: 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 ### Archive Template: Your theme has a woocommerce.php file you will not be able to override the woocommerce/archive-product.php custom template since woocommerce.php has priority over archive-product.php. This is intended to prevent display issues. Overrides: customtheme/woocommerce/single-product/related.php ### Action Scheduler ### Canceled: 4 Oldest: 2021-09-16 12:45:55 -0500 Newest: 2021-10-08 11:41:00 -0500 Complete: 10,618 Oldest: 2021-09-14 13:52:31 -0500 Newest: 2021-10-15 22:43:32 -0500 Failed: 1 Oldest: 2021-09-21 16:27:50 -0500 Newest: 2021-09-21 16:27:50 -0500 ### Status report information ### Generated at: 2021-10-16 07:58:40 -05:00
Hi @pls77,
Do you receive this same error message if only WooCommerce and the Twenty Twenty theme are active?
Thanks!
- The topic ‘PHP Error/Warning’ is closed to new replies.