CERN Components Error Messages


After upgraded to Drupal 9 (, we keep noticing error messages like this one:

Notice : Trying to access array offset on value of type bool in Drupal\cern_components\TwigExtension\CernComponentsTwigExtension::renderThis() (line 632 of /app/web/modules/custom/cern-components/src/TwigExtension/CernComponentsTwigExtension.php )

The website looks okay, but the error constantly shows up in the admin portal.
Could you help me to check the source of the error message?

Thank you!

Hi Jiahui

Can you please confirm which version of cern_components you have installed?


Hi, it is 2.7.17.

Hi again

Thanks for confirming.

We will investigate.