2, include_once(Utils/OIMView.php): failed to open stream: No such file or directory, /home/pi/web/OIM/src/Controllers/ErrorController.php, 4object(UnexpectedValueException)#11 (7) { ["message":protected]=> string(98) "The stream or file "ErrorLogger.log" could not be opened: failed to open stream: Permission denied" ["string":"Exception":private]=> string(0) "" ["code":protected]=> int(0) ["file":protected]=> string(81) "/home/pi/web/OIM/src/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php" ["line":protected]=> int(107) ["trace":"Exception":private]=> array(12) { [0]=> array(6) { ["file"]=> string(93) "/home/pi/web/OIM/src/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php" ["line"]=> int(37) ["function"]=> string(5) "write" ["class"]=> string(29) "Monolog\Handler\StreamHandler" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> array(8) { ["message"]=> string(148) "1527314385 include_once(Utils/OIMView.php): failed to open stream: No such file or directory 4 /home/pi/web/OIM/src/Controllers/ErrorController.php " ["context"]=> array(0) { } ["level"]=> int(400) ["level_name"]=> string(5) "ERROR" ["channel"]=> string(6) "logger" ["datetime"]=> object(DateTime)#9 (3) { ["date"]=> string(26) "2018-05-26 07:59:45.242346" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } ["extra"]=> array(0) { } ["formatted"]=> string(191) "[2018-05-26 07:59:45] logger.ERROR: 1527314385 include_once(Utils/OIMView.php): failed to open stream: No such file or directory 4 /home/pi/web/OIM/src/Controllers/ErrorController.php [] [] " } } } [1]=> array(6) { ["file"]=> string(66) "/home/pi/web/OIM/src/vendor/monolog/monolog/src/Monolog/Logger.php" ["line"]=> int(337) ["function"]=> string(6) "handle" ["class"]=> string(41) "Monolog\Handler\AbstractProcessingHandler" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> array(8) { ["message"]=> string(148) "1527314385 include_once(Utils/OIMView.php): failed to open stream: No such file or directory 4 /home/pi/web/OIM/src/Controllers/ErrorController.php " ["context"]=> array(0) { } ["level"]=> int(400) ["level_name"]=> string(5) "ERROR" ["channel"]=> string(6) "logger" ["datetime"]=> object(DateTime)#9 (3) { ["date"]=> string(26) "2018-05-26 07:59:45.242346" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } ["extra"]=> array(0) { } ["formatted"]=> string(191) "[2018-05-26 07:59:45] logger.ERROR: 1527314385 include_once(Utils/OIMView.php): failed to open stream: No such file or directory 4 /home/pi/web/OIM/src/Controllers/ErrorController.php [] [] " } } } [2]=> array(6) { ["file"]=> string(66) "/home/pi/web/OIM/src/vendor/monolog/monolog/src/Monolog/Logger.php" ["line"]=> int(616) ["function"]=> string(9) "addRecord" ["class"]=> string(14) "Monolog\Logger" ["type"]=> string(2) "->" ["args"]=> array(3) { [0]=> int(400) [1]=> string(148) "1527314385 include_once(Utils/OIMView.php): failed to open stream: No such file or directory 4 /home/pi/web/OIM/src/Controllers/ErrorController.php " [2]=> array(0) { } } } [3]=> array(6) { ["file"]=> string(41) "/home/pi/web/OIM/src/Core/ErrorLogger.php" ["line"]=> int(104) ["function"]=> string(5) "error" ["class"]=> string(14) "Monolog\Logger" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> string(148) "1527314385 include_once(Utils/OIMView.php): failed to open stream: No such file or directory 4 /home/pi/web/OIM/src/Controllers/ErrorController.php " } } [4]=> array(6) { ["file"]=> string(41) "/home/pi/web/OIM/src/Core/ErrorLogger.php" ["line"]=> int(97) ["function"]=> string(13) "sendToLogFile" ["class"]=> string(11) "ErrorLogger" ["type"]=> string(2) "::" ["args"]=> array(1) { [0]=> object(ErrorLog)#7 (5) { ["datetime"]=> int(1527314385) ["project"]=> string(3) "OIM" ["message"]=> string(81) "include_once(Utils/OIMView.php): failed to open stream: No such file or directory" ["stacktrace"]=> string(54) "4 /home/pi/web/OIM/src/Controllers/ErrorController.php" ["details"]=> NULL } } } [5]=> array(6) { ["file"]=> string(41) "/home/pi/web/OIM/src/Core/ErrorLogger.php" ["line"]=> int(79) ["function"]=> string(6) "handle" ["class"]=> string(11) "ErrorLogger" ["type"]=> string(2) "::" ["args"]=> array(2) { [0]=> string(81) "include_once(Utils/OIMView.php): failed to open stream: No such file or directory" [1]=> string(54) "4 /home/pi/web/OIM/src/Controllers/ErrorController.php" } } [6]=> array(6) { ["file"]=> string(52) "/home/pi/web/OIM/src/Controllers/ErrorController.php" ["line"]=> int(4) ["function"]=> string(11) "handleError" ["class"]=> string(11) "ErrorLogger" ["type"]=> string(2) "::" ["args"]=> array(5) { [0]=> int(2) [1]=> string(81) "include_once(Utils/OIMView.php): failed to open stream: No such file or directory" [2]=> string(52) "/home/pi/web/OIM/src/Controllers/ErrorController.php" [3]=> int(4) [4]=> array(1) { ["class"]=> string(15) "ErrorController" } } } [7]=> array(3) { ["file"]=> string(52) "/home/pi/web/OIM/src/Controllers/ErrorController.php" ["line"]=> int(4) ["function"]=> string(12) "include_once" } [8]=> array(4) { ["file"]=> string(36) "/home/pi/web/OIM/src/Core/Engine.php" ["line"]=> int(39) ["args"]=> array(1) { [0]=> string(52) "/home/pi/web/OIM/src/Controllers/ErrorController.php" } ["function"]=> string(12) "include_once" } [9]=> array(4) { ["function"]=> string(8) "autoload" ["class"]=> string(6) "Engine" ["type"]=> string(2) "::" ["args"]=> array(1) { [0]=> string(15) "ErrorController" } } [10]=> array(4) { ["file"]=> string(36) "/home/pi/web/OIM/src/Core/Engine.php" ["line"]=> int(98) ["function"]=> string(17) "spl_autoload_call" ["args"]=> array(1) { [0]=> string(15) "ErrorController" } } [11]=> array(6) { ["file"]=> string(30) "/home/pi/web/OIM/src/index.php" ["line"]=> int(18) ["function"]=> string(3) "run" ["class"]=> string(6) "Engine" ["type"]=> string(2) "->" ["args"]=> array(0) { } } } ["previous":"Exception":private]=> NULL }
Fatal error: Uncaught UnexpectedValueException: The stream or file "ErrorLogger.log" could not be opened: failed to open stream: Permission denied in /home/pi/web/OIM/src/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:107 Stack trace: #0 /home/pi/web/OIM/src/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(37): Monolog\Handler\StreamHandler->write(Array) #1 /home/pi/web/OIM/src/vendor/monolog/monolog/src/Monolog/Logger.php(337): Monolog\Handler\AbstractProcessingHandler->handle(Array) #2 /home/pi/web/OIM/src/vendor/monolog/monolog/src/Monolog/Logger.php(616): Monolog\Logger->addRecord(400, '1527314385 The ...', Array) #3 /home/pi/web/OIM/src/Core/ErrorLogger.php(104): Monolog\Logger->error('1527314385 The ...') #4 /home/pi/web/OIM/src/Core/ErrorLogger.php(97): ErrorLogger::sendToLogFile(Object(ErrorLog)) #5 /home/pi/web/OIM/src/Core/ErrorLogger.php(86): ErrorLogger::handle('The stream or f...', '#0 /home/pi/web...') #6 [internal function]: ErrorLogger::handleException(Object(Unexpecte in /home/pi/web/OIM/src/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php on line 107