Skip to content

[Bug] Error „The plugin ActivityLog is not enabled“ Matomo 5.x / TagManager #23735

@JidWictut

Description

@JidWictut

What happened?

When accessing Matomo dashboards or loading the TagManager module, the following error appears in the log:
ERROR Piwik\ExceptionHandler [...] Uncaught exception: /core/FrontController.php(502): The plugin ActivityLog is not enabled. You can activate the plugin on Settings > Plugins page in Matomo. [Query: ?action=index&module=ActivityLog, CLI mode: 0]

What should happen?

Error appears regularly in matomo.log.

ActivityLog plugin was never installed (paid version).

Dashboard or TagManager functions otherwise run normally.

How can this be reproduced?

The error is caused by the TagManager plugin.

In plugins/TagManager/Activity/BaseActivity.php, there is the following line:

use Piwik\Plugins\ActivityLog\Activity\Activity;

Since the ActivityLog plugin is not installed, PHP tries to find the namespace when loading this class, fails, and throws the error.

Other plugins or dashboards are not affected.

Matomo version

5.5.0

PHP version

8.3

Server operating system

No response

What browsers are you seeing the problem on?

No response

Computer operating system

No response

Relevant log output

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    Potential BugSomething that might be a bug, but needs validation and confirmation it can be reproduced.To TriageAn issue awaiting triage by a Matomo core team member

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions