Error on deploy
Kleinast opened this issue · 1 comments
Kleinast commented
Hi,
What ever recipe I use, I always get this error:
PHP Fatal error: Call to undefined function set() in /home/bpicharles/html/webloyer2/storage/app/deploy_9bcd0680be5c0480c48194ca8171f964.php on line 3
PHP Stack trace:
PHP 1. {main}() /home/bpicharles/html/webloyer2/vendor/bin/dep:0
PHP 2. require() /home/bpicharles/html/webloyer2/vendor/bin/dep:4
PHP 3. require() phar:///home/bpicharles/html/webloyer2/vendor/bin/dep/bin/dep:106
It seem don't have deployer base function included, wired isn't it ?
Do I have miss something in my install or config ?
Thanx
ngmy commented
Hi,
It is because Deployer version has changed from 3.x to 4.x.
Please use the latest stable version of Webloyer.
The current latest stable version is 0.40.0.
Please note that this version requires PHP 5.6.0 or higher.
Also, if you have created a custom recipe file, you need to add a namespace for functions to your custom recipe file. For details, please refer to the upgrade guide of Deployer.
Otherwise, please get version 3.x depoyer.phar and replace with your vendor/bin/dep
.