1up-lab / contao-mailchimp

Contao bundle for MailChimp subscribe/unsubscribe forms (using MailChimp API V3.0)
MIT License
7 stars 3 forks source link

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

Open tuxenberger opened 2 hours ago

tuxenberger commented 2 hours ago

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 commented 2 hours ago

Contao: 4.13.49, PHP 8.2.25

bytehead commented 26 minutes ago

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

tuxenberger commented 15 minutes ago

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