You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Try to connect to my matomo instance and get
Fatal error: Uncaught Error: Call to undefined function Piwik\Plugin\getenv() in analytics.serveur.digital/core/Plugin/Manager.php:345 Stack trace: #15849
analytics.serveur.digital/core/bootstrap.php(48): Piwik\Plugin\Manager::initPluginDirectories() #1 analytics.serveur.digital/index.php(19): require_once('...') #2 {main} thrown in
analytics.serveur.digital/core/Plugin/Manager.php on line 345
Current Behavior
Just update to latest version
Possible Solution
I have try to reinstall with command line,
I have try to reinstall by downloading zip script
I have fix permission
Hm.... getenv() is actually a php functions and no method in that namespace. Normally PHP should automatically use the php function if it is not defined in the namespace (when being used unqualified).
Was Matomo working before on that server or weren't you able to install it? Just wondering if anything changed on your server or within Matomo.
Hi Stefan,
It look I solve the issue by downgrading my PHP version from 8.0 to 7.4
Right now I can re-access it nicely (lucky I’m :-) )
Thank you !
Le 5 mai 2022 à 15:29:06, Stefan Giehl ***@***.***) a écrit:
Hm.... getenv() is actually a php functions and no method in that namespace. Normally PHP should automatically use the php function if it is not defined in the namespace (when being used unqualified).
Was Matomo working before on that server or weren't you able to install it? Just wondering if anything changed on your server or within Matomo.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.
Ok. I'll close this issue for now, as I'm not able to reproduce that. If you decide to update PHP later and run into the same problem, feel free to reopen/create an issue. Thanks.
sgiehl
added
worksforme
The issue cannot be reproduced and things work as intended.
and removed
Potential Bug
Something that might be a bug, but needs validation and confirmation it can be reproduced.
labels
May 5, 2022
Expected Behavior
Try to connect to my matomo instance and get
Fatal error: Uncaught Error: Call to undefined function Piwik\Plugin\getenv() in analytics.serveur.digital/core/Plugin/Manager.php:345 Stack trace: #15849
analytics.serveur.digital/core/bootstrap.php(48): Piwik\Plugin\Manager::initPluginDirectories() #1 analytics.serveur.digital/index.php(19): require_once('...') #2 {main} thrown in
analytics.serveur.digital/core/Plugin/Manager.php on line 345
Current Behavior
Just update to latest version
Possible Solution
I have try to reinstall with command line,
I have try to reinstall by downloading zip script
I have fix permission
Steps to Reproduce (for Bugs)
Context
I can't go to my analytics
https://analytics.serveur.digital/
Your Environment
The text was updated successfully, but these errors were encountered: