• Resolved lockoloop

    (@lockoloop)


    Hi there,

    I’m not sure if this has to do with WooCommerce Blocks per se, but I do get an error message regarding this line:
    Undefined array key 1 woo-gutenberg-products-block/src/BlockTemplatesController.php on line 184

    The incriminated variable is $template_name_parts, and it does return an empty array in my case:
    public function get_block_template_fallback( $template, $id, $template_type ) {
    $template_name_parts = explode( '//', $id );
    > list( $theme, $slug ) = $template_name_parts;

    I haven’t figured out when this function fires, so it’s hard for me to test different themes and possibilities. Obviously it looks linked to my theme and/or a block, but how?

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Contributor Saad T.

    (@saadtarhi)

    Hi @lockoloop! Thanks for getting in touch!

    The function get_block_template_fallback is linked to the pre_get_block_template filter hook. It gets activated when WordPress attempts to retrieve a block template. Many plugins and themes, like the Twenty Twenty-Three , have block templates. For instance, its page template activates when you open a page in the admin area. If you remember which page displayed this error, try reloading it. If the error reappears, then to identify the problematic template (from a plugin/theme), you can:

    1. Briefly switch to the Storefront or Twenty Twenty-Three theme.
    2. Deactivate all plugins, keeping only WooCommerce active.
    3. Retake the action that triggered the issue.

    If the problem disappears after these steps, it indicates a conflict with one of the deactivated plugins or themes. To pin down the culprit, reactivate your plugins one by one and test after each. This process will help identify the conflicting plugin. For a step-by-step guide on performing a conflict test, click here.

    Thread Starter lockoloop

    (@lockoloop)

    That’s the problem, I haven’t found out yet what triggers the error, meaning what page, what conditions, when. I’ve added an error_log(print_r($id, true)) to see if I can get something out of it, but it seems it triggers once a day or something.

    It looks like it also triggers an error in Jetpack but it might be unrelated (and I would think more people would have raised the issue if it were linked to Jetpack):

    Attempt to read property “content” on null in /jetpack/modules/woocommerce-analytics/classes/class-jetpack-woocommerce-analytics-trait.php on lines 219, 220, 221, 222

    'cart_page_contains_cart_block' => str_contains( $cart_template->content, '<!-- wp:woocommerce/cart' ) ? 1 : 0,
    'cart_page_contains_cart_shortcode' => str_contains( $cart_template->content, '[woocommerce_cart]' ) ? 1 : 0,

    'checkout_page_contains_checkout_block' => str_contains( $checkout_template->content, '<!-- wp:woocommerce/checkout' ) ? 1 : 0,
    'checkout_page_contains_checkout_shortcode' => str_contains( $checkout_template->content, '[woocommerce_checkout]' ) ? 1 : 0,

    But of course, I’ve visited the pages where the cart block appears (the cart page basically), and it didn’t trigger the errors.

    Plugin Contributor Saad T.

    (@saadtarhi)

    Thanks for your thorough feedback, @lockoloop! While identifying the exact issue without a consistent way to reproduce it is tricky, we’ll make an effort to address the “Undefined array key 1” error. Hopefully, this will resolve it in this specific scenario. As for the Jetpack-related issue, could you guide us through the steps you took when you encountered it?

    Thread Starter lockoloop

    (@lockoloop)

    This is not resolved.

    For Jetpack, like I mentioned it’s linked to the previous error, they all appear together, so no specific step, I just thought it would help you with finding out the source of the other error.

    Hi @lockoloop

    I understand that the issue is still not resolved here.

    It looks like a third-party plugin or your theme might be causing the conflict here.

    For us to investigate this further, can you please try to switch to the default Storefront theme and only WooCommerce plugin is enabled and see if this works?

    If so, then this kind of problem is usually caused by your theme or a third-party plugin present on your site. We can run a conflict test to verify this. I’d recommend cloning your site to a staging environment and performing the tests described on this guide without modifying your live site or impacting customers. Many hosts provide staging facilities, so it’s worth checking in with them. It’s also possible to do it using the free WP Staging plugin.

    If this was caused by a third-party plugin present on your site, it would be best to reach out to the developers for further assistance here.

    If this did not resolve the issue, please share your System Status Report, that will help us further troubleshoot.

    You can find it via WooCommerce > Status. Select Get system report and then Copy for support. Once you’ve done that, you can paste it into your reply here.

    If you could also provide the fatal error logs (if any) under WooCommerce > Status > Logs.

    You could copy and paste your reply here or paste it via https://gist.github.com/ and send the link here.

    Or, if you’d like someone else to do this work for you, our trusted partner, Codeable, has an offering where they will run this test for $150 USD. If there is time left, they will also fix the problems they found.

    Let us know how it goes!

    Thread Starter lockoloop

    (@lockoloop)

    The only plugins active are Jetpack + Jetpack Boost, and Woocommerce, Woocommerce Payments and Woocommerce Blocks (and the Error log monitor).
    The theme I’m using is Twenty Twenty Three.
    So it definitely has to do with an Automattic plugin.

    ` WordPress Environment
    
    WordPress address (URL): https://www.lockoloop.nl/devstage<br>Site address (URL): https://www.lockoloop.nl/devstage<br>WC Version: 8.2.1<br>REST API Version: ✔ 8.2.1<br>WC Blocks Version: ✔ 11.4.1<br>Action Scheduler Version: ✔ 3.6.3<br>Log Directory Writable: ✔<br>WP Version: 6.3.2<br>WP Multisite: –<br>WP Memory Limit: 2 GB<br>WP Debug Mode: –<br>WP Cron: ✔<br>Language: en_US<br>External object cache: – Server Environment
    
    Server Info: Apache/2<br>PHP Version: 8.0.27<br>PHP Post Max Size: 512 MB<br>PHP Time Limit: 120<br>PHP Max Input Vars: 1000<br>cURL Version: 7.84.0<br>OpenSSL/1.1.1p
    
    SUHOSIN Installed: –<br>MySQL Version: 10.4.27-MariaDB-cll-lve<br>Max Upload Size: 2 MB<br>Default Timezone is UTC: ✔<br>fsockopen/cURL: ✔<br>SoapClient: ✔<br>DOMDocument: ✔<br>GZip: ✔<br>Multibyte String: ✔<br>Remote Post: ✔<br>Remote Get: ✔ Database
    
    WC Database Version: 8.2.1<br>WC Database Prefix: wp_<br>Total Database Size: 74.88MB<br>Database Data Size: 63.72MB<br>Database Index Size: 11.16MB<br>wp_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_woocommerce_order_items: Data: 0.11MB + Index: 0.06MB + Engine InnoDB<br>wp_woocommerce_order_itemmeta: Data: 1.52MB + Index: 2.03MB + Engine InnoDB<br>wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_acfw_store_credits: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_actionscheduler_actions: Data: 0.02MB + Index: 0.11MB + Engine InnoDB<br>wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_actionscheduler_logs: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_aioseo_cache: Data: 0.17MB + Index: 0.03MB + Engine InnoDB<br>wp_aioseo_notifications: Data: 0.14MB + Index: 0.06MB + Engine InnoDB<br>wp_aioseo_posts: Data: 0.48MB + Index: 0.02MB + Engine InnoDB<br>wp_ce4wp_abandoned_checkout: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_ce4wp_contacts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_cocart_carts: Data: 0.06MB + Index: 0.02MB + Engine InnoDB<br>wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_comments: Data: 0.38MB + Index: 0.28MB + Engine InnoDB<br>wp_FadeInText_plugin: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_gla_attribute_mapping_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_gla_budget_recommendations: Data: 0.22MB + Index: 0.14MB + Engine InnoDB<br>wp_gla_merchant_issues: Data: 0.11MB + Index: 0.00MB + Engine InnoDB<br>wp_gla_shipping_rates: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_gla_shipping_times: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_jetpack_sync_queue: Data: 0.08MB + Index: 0.06MB + Engine InnoDB<br>wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mailpoet_custom_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mailpoet_dynamic_segment_filters: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mailpoet_feature_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mailpoet_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_mailpoet_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_mailpoet_mapping_to_external_entities: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mailpoet_newsletters: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_mailpoet_newsletter_links: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_mailpoet_newsletter_option: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mailpoet_newsletter_option_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mailpoet_newsletter_posts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mailpoet_newsletter_segment: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mailpoet_newsletter_templates: Data: 2.52MB + Index: 0.00MB + Engine InnoDB<br>wp_mailpoet_scheduled_tasks: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_mailpoet_scheduled_task_subscribers: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mailpoet_segments: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_mailpoet_sending_queues: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_mailpoet_settings: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mailpoet_statistics_bounces: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_mailpoet_statistics_clicks: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_mailpoet_statistics_forms: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mailpoet_statistics_newsletters: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_mailpoet_statistics_opens: Data: 0.02MB + Index: 0.08MB + Engine InnoDB<br>wp_mailpoet_statistics_unsubscribes: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_mailpoet_statistics_woocommerce_purchases: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_mailpoet_stats_notifications: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_mailpoet_subscribers: Data: 0.02MB + Index: 0.13MB + Engine InnoDB<br>wp_mailpoet_subscriber_custom_field: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mailpoet_subscriber_ips: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mailpoet_subscriber_segment: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_mailpoet_user_agents: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mailpoet_user_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_options: Data: 9.52MB + Index: 0.17MB + Engine InnoDB<br>wp_podsrel: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_postmeta: Data: 3.52MB + Index: 4.03MB + Engine InnoDB<br>wp_posts: Data: 41.52MB + Index: 0.36MB + Engine InnoDB<br>wp_snippets: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_term_relationships: Data: 0.06MB + Index: 0.05MB + Engine InnoDB<br>wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_usermeta: Data: 0.30MB + Index: 0.16MB + Engine InnoDB<br>wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_wc_admin_notes: Data: 0.11MB + Index: 0.00MB + Engine InnoDB<br>wp_wc_admin_note_actions: Data: 0.08MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB<br>wp_wc_orders_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_order_product_lookup: Data: 0.14MB + Index: 0.19MB + Engine InnoDB<br>wp_wc_order_stats: Data: 0.05MB + Index: 0.05MB + Engine InnoDB<br>wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_product_meta_lookup: Data: 0.09MB + Index: 0.13MB + Engine InnoDB<br>wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wt_sc_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_yith_wapo_addons: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_yith_wapo_blocks: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_zbscrm_api_keys: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_zbs_admlog: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_zbs_aka: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_zbs_companies: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_zbs_contacts: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_zbs_customfields: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_zbs_dbmigration_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_zbs_dbmigration_posts: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_zbs_events: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_zbs_event_reminders: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_zbs_externalsources: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_zbs_forms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_zbs_invoices: Data: 0.02MB + Index: 0.08MB + Engine InnoDB<br>wp_zbs_lineitems: Data: 0.13MB + Index: 0.03MB + Engine InnoDB<br>wp_zbs_logs: Data: 0.05MB + Index: 0.03MB + Engine InnoDB<br>wp_zbs_meta: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_zbs_notifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_zbs_object_links: Data: 0.06MB + Index: 0.03MB + Engine InnoDB<br>wp_zbs_quotes: Data: 0.02MB + Index: 0.08MB + Engine InnoDB<br>wp_zbs_quotes_templates: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_zbs_security_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_zbs_segments: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_zbs_segments_conditions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_zbs_settings: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_zbs_sys_cronmanagerlogs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_zbs_sys_email: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_zbs_sys_email_hist: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_zbs_tags: Data: 0.06MB + Index: 0.00MB + Engine InnoDB<br>wp_zbs_tags_links: Data: 0.06MB + Index: 0.05MB + Engine InnoDB<br>wp_zbs_tax_table: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_zbs_temphash: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_zbs_tracking: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_zbs_transactions: Data: 0.02MB + Index: 0.14MB + Engine InnoDB<br>wp_zbs_workflows: Data: 0.02MB + Index: 0.06MB + Engine InnoDB Post Type Counts
    
    _pods_group: 1<br>_pods_pod: 1<br>acf-field: 1<br>acf-field-group: 1<br>attachment: 272<br>bsf_custom_fonts: 1<br>custom_css: 1<br>feedback: 30<br>mailpoet_page: 1<br>nav_menu_item: 20<br>page: 14<br>post: 5<br>product: 108<br>product_variation: 210<br>pup: 8<br>recipe: 3<br>recipes: 6<br>revision: 913<br>shop_coupon: 60<br>shop_order: 159<br>shop_order_refund: 6<br>wc_conditional_fee: 4<br>wcccf: 3<br>wp_block: 2<br>wp_global_styles: 3<br>wp_navigation: 1<br>wp_template: 2<br>wpforms: 1 Security
    
    Secure connection (HTTPS): ✔<br>Hide errors from visitors: ✔ Active Plugins (6)
    
    Error Log Monitor: by Janis Elsts – 1.7.7<br>Jetpack Boost: by Automattic - Jetpack Site Speed team – 2.2.0<br>Jetpack: by Automattic – 12.7.1<br>WooCommerce Blocks: by Automattic – 11.4.1<br>WooCommerce Payments: by Automattic – 6.7.0 (update to version 6.7.1 is available)<br>WooCommerce: by Automattic – 8.2.1 Inactive Plugins (23)
    
    Akismet Anti-spam: Spam Protection: by Automattic - Anti-spam Team – 5.3<br>All in One SEO: by All in One SEO Team – 4.4.9.2<br>Converter for Media: by matt plugins – 5.11.2<br>Cookie Notice & Compliance for GDPR / CCPA: by Hu-manity.co – 2.4.11.1<br>Custom Fonts: by Brainstorm Force – 2.1.0<br>Customizer Search: by Brainstorm Force – 1.1.6<br>Edit Custom Fields: by Jay Sitter – 0.1.10<br>Fake Pay For WooCommerce: by Anthony Graddy – 1.1.0<br>Flipbox: by WPDeveloper – 1.2.5<br>Google Listings and Ads: by WooCommerce – 2.5.10<br>Jetpack CRM: by Automattic - Jetpack CRM team – 6.2.0<br>Kadence Blocks – Gutenberg Blocks for Page Builder Features: by Kadence WP – 3.1.23<br>Limit Login Attempts Reloaded: by Limit Login Attempts Reloaded – 2.25.26<br>Lockoloop Customizer: by Lock'O'Loop – 1.1.0<br>Performance Lab: by WordPress Performance Team – 2.7.0<br>Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 3.1.6<br>Site Kit by Google: by Google – 1.111.1<br>Starter Templates: by Brainstorm Force – 3.4.5<br>WC Minimum Order Amount: by Hannah Swain – 1.1<br>WooCommerce Stripe Gateway: by WooCommerce – 7.6.2<br>WP Crontrol: by John Blackbourn & crontributors – 1.16.0<br>WP Maintenance: by Florent Maillefaud – 6.1.3<br>WP Super Cache: by Automattic – 1.10.0 Dropin Plugins (2)
    
    advanced-cache.php: advanced-cache.php<br>object-cache.php: Performance Lab Server Timing Object Cache Drop-In Must Use Plugins (1)
    
    WordPress automation by Installatron: by – Settings
    
    API Enabled: –<br>Force SSL: –<br>Currency: EUR (€)<br>Currency Position: left<br>Thousand Separator:<br>Decimal Separator: ,<br>Number of Decimals: 2<br>Taxonomies: Product Types: external (external)<br>grouped (grouped)<br>simple (simple)<br>variable (variable)
    
    Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)<br>exclude-from-search (exclude-from-search)<br>featured (featured)<br>outofstock (outofstock)<br>rated-1 (rated-1)<br>rated-2 (rated-2)<br>rated-3 (rated-3)<br>rated-4 (rated-4)<br>rated-5 (rated-5)
    
    Connected to WooCommerce.com: ✔<br>Enforce Approved Product Download Directories: –<br>HPOS feature screen enabled: –<br>HPOS feature enabled: –<br>Order datastore: WC_Order_Data_Store_CPT<br>HPOS data sync enabled: – WC Pages
    
    Shop base: #15 - /shop/<br>Cart: #16 - /cart/<br>Checkout: #17 - /checkout/<br>My account: #18 - /your-account/<br>Terms and conditions: #19 - /refund_returns/ Theme
    
    Name: Twenty Twenty-Three<br>Version: 1.2<br>Author URL: https://wordpress.org<br>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<br>WooCommerce Support: ✔ Templates
    
    Overrides: /home/u100586p107196/domains/lockoloop.nl/public_html/devstage/wp-content/plugins/woo-gutenberg-products-block/templates/notices/error.php<br>/home/u100586p107196/domains/lockoloop.nl/public_html/devstage/wp-content/plugins/woo-gutenberg-products-block/templates/notices/notice.php<br>/home/u100586p107196/domains/lockoloop.nl/public_html/devstage/wp-content/plugins/woo-gutenberg-products-block/templates/notices/success.php WooPayments
    
    Version: 6.7.0<br>Connected to WPCOM: Yes<br>WPCOM Blog ID: 202909304<br>Account ID: acct_1KUXNA2HvklwJGy6<br>Payment Gateway: Enabled<br>Test Mode: Disabled<br>UPE: Enabled (deferred_intent)<br>UPE Enabled APMs: ideal,sepa_debit<br>WooPay: Not eligible<br>Apple Pay / Google Pay: Disabled<br>Fraud Protection Level: basic<br>Multi-currency: Disabled<br>Public Key Encryption: Disabled<br>Auth and Capture: Enabled<br>Documents: Enabled<br>Logging: Disabled Admin
    
    Enabled Features: activity-panels<br>analytics<br>product-block-editor<br>coupons<br>core-profiler<br>customer-effort-score-tracks<br>import-products-task<br>experimental-fashion-sample-products<br>shipping-smart-defaults<br>shipping-setting-tour<br>homescreen<br>marketing<br>mobile-app-banner<br>navigation<br>onboarding<br>onboarding-tasks<br>product-variation-management<br>remote-inbox-notifications<br>remote-free-extensions<br>payment-gateway-suggestions<br>shipping-label-banner<br>subscriptions<br>store-alerts<br>transient-notices<br>woo-mobile-welcome<br>wc-pay-promotion<br>wc-pay-welcome-page
    
    Disabled Features: customize-store<br>minified-js<br>new-product-management-experience<br>settings<br>async-product-editor-category-field
    
    Daily Cron: ✔ Next scheduled: 2023-11-04 15:39:05 +01:00<br>Options: ✔<br>Notes: 187<br>Onboarding: completed Action Scheduler
    
    Pending: 3<br>Oldest: 2023-11-04 04:00:00 +0100<br>Newest: 2023-11-04 12:42:11 +0100 Status report information
    
    Generated at: 2023-11-03 20:48:41 +01:00<br>`


    I’ve noticed that the fact that some products don’t have description was causing a problem with Google Ads plugin, I wonder if it could be the same thing?

    Mirko P.

    (@rainfallnixfig)

    Hi @lockoloop

    Thanks for sending over your system status report.

    The only plugins active are Jetpack + Jetpack Boost, and Woocommerce, Woocommerce Payments and Woocommerce Blocks (and the Error log monitor). The theme I’m using is Twenty Twenty Three.

    I’d recommend updating all plugins on staging and testing again with all plugins disabled except WooCommerce, as previously mentioned.

    Kindly take a few moments to review the conflict testing documentation:

    https://docs.woocommerce.com/document/how-to-test-for-conflicts/

    If the issue persists, share any fatal error logs for us to investigate further.

    Thank you!

    Thread Starter lockoloop

    (@lockoloop)

    But the error is obviously linked to Jetpack and/or Blocks, wouldn’t it make more sense to have at least one of the two activated?

    Thread Starter lockoloop

    (@lockoloop)

    So the errors only happen with WooCommerce Blocks being active.

    With the newest version of Blocks, “Undefined array key 1 in BlockTemplatesController.php” is gone but the other error messages moved from targeting Jetpack to targeting file JetpackWooCommerceAnalytics.php in Blocks.

    I opened an issue on GitHub:
    https://github.com/woocommerce/woocommerce-blocks/issues/11750

    • This reply was modified 7 months, 2 weeks ago by lockoloop.
    Plugin Support Gabriel – a11n

    (@gabrielfuentes)

    Thank you so much for reaching out and letting us know you created a bug report! We really appreciate your proactive approach in reporting it directly on our GitHub repository.

    Your report is really valuable to us as it will enable us to investigate and resolve the problem promptly.

    Rest assured, our developers are already aware of the situation and they will be reaching out to you directly on GitHub. We’ll make sure to keep you updated with any progress or solutions. Thank you again for your contribution!

    Cheers,

    Thread Starter lockoloop

    (@lockoloop)

    Fixed by the latest WooCommerce Blocks update:
    https://github.com/woocommerce/woocommerce-blocks/pull/11707

    Plugin Support Tamrat A. (woo-hc)

    (@bisratlearn)

    Hi @lockoloop,

    Fixed by the latest WooCommerce Blocks update:
    https://github.com/woocommerce/woocommerce-blocks/pull/11707

    I’m thrilled to hear that the latest WooCommerce Blocks update has resolved the issue for you! Thank you for updating us on this and for your patience throughout the process.

    Your active involvement in reporting and tracking the issue played a significant role in finding a solution. Your assistance has been invaluable in enhancing WooCommerce for all users.

    I’ll go ahead and mark this thread as resolved. However, if you ever have more questions or issues in the future, don’t hesitate to kick off a new topic.

    Hope you have a fantastic day!

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Undefined array key 1 in BlockTemplatesController.php’ is closed to new replies.