...
1. Undefined index: HTTP_HOST ... -- command-line calls!
ERROR - 2017-12-04 10:41:21 --> Severity: Notice --> Undefined index: HTTP_HOST ... /cloudworks/system/application/config/config.php 15
system/application/config.php:
$__dir = str_replace('\\', '/', dirname($_SERVER[ 'SCRIPT_NAME' ]));
$config[ 'base_url' ] = 'http://' . filter_input( INPUT_SERVER, 'HTTP_HOST' ) . $__dir;
if ('/' !== $__dir) {
$config['base_url'] .= '/';
}
2. 8192 --> Methods with the same name as their class ...
ERROR - 2017-11-30 16:39:53 --> Severity: 8192 --> Methods with the same name as their class will not be constructors in a future version of PHP; CI_User_agent has a deprecated constructor ... /cloudworks/system/libraries/User_agent.php 29
....
...
1.
Undefined index: HTTP_HOST ...-- command-line calls!system/application/config.php:2.
8192 --> Methods with the same name as their class .......