Welcome Guest, Not a member yet? Register   Sign In
CI4 - problems
#1

I have declared(strict_types=1); in nearly all the CI4 files and the following errors were showing but have now been fixed and can be seen here 

https://ci4-strict.tk



folder: /app
Code:
CRITICAL - 2019-09-17 03:36:12 --> ini_set() expects parameter 2 to be string, integer given
#0 /var/www/ci4-strict.tk/app/Config/Boot/development.php(11): ini_set('display_errors', 1)
#1 /var/www/ci4-strict.tk/system/CodeIgniter.php(432): require_once('/var/www/ci4-st...')
#2 /var/www/ci4-strict.tk/system/CodeIgniter.php(190): CodeIgniter\CodeIgniter->bootstrapEnvironment()
#3 /var/www/ci4-strict.tk/system/bootstrap.php(167): CodeIgniter\CodeIgniter->initialize()
#4 /var/www/ci4-strict.tk/public_html/index.php(38): require('/var/www/ci4-st...')
#5 {main}
CRITICAL - 2019-09-17 03:36:12 --> Uncaught TypeError: strlen() expects parameter 1 to be string, integer given in /var/www/ci4-strict.tk/system/Debug/Exceptions.php:466
Stack trace:
#0 /var/www/ci4-strict.tk/system/Debug/Exceptions.php(466): strlen(18)
#1 /var/www/ci4-strict.tk/app/Views/errors/html/error_exception.php(37): CodeIgniter\Debug\Exceptions::highlightFile('/var/www/ci4-st...', 11, 15)
#2 /var/www/ci4-strict.tk/system/Debug/Exceptions.php(299): include('/var/www/ci4-st...')
#3 /var/www/ci4-strict.tk/system/Debug/Exceptions.php(170): CodeIgniter\Debug\Exceptions->render(Object(TypeError), 500)
#4 [internal function]: CodeIgniter\Debug\Exceptions->exceptionHandler(Object(TypeError))
#5 {main}
  thrown
#0 [internal function]: CodeIgniter\Debug\Exceptions->shutdownHandler()
#1 {main}


// folder system
Code:
CRITICAL - 2019-09-17 03:02:29 --> DateTime::createFromFormat() expects parameter 2 to be string, integer given
#0 /var/www/ci4-strict.tk/system/HTTP/Response.php(717): DateTime::createFromFormat('U', 1568707349)
#1 /var/www/ci4-strict.tk/system/HTTP/Response.php(691): CodeIgniter\HTTP\Response->sendHeaders()
#2 /var/www/ci4-strict.tk/system/CodeIgniter.php(1030): CodeIgniter\HTTP\Response->send()
#3 /var/www/ci4-strict.tk/system/CodeIgniter.php(379): CodeIgniter\CodeIgniter->sendResponse()
#4 /var/www/ci4-strict.tk/system/CodeIgniter.php(245): CodeIgniter\CodeIgniter->handleRequest(NULL, Object(Config\Cache), false)
#5 /var/www/ci4-strict.tk/public_html/index.php(47): CodeIgniter\CodeIgniter->run()
#6 {main}

Source files are available to download along with installation instructions.
Reply


Messages In This Thread
CI4 - problems - by John_Betong - 09-17-2019, 10:27 AM
RE: CI4 - problems - by ciadmin - 09-17-2019, 11:42 AM
RE: CI4 - problems - by John_Betong - 09-17-2019, 08:10 PM
RE: CI4 - problems - by ciadmin - 09-17-2019, 09:45 PM
RE: CI4 - problems - by John_Betong - 09-18-2019, 08:20 AM
RE: CI4 - problems - by kilishan - 09-18-2019, 08:44 AM



Theme © iAndrew 2016 - Forum software by © MyBB