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

Invalid configuration for path "monolog.handlers.main" #3906

Closed
shefik opened this Issue Jun 11, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@shefik
Contributor

shefik commented Jun 11, 2018

Q A
Zikula Version 2.x
PHP Version 7.2.1

Expected behavior

No error should be thrown.

Actual behavior

Error thrown on any page:

Invalid configuration for path "monolog.handlers.main": Warning: count(): Parameter must be an array or an object that implements Countable

Steps to reproduce

Run Zikula via prod env config setting. The dev env config setting does not throw the error.

@shefik

This comment has been minimized.

Contributor

shefik commented Jun 11, 2018

Upgrade to Monolog 3.1.2+ is needed to support PHP 7.2+.

symfony/monolog-bundle#223

@Guite Guite added this to the 2.0.8 milestone Jun 11, 2018

@Guite Guite closed this in a79c891 Jun 11, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment