terminal42 / contao-node

Manage content centrally as nodes and reuse them everywhere.
MIT License
29 stars 8 forks source link

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

Closed kikmedia closed 2 years ago

kikmedia commented 2 years ago

On a nearly empty 5.04 (e.g. Contao plus the Rocksolid theme stuff) I get the following back end error if I try to open the nodes menu:

Stack Trace:
Symfony\Component\ErrorHandler\Error\ClassNotFoundError:
Attempted to load class "Table" from the global namespace.
Did you forget a "use" statement for e.g. "Symfony\Component\Console\Helper\Table", "Spatie\SchemaOrg\Table", "League\CommonMark\Extension\Table\Table", "Doctrine\ORM\Mapping\Table" or "Doctrine\DBAL\Schema\Table"?

  at vendor/contao/core-bundle/contao/classes/Backend.php:294
  at Contao\Backend->getBackendModule()
     (vendor/contao/core-bundle/contao/controllers/BackendMain.php:149)
  at Contao\BackendMain->run()
     (vendor/contao/core-bundle/src/Controller/BackendController.php:44)
  at Contao\CoreBundle\Controller\BackendController->mainAction()
     (vendor/symfony/http-kernel/HttpKernel.php:153)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:75)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:202)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (public/index.php:44)   
qzminski commented 2 years ago

Please update to 1.5.13.