S
S
Sergey Beloventsev2018-05-28 23:01:30
Yii
Sergey Beloventsev, 2018-05-28 23:01:30

What is this Uncaught Error: Call to undefined function Codeception\Module\codecept_absolute_path()?

Codeception is installed globally and locally in the project, the database is configured, I try to run
codeception build, I get an error

PHP Fatal error:  Uncaught Error: Call to undefined function Codeception\Module\codecept_absolute_path() in /var/www/tiger.lc/vendor/codeception/base/src/Codeception/Module/Yii2.php:242
Stack trace:
#0 /home/sergalas/.composer/vendor/codeception/codeception/src/Codeception/Module.php(98): Codeception\Module\Yii2->validateConfig()
#1 /home/sergalas/.composer/vendor/codeception/codeception/src/Codeception/Module.php(76): Codeception\Module->_setConfig(Array)
#2 [internal function]: Codeception\Module->__construct(Object(Codeception\Lib\ModuleContainer), Array)
#3 /var/www/tiger.lc/vendor/codeception/base/src/Codeception/Lib/Di.php(84): ReflectionClass->newInstanceArgs(Array)
#4 /var/www/tiger.lc/vendor/codeception/base/src/Codeception/Lib/ModuleContainer.php(92): Codeception\Lib\Di->instantiate('Codeception\\Mod...', Array, false)
#5 /var/www/tiger.lc/vendor/codeception/base/src/Codeception/Lib/Generator/Actions.php(61): Codeception\Lib\ModuleContainer->create('Yii2')
#6 /home/sergalas/.composer/vendor/codeception/codeception/sr in /var/www/tiger.lc/vendor/codeception/base/src/Codeception/Module/Yii2.php on line 242

What have I done wrong ?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question