Povilas Brilius
3 min readJan 6, 2021

--

Ultimately, Docker survived — it’s launching web app, freshly started CI4 on notes taking application format as usual, having no troubles.

Be careful, though with development server launch and reliability, as it works only in some cases, triggering error stream down to the page itself via XDebug and finally is out of concept reaching target of tolerating deprecation errors.

php spark serve
PHP Deprecated: Required parameter $userAgent follows optional parameter $body in /var/www/vhosts/ci4-fusionote/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php on line 161
PHP Stack trace:
PHP 1. {main}() /var/www/vhosts/ci4-fusionote/spark:0
PHP 2. require() /var/www/vhosts/ci4-fusionote/spark:44
PHP 3. CodeIgniter\CodeIgniter->initialize() /var/www/vhosts/ci4-fusionote/vendor/codeigniter4/framework/system/bootstrap.php:181
PHP 4. CodeIgniter\Config\Services::exceptions($config = *uninitialized*, $request = *uninitialized*, $response = *uninitialized*, $getShared = *uninitialized*) /var/www/vhosts/ci4-fusionote/vendor/codeigniter4/framework/system/CodeIgniter.php:194
PHP 5. CodeIgniter\Config\BaseService::getSharedInstance($key = 'exceptions', ...$params = variadic(NULL, NULL, NULL)) /var/www/vhosts/ci4-fusionote/vendor/codeigniter4/framework/system/Config/Services.php:279
PHP 6. CodeIgniter\Config\Services::exceptions($config =…

--

--

Povilas Brilius

PHP Developer in e-commerce and e-loans industry fields.