Error - Undefined Array Key

Getting the following error in Categories area when trying to configure a sidebar

Warning: Undefined array key "all" in /code/wp-content/themes/pro/cornerstone/includes/extend/custom-sidebars.php on line 481

I have categories and taxonomies configured.

Hi @brocknessmonster,

Thanks for reaching out.
I have checked your website and found the issue you described here. I have tried to replicate the issue in my local environment, but it does not appear with the latest version of Pro. The only thing that I found on your website is a Critical Error in the Tools > Site Health.

Can you please resolve it once and check if that helps? On the other hand, I will inform our development team of this for further investigation.

Thanks

Redis is only available to paid plans. While I am still developing the site it still hosted on a free server. I have saved everything to my local machine of course.

Thank you for your help.

Hey @brocknessmonster,

You’re most welcome!

I created a second sidebar and noticed the above error was only present in the first sidebar. See image in Secret Note.

Thanks.

Hey @brocknessmonster,

Please try updating your PHP version to version 8. If it still happens, we’ll report the error to our dev team. Please note that warnings are harmless or will not affect the functinality of your site so for now, if you don’t wish to see WordPress warnings, please turn off the display of warnings. Here’s a guide https://www.wpbeginner.com/wp-tutorials/how-to-turn-off-php-errors-in-wordpress/

Pantheon hosting - current php settings - php 8.2

Hey @brocknessmonster,

The given credentials is not working anymore. Also, you can try to turn off the warnings by following the recommendation from my colleague above.

Thank you.

new credentials in this secret note

Hey @brocknessmonster,

I’ve looked at the codebase in that spot, and something with the terms is broken. Where it can’t get a proper list. Either through a plugin or their terms are missing.

You can disable that warnings by checking this article: https://www.wpbeginner.com/wp-tutorials/how-to-turn-off-php-errors-in-wordpress/

Thank you.