Closed joashrajin closed 2 years ago
Hi @joashrajin,
Thank you for reporting the issue. The marketing page is being developed in another repository: woocommerce/woocommerce-admin
I am going to move your bug report there so that the right team could take a look further.
Hi, @joashrajin Thank you for reporting the issue. I was able to reproduce this bug and confirmed "WooCommerce knowledge base" can't load the data properly.
Looks like count(NULL)
is a warning in PHP 7 but becomes a fatal error in PHP 8+. I think we can add a null check to fix this.
We'll work on it as soon as possible.
Prerequisites
Describe the bug
I have multiple sites using PHP 8+ which trigger this error when opening the Marketing > Overview Page. The error is:
Expected behavior
There should not be an error triggered
Actual behavior
A Critical Error is triggered
Steps to reproduce
WordPress Environment
Isolating the problem