Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Entry "Piwik\Plugins\MultiSites\Controller" cannot be resolved #22878

Open
4 tasks done
hyzteric opened this issue Dec 18, 2024 · 4 comments
Open
4 tasks done

[Bug] Entry "Piwik\Plugins\MultiSites\Controller" cannot be resolved #22878

hyzteric opened this issue Dec 18, 2024 · 4 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc. triaged

Comments

@hyzteric
Copy link

What happened?

Since adding a new site, an error message shows every time when I click on "Tous les sites web" (all websites) on the top right corner of the dashboard.
Deleting the last added site did not change anythying.
I have 3 other Matomo server running with the same versions but no issues with them. The have only a few sites when the Matomo instance that has the issue has 400+ sites.

image

What should happen?

I should see the list of websites with stats

How can this be reproduced?

Click on "Tous les sites web" (all websites) on the top right corner of the dashboard.

image

Matomo version

5.2.0

PHP version

8.2.27

Server operating system

Rocky Linux 9.5

What browsers are you seeing the problem on?

Not applicable (e.g. an API call etc.)

Computer operating system

Windows 10

Relevant log output

[18-Dec-2024 14:21:14 UTC] [matomo.xxxxx.xx] Error in Matomo: Entry "Piwik\Plugins\MultiSites\Controller" cannot be resolved: Entry "Piwik\Plugins\FeatureFlags\FeatureFlagManager" cannot be resolved: Entry "Piwik\Log\Logger" cannot be resolved: Parameter $name of __construct() has no value defined or guessableFull definition:Object (    class = Piwik\Log\Logger    lazy = false    __construct(        $name = #UNDEFINED#        $handlers = (default value) array ()        $processors = (default value) array ()    ))Full definition:Object (    class = Piwik\Plugins\FeatureFlags\FeatureFlagManager    lazy = false    __construct(        $storages = get(featureflag.storages)        $logger = get(Piwik\Log\Logger)    ))Full definition:Object (    class = Piwik\Plugins\MultiSites\Controller    lazy = false    __construct(        $translator = get(Piwik\Translation\Translator)        $featureFlagManager = get(Piwik\Plugins\FeatureFlags\FeatureFlagManager)    ))

Validations

@hyzteric hyzteric added Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. To Triage An issue awaiting triage by a Matomo core team member labels Dec 18, 2024
@sgiehl
Copy link
Member

sgiehl commented Dec 19, 2024

Hez @hyzteric. Sorry to hear you have trouble with the update. As this seems not to have happened on other instances yet, its hard to identify a possible reason without further information.
Would you mind posting the results of a system check? Maybe that helps us to identify possible reasons.

@hyzteric
Copy link
Author

Sure, you can find it here :
matomo_system_check.txt

@randy-innocraft
Copy link

Hi @hyzteric. Thank you for creating the issue and bringing this to our attention, that's very appreciated. We have reviewed and triaged the problem internally, and we have confirmed it is an issue. Our team will prioritise this, and we will update you on the progress here when we have an update to share. If you have any further information or questions, please feel free to add them here.

To workaround this issue, you can activate the Monolog plugin.

@randy-innocraft randy-innocraft added Bug For errors / faults / flaws / inconsistencies etc. triaged and removed Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. To Triage An issue awaiting triage by a Matomo core team member labels Jan 8, 2025
@hyzteric
Copy link
Author

hyzteric commented Jan 8, 2025

Workaround confirmed : I activated the Monolog plugin and the issue is gone. 😊
Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. triaged
Projects
None yet
Development

No branches or pull requests

3 participants