You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
Tested with theme 2023, with all plugins turned off except for Woocommerce and Woocommerce Blocks.
I used to get a warning once a day, each time I would land on my homepage for the first time of the day. Warning: Undefined array key 1 woo-gutenberg-products-block/src/BlockTemplatesController.php on line 184 as well.
It was accompanied of 4 warnings regarding 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
Now, I'm guessing due to a recent update of Blocks, the warning "Undefined array key 1" has disappeared, and the other error messages are not linked to the Jetpack plugin but link to a new file in Blocks. However, the code is pretty similar:
Attempt to read property "content" on null in /woo-gutenberg-products-block/src/Domain/Services/JetpackWooCommerceAnalytics.php on lines [282, 283, 284, 285, 287, 291]
Describe the bug
Tested with theme 2023, with all plugins turned off except for Woocommerce and Woocommerce Blocks.
I used to get a warning once a day, each time I would land on my homepage for the first time of the day.
Warning: Undefined array key 1 woo-gutenberg-products-block/src/BlockTemplatesController.php on line 184
as well.It was accompanied of 4 warnings regarding 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
Now, I'm guessing due to a recent update of Blocks, the warning "Undefined array key 1" has disappeared, and the other error messages are not linked to the Jetpack plugin but link to a new file in Blocks. However, the code is pretty similar:
Attempt to read property "content" on null in /woo-gutenberg-products-block/src/Domain/Services/JetpackWooCommerceAnalytics.php on lines [282, 283, 284, 285, 287, 291]
These are the incriminated lines:
Here a link to the old issue:
https://wordpress.org/support/topic/undefined-array-key-1-in-blocktemplatescontroller-php
To reproduce
Expected behavior
No error
WordPress (please complete the following information):
The text was updated successfully, but these errors were encountered: