WARNING: /tmp/templates_c/08/086087ec6b1f49536aca0dde3949a877ff4f4f1d35c2087ab45bea9f74ddf14d.php(48): Notice - Array to string conversion - Matomo 4.12.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) (Module: PrivacyManager, Action: usersOptOut, In CLI mode: false)
Max78
(Max)
October 10, 2022, 6:38am
#2
Sorry, unfortunately I can not help you. I have the same problem that I get this message.
in Line 48:
echo \Piwik\piwik_escape_filter($this->env, (isset($context["language"]) || array_key_exists("language", $context) ? $context["language"] : (function () { throw new RuntimeError('Variable "language" does not exist.', 2, $this->source); })()), "html", null, true);
When did you notice this? (on which page / action?)
Note:
Issue created:
opened 04:41PM - 12 Oct 22 UTC
Potential Bug
## Expected Behavior
No error, no warning
## Current Behavior
After 4.12 up… date:
```
WARNING: /tmp/templates_c/08/086087ec6b1f49536aca0dde3949a877ff4f4f1d35c2087ab45bea9f74ddf14d.php(48): Notice - Array to string conversion - Matomo 4.12.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) (Module: PrivacyManager, Action: usersOptOut, In CLI mode: false)
```
Also (in line 48) ?
```
echo \Piwik\piwik_escape_filter($this->env, (isset($context["language"]) || array_key_exists("language", $context) ? $context["language"] : (function () { throw new RuntimeError('Variable "language" does not exist.', 2, $this->source); })()), "html", null, true);
```
## Possible Solution
Fix the bug 🤣
## Steps to Reproduce (for Bugs)
Module: PrivacyManager, Action: usersOptOut, In CLI mode: false?
## Context
https://forum.matomo.org/t/mise-a-jour-4-12-message-pour-info-pas-bloquant/47700
## Your Environment
* Matomo Version: 4.12.0 after update
* PHP Version:
* Server Operating System:
* Additionally installed plugins:
i encountered the same error message when i clicked save in “Global websites settings.”
it also appears to have added “Array” in the field under “Global list of excluded referrers.”
@ifoundabug
Your bug has already been reported there:
opened 09:14AM - 12 Oct 22 UTC
Potential Bug
I wanted to use the new referrers exclude option, but i got an error while addin… g some Domains

Now it is not longer possible to save it:
