Symfony \ Component \ Debug \ Exception \ FatalThrowableError (E_ERROR)
Object of class Illuminate\Routing\Redirector could not be converted to string Symfony\Component\Debug\Exception\FatalThrowableError thrown with message "Object of class Illuminate\Routing\Redirector could not be converted to string" Stacktrace: #0 Symfony\Component\Debug\Exception\FatalThrowableError in /var/www/public_html/vendor/symfony/http-foundation/Response.php:412
0
Symfony
\
Component
\
Debug
\
Exception
\
FatalThrowableError
/
vendor
/
symfony
/
http-foundation
/
Response.php
412
/
var
/
www
/
public_html
/
vendor
/
symfony
/
http-foundation
/
Response.php
    }
 
    /**
     * Sets the response content.
     *
     * Valid types are strings, numbers, null, and objects that implement a __toString() method.
     *
     * @param mixed $content Content that can be cast to string
     *
     * @return $this
     *
     * @throws \UnexpectedValueException
     */
    public function setContent($content)
    {
        if (null !== $content && !is_string($content) && !is_numeric($content) && !is_callable(array($content, '__toString'))) {
            throw new \UnexpectedValueException(sprintf('The Response content must be a string or object implementing __toString(), "%s" given.', gettype($content)));
        }
 
        $this->content = (string) $content;
 
        return $this;
    }
 
    /**
     * Gets the current response content.
     *
     * @return string Content
     */
    public function getContent()
    {
        return $this->content;
    }
 
    /**
     * Sets the HTTP protocol version (1.0 or 1.1).
     *
     * @param string $version The HTTP protocol version
     *
     * @return $this
Arguments
  1. "Object of class Illuminate\Routing\Redirector could not be converted to string"
    

Environment & details:

empty
empty
empty
empty
empty
Key Value
REDIRECT_REDIRECT_HTTPS
"on"
REDIRECT_REDIRECT_SSL_TLS_SNI
"npn.news"
REDIRECT_REDIRECT_STATUS
"200"
REDIRECT_HTTPS
"on"
REDIRECT_SSL_TLS_SNI
"npn.news"
REDIRECT_STATUS
"200"
HTTPS
"on"
SSL_TLS_SNI
"npn.news"
HTTP_ACCEPT
"*/*"
HTTP_USER_AGENT
"claudebot"
HTTP_HOST
"npn.news"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"
SERVER_SIGNATURE
"<address>Apache/2.4.41 (Ubuntu) Server at npn.news Port 443</address>\n"
SERVER_SOFTWARE
"Apache/2.4.41 (Ubuntu)"
SERVER_NAME
"npn.news"
SERVER_ADDR
"174.138.25.26"
SERVER_PORT
"443"
REMOTE_ADDR
"3.87.133.69"
DOCUMENT_ROOT
"/var/www/public_html"
REQUEST_SCHEME
"https"
CONTEXT_PREFIX
""
CONTEXT_DOCUMENT_ROOT
"/var/www/public_html"
SERVER_ADMIN
"webmaster@localhost"
SCRIPT_FILENAME
"/var/www/public_html/public/index.php"
REMOTE_PORT
"39234"
REDIRECT_URL
"/public/ads/npn-news/42"
GATEWAY_INTERFACE
"CGI/1.1"
SERVER_PROTOCOL
"HTTP/1.1"
REQUEST_METHOD
"GET"
QUERY_STRING
""
REQUEST_URI
"/ads/npn-news/42"
SCRIPT_NAME
"/public/index.php"
PHP_SELF
"/public/index.php"
REQUEST_TIME_FLOAT
1711642455.334
REQUEST_TIME
1711642455
empty
0. Whoops\Handler\PrettyPageHandler