Configuration class must be subclass of Doctrine\ORM\Configuration, Doctrine\ORM\Configuration given
- Failips
- Člen | 54
Ahoj,
po nasadení funkčného projektu na server dostávame nasledujúcu chybu:
Nette\InvalidArgumentException
Configuration class must be subclass of Doctrine\ORM\Configuration, Doctrine\ORM\Configuration given.
CALL STACK:
.../nettrine/orm/src/DI/OrmExtension.php:58 Nettrine\ORM\DI\OrmExtension->loadDoctrineConfiguration()
.../www/vendor/nette/di/src/DI/Compiler.php:229 Nettrine\ORM\DI\OrmExtension->loadConfiguration()
.../www/vendor/nette/di/src/DI/Compiler.php:204 Nette\DI\Compiler->processExtensions()
.../nette/di/src/DI/ContainerLoader.php:119 Nette\DI\Compiler->compile()
.../nette/di/src/DI/ContainerLoader.php:79 Nette\DI\ContainerLoader->generate()
.../nette/di/src/DI/ContainerLoader.php:44 Nette\DI\ContainerLoader->loadFile()
.../bootstrap/src/Bootstrap/Configurator.php:242 Nette\DI\ContainerLoader->load()
.../bootstrap/src/Bootstrap/Configurator.php:221 Nette\Configurator->loadContainer()
.../ais.aeclab.local/www/app/bootstrap.php:22 Nette\Configurator->createContainer()
.../ais.aeclab.local/www/htdocs/index.php:3 require()
Na serveri to beží cez Apache/2.4.6 (CentOS) s PHP PHP 7.3.7.
Neviete čím môže byť táto chyba spôsobená a ako ju odstrániť?
Vďaka, Filip