| ( ! ) Warning: file_put_contents(/var/www/html/php7cookbook/source/chapter13/logs/20261121.log): Failed to open stream: No such file or directory in /var/www/html/php7cookbook/source/Application/Error/Handler.php on line 23 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0036 | 460000 | Application\Error\Handler->exceptionHandler( $ex = class PDOException { protected $message = 'SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near \'This Is Not SQL\' at line 1'; private string ${Exception}string = ''; protected $code = '42000'; protected string $file = '/var/www/html/php7cookbook/source/Application/Error/ThrowsException.php'; protected int $line = 23; private array ${Exception}trace = [0 => [...], 1 => [...]]; private ?Throwable ${Exception}previous = NULL; public ?array $errorInfo = [0 => '42000', 1 => 1064, 2 => 'You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near \'This Is Not SQL\' at line 1'] } ) | .../Handler.php:0 |
| 2 | 0.0037 | 460512 | file_put_contents( $filename = '/var/www/html/php7cookbook/source/chapter13/logs/20261121.log', $data = 'EXCEPTION: 2026-11-21 15:25:30 : PDOException : SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near \'This Is Not SQL\' at line 1\n', $flags = 8 ) | .../Handler.php:30 |
| 3 | 0.0038 | 460960 | Application\Error\Handler->errorHandler( $errno = 2, $errstr = 'file_put_contents(/var/www/html/php7cookbook/source/chapter13/logs/20261121.log): Failed to open stream: No such file or directory', $errfile = '/var/www/html/php7cookbook/source/Application/Error/Handler.php', $errline = 30 ) | .../Handler.php:30 |
| 4 | 0.0038 | 461280 | file_put_contents( $filename = '/var/www/html/php7cookbook/source/chapter13/logs/20261121.log', $data = 'ERROR : 2026-11-21 15:25:30 : 2 : file_put_contents(/var/www/html/php7cookbook/source/chapter13/logs/20261121.log): Failed to open stream: No such file or directory : /var/www/html/php7cookbook/source/Application/Error/Handler.php : 30\n', $flags = 8 ) | .../Handler.php:23 |