Template.php(576): Deprecated - array_key_exists(): Using array_key_exists() on objects is deprecated

WARNING: /var/www/html/matomo/vendor/twig/twig/src/Template.php(576): Deprecated - array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead - Matomo 3.11.0 - Please report this message in the Matomo forums: https://forum.matomo.org (please do a search first as it might have been reported already)

Hi,

Are you by chance using PHP 7.4?

This has been fixed in Twig recently:

So my change that updates Twig to the latest version also fixes this accidently:

Sorry - yes i use php7.4

1 Like

Hi,

No problem. Keep in mind that PHP 7.4 is a beta and Matomo doesn’t support it yet.

But nevertheless keep testing and reporting errors and warnings as this way they can be fixed until 7.4 is released.

You can find the current status here: