Uncaught Exception: Unsupported operand types: string - string
$exception TypeError#6 (7) "Unsupported operand types: string - string"
  • Properties (7)
  • Methods (11)
  • toString
  • protected message -> string (42) "Unsupported operand types: string - string"
    private string -> string (0) ""
    protected code -> integer 0
    protected file -> string (57) "/home/ectown/public_html/news_scroller/member_content.php"
    • File (3.7KB)
    • -rw-r--r-- 1008 1008 3784 Dec 16 2024 /home/ectown/public_html/news_scroller/member_content.php
      
    protected line -> integer 31
    private trace -> array (0)
    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 (140) "TypeError: Unsupported operand types: string - string in /home/ectown/public...
    (string) $exception
    TypeError: Unsupported operand types: string - string in /home/ectown/public_html/news_scroller/member_content.php:31
    Stack trace:
    #0 {main}