PHP Error
-
Hi
I am getting an error in php
Warning: array_filter() expects parameter 1 to be array, bool given in /home/customer/www/oldeglen.ie/public_html/wp-content/plugins/woocommerce/includes/class-wc-frontend-scripts.php on line 65
This is line 65:
‘src’ => self::get_asset_url( ‘assets/css/woocommerce-layout.css’ ),
Any help would be apreciated!
-
Hi @aoifealec
Thank you for reaching out!
Can you please share a screenshot of the page where you are seeing the error? We recommend using https://snipboard.io for sharing screenshots – please follow the instructions on the page, then paste the URL in your reply.
Also, in order for us to get a better understanding of your site setup, could you please share a copy of your website’s System Status Report?
You can get it by navigating to the
WooCommerce / Status
section of your site. Once there, click on theGet system report
button and then copy it by clicking on theCopy for support
button. Then paste it here in a comment.Hi, I think I have the same issue – you can see it live here:
https://www.kerzenmacherin.at/I originally had the server on PHP 8.1, that caused a fatal error and the whole site was just the error message (see https://snipboard.io/izZeyc.jpg).
When I downgraded to PHP 7.4 I got what you see now.All plugins, theme and WP versions are the most current ones.
### WordPress Environment ### WordPress address (URL): https://www.kerzenmacherin.at Site address (URL): https://www.kerzenmacherin.at WC Version: 6.9.0 REST API Version: ? 6.9.0 WC Blocks Version: ? 8.3.2 Action Scheduler Version: ? 3.4.0 Log Directory Writable: ? WP Version: 6.0.2 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ? Language: de_DE External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.4.30 PHP Post Max Size: 200 MB PHP Time Limit: 38 PHP Max Input Vars: 1500 cURL Version: 7.61.1 OpenSSL/1.1.1g SUHOSIN Installed: – MySQL Version: 5.7.38-log Max Upload Size: 200 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 6.9.0 WC Database Prefix: wp_ Datenbank-Gesamtgr??e: 6.59MB Datenbank-Datengr??e: 4.16MB Datenbank-Indexgr??e: 2.43MB wp_woocommerce_sessions: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_api_keys: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_attribute_taxonomies: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_downloadable_product_permissions: Daten: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_order_items: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_order_itemmeta: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_tax_rates: Daten: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_tax_rate_locations: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zones: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_shipping_zone_locations: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zone_methods: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_payment_tokens: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_payment_tokenmeta: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_log: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_actions: Daten: 0.13MB + Index: 0.11MB + Engine InnoDB wp_actionscheduler_claims: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_groups: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_logs: Daten: 0.05MB + Index: 0.03MB + Engine InnoDB wp_commentmeta: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB wp_comments: Daten: 0.02MB + Index: 0.09MB + Engine InnoDB wp_links: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB wp_options: Daten: 2.06MB + Index: 0.08MB + Engine InnoDB wp_postmeta: Daten: 0.16MB + Index: 0.11MB + Engine InnoDB wp_posts: Daten: 0.33MB + Index: 0.06MB + Engine InnoDB wp_redirection_404: Daten: 0.13MB + Index: 0.05MB + Engine InnoDB wp_redirection_groups: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB wp_redirection_items: Daten: 0.02MB + Index: 0.09MB + Engine InnoDB wp_redirection_logs: Daten: 0.02MB + Index: 0.05MB + Engine InnoDB wp_smush_dir_images: Daten: 0.02MB + Index: 0.05MB + Engine InnoDB wp_termmeta: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB wp_terms: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB wp_term_relationships: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB wp_term_taxonomy: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB wp_usermeta: Daten: 0.05MB + Index: 0.03MB + Engine InnoDB wp_users: Daten: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wc_admin_notes: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_admin_note_actions: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_category_lookup: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_customer_lookup: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_download_log: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_coupon_lookup: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_product_lookup: Daten: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wc_order_stats: Daten: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wc_order_tax_lookup: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_product_attributes_lookup: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_product_download_directories: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_product_meta_lookup: Daten: 0.02MB + Index: 0.09MB + Engine InnoDB wp_wc_rate_limits: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_reserved_stock: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_tax_rate_classes: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_webhooks: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_gzd_dhl_im_products: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_gzd_dhl_im_product_services: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_gzd_packaging: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_gzd_packagingmeta: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_gzd_shipmentmeta: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_gzd_shipments: Daten: 0.02MB + Index: 0.05MB + Engine InnoDB wp_woocommerce_gzd_shipment_itemmeta: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_gzd_shipment_items: Daten: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_gzd_shipment_labelmeta: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_gzd_shipment_labels: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_gzd_shipping_provider: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_gzd_shipping_providermeta: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB wp_yoast_indexable: Daten: 0.05MB + Index: 0.09MB + Engine InnoDB wp_yoast_indexable_hierarchy: Daten: 0.02MB + Index: 0.05MB + Engine InnoDB wp_yoast_migrations: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB wp_yoast_primary_term: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB wp_yoast_seo_links: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB ### Post Type Counts ### attachment: 26 nav_menu_item: 5 page: 27 post: 1 product: 2 product_variation: 6 revision: 59 us_content_template: 2 us_grid_layout: 2 us_header: 3 us_page_block: 1 wp_global_styles: 1 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (11) ### Google Analytics for WordPress by MonsterInsights: von MonsterInsights – 8.8.2 WPBakery Page Builder: von Michael M - WPBakery.com – 6.9.0 Loco Translate: von Tim Whitlock – 2.6.2 Redirection: von John Godley – 5.3.3 UpdraftPlus - Backup/Restore: von UpdraftPlus.Com DavidAnderson – 2.22.21.25 UpSolution Core: von UpSolution – 8.10.1 Germanized für WooCommerce: von vendidero – 3.10.4 WooCommerce: von Automattic – 6.9.0 Yoast SEO: von Team Yoast – 19.6.1 WP Captcha: von Devnath verma – 2.0.0 Smush: von WPMU DEV – 3.11.1 ### Inactive Plugins (0) ### ### Settings ### API Enabled: – Force SSL: – Currency: EUR (€) Currency Position: right_space 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: – Enforce Approved Product Download Directories: – ### WC Pages ### Shop-Basis: #22 - /shop/ Warenkorb: #23 - /warenkorb/ Kasse: #24 - /kasse/ Mein Konto: #25 - /mein-konto/ Allgemeine Gesch?ftsbedingungen: #2311 - /agb/ ### Theme ### Name: Impreza Child Version: 1.0 Author URL: https://us-themes.com/ Child Theme: ? Parent Theme Name: Impreza Parent Theme Version: 8.10 Parent Theme Author URL: https://us-themes.com/ WooCommerce Support: ? ### Templates ### Overrides: – ### Admin ### Enabled Features: activity-panels analytics coupons customer-effort-score-tracks experimental-products-task experimental-import-products-task experimental-fashion-sample-products experimental-product-tour shipping-smart-defaults shipping-setting-tour homescreen marketing mobile-app-banner navigation onboarding onboarding-tasks remote-inbox-notifications remote-free-extensions payment-gateway-suggestions shipping-label-banner subscriptions store-alerts transient-notices wc-pay-promotion wc-pay-welcome-page Disabled Features: minified-js new-product-management-experience settings Daily Cron: ? Next scheduled: 2022-09-15 08:21:06 +02:00 Options: ? Notes: 70 Onboarding: completed ### Action Scheduler ### Abgeschlossen: 138 Oldest: 2022-08-14 13:55:54 +0200 Newest: 2022-09-14 11:59:43 +0200 Ausstehend: 4 Oldest: 2022-09-14 16:12:15 +0200 Newest: 2022-09-15 04:00:00 +0200 ### Status report information ### Generated at: 2022-09-14 12:08:08 +02:00
Thanks!
This seems to be a problem for very many people today …
Howdy,
Thank you for the report. We are working on this here: https://github.com/woocommerce/woocommerce/issues/34667
Here is a code snippet to temporarily resolve the issue: https://github.com/woocommerce/woocommerce/issues/34667#issuecomment-1246458316
Kind regards,
UPDATE: A fix for this issue has been released in v6.9.1. Please go ahead and update if you haven’t already.
- The topic ‘PHP Error’ is closed to new replies.