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

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

Open
math-GH opened this issue Apr 25, 2020 · 1 comment

Comments

@math-GH
Copy link

math-GH commented Apr 25, 2020

Contao 4.9.2
Photoalbums 2.2.0

[2020-04-25 16:55:18] request.INFO: Matched route "contao_backend". {"route":"contao_backend","route_parameters":{"_route":"contao_backend","_scope":"backend","_token_check":true,"_controller":"Contao\\CoreBundle\\Controller\\BackendController::mainAction"},"request_uri":"domain.de/contao?do=photoalbums2&ref=cdmMiYto","method":"GET"} []

[2020-04-25 16:55:18] request.CRITICAL: Uncaught PHP Exception Symfony\Component\ErrorHandler\Error\ClassNotFoundError: "Attempted to load class "file" from the global namespace. Did you forget a "use" statement?" at /var/www/xxx/contao-4.9.x/vendor/craffft/contao-photoalbums2/system/modules/photoalbums2/classes/Pa2.php line 165 {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\FatalThrowableError(code: 0): Attempted to load class \"file\" from the global namespace.\nDid you forget a \"use\" statement? at /var/www/xxx/contao-4.9.x/vendor/craffft/contao-photoalbums2/system/modules/photoalbums2/classes/Pa2.php:165)"} []

Betrifft die Zeile in https://github.com/Craffft/contao-photoalbums2/blob/master/system/modules/photoalbums2/classes/Pa2.php
grafik

Leider bin ich nicht fit genug in PHP, um den Fehler zu beheben.

@math-GH
Copy link
Author

math-GH commented Apr 25, 2020

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

1 participant