Uncaught Exception: fread(): Argument #1 ($stream) must be of type resource, bool given
$exception TypeError#7 (7) "fread(): Argument #1 ($stream) must be of type resource, bool given"
  • Properties (7)
  • Methods (11)
  • toString
  • protected message -> string (67) "fread(): Argument #1 ($stream) must be of type resource, bool given"
    private string -> string (0) ""
    protected code -> integer 0
    protected file -> string (38) "/home/chamber/public_html/msg_file.php"
    • File (1.1KB)
    • -rw-r--r-- 1008 1007 1124 Jan 20 2023 /home/chamber/public_html/msg_file.php
      
    protected line -> integer 28
    private trace -> array (1)
    0 => array (4)
    file => string (38) "/home/chamber/public_html/msg_file.php"
    • File (1.1KB)
    • -rw-r--r-- 1008 1007 1124 Jan 20 2023 /home/chamber/public_html/msg_file.php
      
    line => integer 28
    function => string (5) "fread"
    args => array (2)
    0 => boolean false
    1 => boolean false
    private previous -> null
  • public __construct(string $message = '', int $code = 0, ?Throwable $previous = null)
    new \TypeError()
    public __wakeup()
    final public getMessage(): string
    $exception->getMessage()
    final public getCode()
    $exception->getCode()
    final public getFile(): string
    $exception->getFile()
    final public getLine(): int
    $exception->getLine()
    final public getTrace(): array
    $exception->getTrace()
    final public getPrevious(): ?Throwable
    $exception->getPrevious()
    final public getTraceAsString(): string
    $exception->getTraceAsString()
    public __toString(): string
    (string) $exception
    private Error::__clone(): void
  • $exception string (213) "TypeError: fread(): Argument #1 ($stream) must be of type resource, bool giv...
    (string) $exception
    TypeError: fread(): Argument #1 ($stream) must be of type resource, bool given in /home/chamber/public_html/msg_file.php:28
    Stack trace:
    #0 /home/chamber/public_html/msg_file.php(28): fread(false, false)
    #1 {main}