object(TypeError)#6 (7) { ["message":protected]=> string(72) "array_key_last(): Argument #1 ($array) must be of type array, null given" ["string":"Error":private]=> string(0) "" ["code":protected]=> int(0) ["file":protected]=> string(37) "/var/www/html/controllers/Picture.php" ["line":protected]=> int(116) ["trace":"Error":private]=> array(3) { [0]=> array(3) { ["file"]=> string(37) "/var/www/html/controllers/Picture.php" ["line"]=> int(116) ["function"]=> string(14) "array_key_last" } [1]=> array(5) { ["file"]=> string(34) "/var/www/html/lib/class_layout.inc" ["line"]=> int(85) ["function"]=> string(7) "getData" ["class"]=> string(18) "Controller_Picture" ["type"]=> string(2) "->" } [2]=> array(5) { ["file"]=> string(23) "/var/www/html/index.php" ["line"]=> int(26) ["function"]=> string(6) "render" ["class"]=> string(12) "class_layout" ["type"]=> string(2) "::" } } ["previous":"Error":private]=> NULL }