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

Error: Attempted to load class "MailchimpModel" from the global namespace #54

Open
tuxenberger opened this issue Nov 5, 2024 · 3 comments
Labels

Comments

@tuxenberger
Copy link

I have a contao site error this morning, after checking the log i found that mailchimp extension made an internal server error. The error screen says:

Attempted to load class "MailchimpModel" from the global namespace. Did you forget a "use" statement?

googled that and search in the contao forum, but found nothing. Any idea?

Below the detaile of the error log:

[2024-11-05T09:38:17.646987+01:00] request.INFO: Matched route "contao_backend". {"route":"contao_backend","route_parameters":{"_route":"contao_backend","_scope":"backend","_controller":"Contao\CoreBundle\Controller\BackendController::mainAction"},"request_uri":"https://mydomain.de/contao?act=edit&do=themes&id=168&nb=1&popup=1&rt=8628b60c3c9079be.LxwZEm43a_g05VEC7xsqO2WIzJk3vcLpsBIbBI8PvZY.Zi9wfTxiPKFC03xIsFxbCyf6ud5Bx--FiUJdXMdF-_1-eDR8BU0NuXDXOg&table=tl_module","method":"GET"} []

[2024-11-05T09:38:17.826071+01:00] request.CRITICAL: Uncaught PHP Exception Symfony\Component\ErrorHandler\Error\ClassNotFoundError: "Attempted to load class "MailchimpModel" from the global namespace. Did you forget a "use" statement?" at /html/contao-413/vendor/contao/core-bundle/src/Resources/contao/library/Contao/Model/Registry.php line 112 {"exception":"[object] (Symfony\Component\ErrorHandler\Error\ClassNotFoundError(code: 0): Attempted to load class "MailchimpModel" from the global namespace.\nDid you forget a "use" statement? at /html/contao-413/vendor/contao/core-bundle/src/Resources/contao/library/Contao/Model/Registry.php:112)"} []

@tuxenberger
Copy link
Author

Contao: 4.13.49, PHP 8.2.25

@bytehead bytehead added the bug label Nov 5, 2024
@bytehead bytehead self-assigned this Nov 5, 2024
@bytehead bytehead added invalid and removed bug labels Nov 5, 2024
@bytehead bytehead removed their assignment Nov 5, 2024
@bytehead
Copy link
Member

bytehead commented Nov 5, 2024

Cannot reproduce this error. Please provide steps, how you reproduce it.

@tuxenberger
Copy link
Author

I am trying to narrow down the error and reproduce it. If I can, I'll post the description here.

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

2 participants