( ! ) Fatal error: Uncaught Dotenv\Exception\ValidationException: One or more environment variables failed assertions: WP_HOME is missing, WP_SITEURL is missing. in /home/ecgsa/public_html/vendor/vlucas/phpdotenv/src/Validator.php on line 146 |
( ! ) Dotenv\Exception\ValidationException: One or more environment variables failed assertions: WP_HOME is missing, WP_SITEURL is missing. in /home/ecgsa/public_html/vendor/vlucas/phpdotenv/src/Validator.php on line 146 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.0030 | 400272 | {main}( ) | .../index.php:0 |
2 | 0.0642 | 401760 | require( '/home/ecgsa/public_html/web/wp/wp-blog-header.php ) | .../index.php:5 |
3 | 0.0673 | 412976 | require_once( '/home/ecgsa/public_html/web/wp/wp-load.php ) | .../wp-blog-header.php:13 |
4 | 0.0710 | 414864 | require_once( '/home/ecgsa/public_html/web/wp-config.php ) | .../wp-load.php:55 |
5 | 0.2041 | 562216 | require_once( '/home/ecgsa/public_html/config/application.php ) | .../wp-config.php:13 |
6 | 0.8928 | 713408 | Dotenv\Dotenv->required( $variables = [0 => 'WP_HOME', 1 => 'WP_SITEURL'] ) | .../application.php:30 |
7 | 0.9360 | 728928 | Dotenv\Validator->__construct( $variables = [0 => 'WP_HOME', 1 => 'WP_SITEURL'], $loader = class Dotenv\Loader { protected $filePaths = [0 => '/home/ecgsa/public_html/.env']; protected $envFactory = class Dotenv\Environment\DotenvFactory { protected $adapters = [...] }; protected $envVariables = class Dotenv\Environment\DotenvVariables { protected $adapters = [...]; private ${Dotenv\Environment\AbstractVariables}immutable = TRUE; private ${Dotenv\Environment\AbstractVariables}loaded = class Dotenv\Environment\Adapter\ArrayAdapter { ... } }; protected $variableNames = [] } ) | .../Dotenv.php:135 |
8 | 0.9360 | 729248 | Dotenv\Validator->assertCallback( $callback = class Closure { virtual $closure = "$this->Dotenv\{closure}", public $this = class Dotenv\Validator { protected $variables = [...]; protected $loader = class Dotenv\Loader { ... } }; public $parameter = ['$value' => '<required>'] }, $message = 'is missing' ) | .../Validator.php:47 |