SOLVED: Warning: Undefined array key 1 in /app/dist/wp-content/themes/bricks/includes/assets.php on line 712

Bricks Version: 1.5
Browser: 103.0.2 (64-bit)
OS: macOS
URL: local

Receiving this Warning: Undefined array key 1 in /app/dist/wp-content/themes/bricks/includes/assets.php on line 712

This is line 712 of assets.php $css_value = str_replace( β€˜"’, β€˜β€™, $css_rule[1] ); // Remove added doulbe quotes (") from font-family value to find match

I don’t know where to start to troubleshoot this one at? I will be pushing local to staging here this afternoon. What could this be?

`

WordPress Environment

WordPress address (URL): https://wellbody.lndo.site
Site address (URL): https://wellbody.lndo.site
WC Version: 6.8.2
REST API Version: :heavy_check_mark: 6.8.2
WC Blocks Version: :heavy_check_mark: 8.0.0
Action Scheduler Version: :heavy_check_mark: 3.4.0
Log Directory Writable: :heavy_check_mark:
WP Version: 6.0.1
WP Multisite: –
WP Memory Limit: 1 GB
WP Debug Mode: :heavy_check_mark:
WP Cron: :heavy_check_mark:
Language: en_US
External object cache: –

Server Environment

Server Info: Apache/2.4.53 (Debian)
PHP Version: 8.0.19
PHP Post Max Size: 100 MB
PHP Time Limit: 180
PHP Max Input Vars: 10000
cURL Version: 7.74.0
OpenSSL/1.1.1n

SUHOSIN Installed: –
MySQL Version: 10.3.27-MariaDB
Max Upload Size: 100 MB
Default Timezone is UTC: :heavy_check_mark:
fsockopen/cURL: :heavy_check_mark:
SoapClient: :heavy_check_mark:
DOMDocument: :heavy_check_mark:
GZip: :heavy_check_mark:
Multibyte String: :heavy_check_mark:
Remote Post: :heavy_check_mark:
Remote Get: :heavy_check_mark:

Database

WC Database Version: 6.8.2
WC Database Prefix: wp_
Total Database Size: 9.99MB
Database Data Size: 8.50MB
Database Index Size: 1.49MB
wp_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + 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: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + 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: 0.05MB + Index: 0.11MB + 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: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_mb_relationships: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_options: Data: 4.03MB + Index: 0.03MB + Engine InnoDB
wp_postmeta: Data: 3.44MB + Index: 0.03MB + Engine InnoDB
wp_posts: Data: 0.09MB + Index: 0.06MB + Engine InnoDB
wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_users: Data: 0.02MB + Index: 0.05MB + 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.02MB + Index: 0.03MB + 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: 0.02MB + Index: 0.06MB + Engine InnoDB
wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + 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

Post Type Counts

attachment: 28
bricks_fonts: 1
bricks_template: 8
customize_changeset: 1
meta-box: 1
nav_menu_item: 9
page: 10
post: 2
product: 5
revision: 139
wp_global_styles: 1
wpcf7_contact_form: 1

Security

Secure connection (HTTPS): :heavy_check_mark:
Hide errors from visitors: :x:Error messages should not be shown to visitors.

Active Plugins (6)

Automatic.css: by Kevin Geary
Matteo Greco – 2.0.2

Contact Form 7: by Takayuki Miyoshi – 5.6.2
Meta Box AIO: by MetaBox.io – 1.16.4
Meta Box: by MetaBox.io – 5.6.6
WooCommerce: by Automattic – 6.8.2
WP Migrate: by Delicious Brains – 2.3.4

Inactive Plugins (0)

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)
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: :heavy_check_mark:

WC Pages

Shop base: #6 - /shop/
Cart: #7 - /cart/
Checkout: #8 - /checkout/
My account: #9 - /my-account/
Terms and conditions: :x: Page not set

Theme

Name: WellBody
Version: 1.1
Author URL: https://scalesadvertising.com/
Child Theme: :heavy_check_mark:
Parent Theme Name: Bricks
Parent Theme Version: 1.5
Parent Theme Author URL: https://bricksbuilder.io/
WooCommerce Support: :heavy_check_mark:

Templates

Overrides: bricks/archive-product.php
bricks/woocommerce/cart/cart-empty.php
bricks/woocommerce/cart/cart.php
bricks/woocommerce/cart/proceed-to-checkout-button.php
bricks/woocommerce/checkout/form-checkout.php
bricks/woocommerce/checkout/form-pay.php
bricks/woocommerce/checkout/order-receipt.php
bricks/woocommerce/checkout/thankyou.php
bricks/single-product.php

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
wc-pay-subscriptions-page

Disabled Features: minified-js
settings

Daily Cron: :heavy_check_mark: Next scheduled: 2022-08-26 20:25:12 +00:00
Options: :heavy_check_mark:
Notes: 43
Onboarding: skipped

Action Scheduler

Complete: 59
Oldest: 2022-08-25 14:11:40 +0000
Newest: 2022-08-26 14:08:20 +0000

Pending: 1
Oldest: 2022-08-26 20:26:58 +0000
Newest: 2022-08-26 20:26:58 +0000

Status report information

Generated at: 2022-08-26 14:15:24 +00:00
`

Hi Corby,
Thanks so much for your report!

Unfortunately, the site isn’t reachable, so it’s hard to say anything about it. There is a problem with fonts and double quotes - maybe it is related: WIP: Various element typography styles reverts to default styling when breakpoints are selected

Best regards,
timmse

Best regards,
timmse

@timmse I no longer see this warning after updating to 1.5.1rc – Please go ahead and close.

2 Likes