Problems with webcron

After generating an auth_token and testing the webcron I get this error message:

Error: Entry "Piwik\Plugins\Monolog\Formatter\LineMessageFormatter" cannot be resolved: Parameter $logMessageFormat of __construct() has no value defined or guessable
Full definition:
Object (
    class = Piwik\Plugins\Monolog\Formatter\LineMessageFormatter
    lazy = false
    __construct(
        $logMessageFormat = #UNDEFINED#
        $allowInlineLineBreaks = (default value) true
    )
)

I can’t find any issues about this error and I have no further ideas how to solve this. I was just following this tutorial (the webcron part): https://matomo.org/docs/setup-auto-archiving/

Matomo is installed in an subfolder and is using https. Tracking works fine.

This is my webcron (anonymized and token removed):
https://www.example.org/piwik/misc/cron/archive.php?token_auth=[here is the correct token]

Any help is much appreciated!

The monolog plugin was inactive. Do not know why.
Found the solution here: https://github.com/matomo-org/matomo/issues/14404#issuecomment-488833755