Severity: Warning
Message: Undefined variable $typy
Filename: custom_classes/TrybTyp.php
Line Number: 246
object(PDOException)#60 (8) {
["message":protected]=>
string(94) "SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'errstr' at row 1"
["string":"Exception":private]=>
string(0) ""
["code":protected]=>
string(5) "22001"
["file":protected]=>
string(89) "/var/www/otouczelnie/test/application/includes/classes/core/PDOStatementWrapper.class.php"
["line":protected]=>
int(22)
["trace":"Exception":private]=>
array(4) {
[0]=>
array(5) {
["file"]=>
string(89) "/var/www/otouczelnie/test/application/includes/classes/core/PDOStatementWrapper.class.php"
["line"]=>
int(22)
["function"]=>
string(7) "execute"
["class"]=>
string(12) "PDOStatement"
["type"]=>
string(2) "->"
}
[1]=>
array(5) {
["file"]=>
string(69) "/var/www/otouczelnie/test/application/custom_classes/ErrorManager.php"
["line"]=>
int(33)
["function"]=>
string(7) "execute"
["class"]=>
string(19) "PDOStatementWrapper"
["type"]=>
string(2) "->"
}
[2]=>
array(5) {
["file"]=>
string(35) "/var/www/otouczelnie/test/index.php"
["line"]=>
int(265)
["function"]=>
string(11) "handleError"
["class"]=>
string(12) "ErrorManager"
["type"]=>
string(2) "::"
}
[3]=>
array(1) {
["function"]=>
string(13) "fatal_handler"
}
}
["previous":"Exception":private]=>
NULL
["errorInfo"]=>
array(3) {
[0]=>
string(5) "22001"
[1]=>
int(1406)
[2]=>
string(42) "Data too long for column 'errstr' at row 1"
}
}
object(PDOStatementWrapper)#330 (2) {
["queryString"]=>
string(650) "INSERT INTO `system_log`
(`errno`,
`errfile`,
`errstr`,
`errline`,
`additional_data`,
`occurance`,
`trace`)
VALUES (
:ERRNO,
:ERRFILE,
:ERRSTR,
:ERRLINE,
:ADDITIONAL,
1,
:TRACE) ON DUPLICATE KEY
UPDATE occurance = occurance+1, updated_at = NOW();"
["values_arr":"PDOStatementWrapper":private]=>
array(6) {
[":ERRNO"]=>
int(1)
[":ERRFILE"]=>
string(144) "/var/www/otouczelnie/test/themes/modern/smarty_templates/compile/63bb2e8280b57eaded9121e10e7f52838455b582_0.file.poziom_forma_artykul_ks.tpl.php"
[":ERRSTR"]=>
string(1634) "Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /var/www/otouczelnie/test/themes/modern/smarty_templates/compile/63bb2e8280b57eaded9121e10e7f52838455b582_0.file.poziom_forma_artykul_ks.tpl.php:24
Stack trace:
#0 /var/www/otouczelnie/test/application/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_66871026e7dfb1_13267708()
#1 /var/www/otouczelnie/test/application/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode()
#2 /var/www/otouczelnie/test/application/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render()
#3 /var/www/otouczelnie/test/application/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(238): Smarty_Internal_Template->render()
#4 /var/www/otouczelnie/test/application/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute()
#5 /var/www/otouczelnie/test/application/modules/artykul/controllers/artykul_kierunek_studiow.php(251): Smarty_Internal_TemplateBase->fetch()
#6 /var/www/otouczelnie/test/application/modules/artykul/controllers/artykul_kierunek_studiow.php(431): artykul_kierunek_studiow->_wyswietl_czego_szukasz()
#7 /var/www/otouczelnie/test/application/modules/artykul/controllers/artykul.php(2228): artykul_kierunek_studiow->kierunek_artykul()
#8 /var/www/otouczelnie/test/system/core/CodeIgniter.php(359): artykul->strona()
#9 /var/www/otouczelnie/test/index.php(238): require_once('...')
#10 {main}
thrown"
[":ERRLINE"]=>
int(24)
[":ADDITIONAL"]=>
NULL
[":TRACE"]=>
string(153) "Array
(
[0] => Array
(
[function] => fatal_handler
[args] => Array
(
)
)
)
"
}
}
string(650) "INSERT INTO `system_log`
(`errno`,
`errfile`,
`errstr`,
`errline`,
`additional_data`,
`occurance`,
`trace`)
VALUES (
:ERRNO,
:ERRFILE,
:ERRSTR,
:ERRLINE,
:ADDITIONAL,
1,
:TRACE) ON DUPLICATE KEY
UPDATE occurance = occurance+1, updated_at = NOW();"