10000 [5.7.x]: Seeing lots of "bacBaseManager: not found" in the logs · Issue #17115 · craftcms/cms · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[5.7.x]: Seeing lots of "bacBaseManager: not found" in the logs #17115

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

Open
boboldehampsink opened this issue Apr 17, 2025 · 8 comments
Open
Labels

Comments

@boboldehampsink
Copy link
Contributor

What happened?

Description

Since 5.7.0 I have been getting a lot of these errors in the logs:

bacBaseManager: not found

Googling that leads me to https://www.yiiframework.com/doc/api/2.0/yii-rbac-basemanager

Craft CMS version

5.7.0

PHP version

No response

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

@i-just
Copy link
Contributor
i-just commented Apr 17, 2025

Hi, thanks for getting in touch! Can you please share the list of installed plugins and versions?

@boboldehampsink
Copy link
Contributor Author
Image

@i-just
Copy link
Contributor
i-just commented Apr 17, 2025

Thanks!
yii\rbac\BaseManager is part of the https://www.yiiframework.com/doc/guide/2.0/en/security-authorization (Role Based Access Control). We don’t use it in the cms or any of our plugins, you listed above. Are you, by any chance, configuring an authManager component in your config/app.php or using it via a custom module or plugin?

@boboldehampsink
Copy link
Contributor Author

I think it has something to do with Docker or something else on my system. The logs are not coming from my web app at all. Sorry for the inconvienience.

@boboldehampsink
Copy link
Contributor Author
boboldehampsink commented Apr 22, 2025

Reopening because I do think it has to do something with Craft. I found that you guys updated the yii2-debug toolbar in 5.7.0 which uses rbac, and the latest version has this in their changelog:

Enh #459: Add yii\debug\Module::$authManager to select RBAC manager used by UserPanel (default is authManager) (jafaripur)

@boboldehampsink
Copy link
Contributor Author

The actual fix is already in yii2-debug but not released yet: yiisoft/yii2-debug#531

Maybe keep this issue open so that when its released it can be bumped in Craft?

@ricricucit
Copy link
Contributor

We're in a tricky situation where we can't say if we're getting a 500 from this issue or not.
@boboldehampsink do you get 500s out of this situation?

@boboldehampsink
Copy link
Contributor Author

No I don't think so. But it's only an issue for people who have enabled the debug bar.

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

No branches or pull requests

3 participants
0