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

dirname() expects exactly 1 parameter, 2 given #25

Open
lektriq opened this issue Oct 11, 2020 · 2 comments
Open

dirname() expects exactly 1 parameter, 2 given #25

lektriq opened this issue Oct 11, 2020 · 2 comments

Comments

@lektriq
Copy link

lektriq commented Oct 11, 2020

Seeing this error on 2 sites, both recently upgraded to MODX 2.8.0 and controlerrorLog to 1.4.0-beta.

[2020-10-12 00:20:04] (ERROR @ /home/site/core/components/controlerrorlog/processors/mgr/get.class.php : 131) PHP warning: dirname() expects exactly 1 parameter, 2 given

Once above error is cleared, ControlErrorLog is shows a notification but no error message content.

On a third site, I have both MODX 2.8.0 and controlErrorLog 1.4.0-beta, but do not see above issues.

@sergant210
Copy link
Owner

This error appears on sites with PHP < 7.0.

@lektriq
Copy link
Author

lektriq commented Oct 12, 2020

I will reinstall, I have everything at 7.4 now, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants