Symfony \ Component \ Debug \ Exception \ FatalErrorException (E_UNKNOWN)
Uncaught Error: Call to undefined function Whoops\Exception\xdebug_is_enabled() in /home/vlc/public_html/vendor/filp/whoops/src/Whoops/Exception/Inspector.php:254 Stack trace: #0 /home/vlc/public_html/vendor/filp/whoops/src/Whoops/Exception/Inspector.php(175): Whoops\Exception\Inspector->getTrace(Object(Symfony\Component\Debug\Exception\FatalThrowableError)) #1 /home/vlc/public_html/vendor/filp/whoops/src/Whoops/Handler/PrettyPageHandler.php(279): Whoops\Exception\Inspector->getFrames() #2 /home/vlc/public_html/vendor/filp/whoops/src/Whoops/Handler/PrettyPageHandler.php(196): Whoops\Handler\PrettyPageHandler->getExceptionFrames() #3 /home/vlc/public_html/vendor/filp/whoops/src/Whoops/Run.php(321): Whoops\Handler\PrettyPageHandler->handle(Object(Symfony\Component\Debug\Exception\FatalThrowableError)) #4 /home/vlc/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(339): Whoops\Run->handleException(Object(Symfony\Component\Debug\Exception\FatalThrowableError)) #5 /home/vlc/publ Symfony\Component\Debug\Exception\FatalErrorException thrown with message "Uncaught Error: Call to undefined function Whoops\Exception\xdebug_is_enabled() in /home/vlc/public_html/vendor/filp/whoops/src/Whoops/Exception/Inspector.php:254 Stack trace: #0 /home/vlc/public_html/vendor/filp/whoops/src/Whoops/Exception/Inspector.php(175): Whoops\Exception\Inspector->getTrace(Object(Symfony\Component\Debug\Exception\FatalThrowableError)) #1 /home/vlc/public_html/vendor/filp/whoops/src/Whoops/Handler/PrettyPageHandler.php(279): Whoops\Exception\Inspector->getFrames() #2 /home/vlc/public_html/vendor/filp/whoops/src/Whoops/Handler/PrettyPageHandler.php(196): Whoops\Handler\PrettyPageHandler->getExceptionFrames() #3 /home/vlc/public_html/vendor/filp/whoops/src/Whoops/Run.php(321): Whoops\Handler\PrettyPageHandler->handle(Object(Symfony\Component\Debug\Exception\FatalThrowableError)) #4 /home/vlc/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(339): Whoops\Run->handleException(Object(Symfony\Component\Debug\Exception\FatalThrowableError)) #5 /home/vlc/publ" Stacktrace: #3 Symfony\Component\Debug\Exception\FatalErrorException in /home/vlc/public_html/vendor/filp/whoops/src/Whoops/Exception/Inspector.php:254 #2 Symfony\Component\Debug\Exception\FatalErrorException:__construct in /home/vlc/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php:137 #1 Illuminate\Foundation\Bootstrap\HandleExceptions:fatalExceptionFromError in /home/vlc/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php:123 #0 Illuminate\Foundation\Bootstrap\HandleExceptions:handleShutdown in /home/vlc/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php:0
3
Symfony\Component\Debug\Exception\FatalErrorException
/vendor/filp/whoops/src/Whoops/Exception/Inspector.php254
2
Symfony\Component\Debug\Exception\FatalErrorException __construct
/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php137
1
Illuminate\Foundation\Bootstrap\HandleExceptions fatalExceptionFromError
/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php123
0
Illuminate\Foundation\Bootstrap\HandleExceptions handleShutdown
/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php0
/home/vlc/public_html/vendor/filp/whoops/src/Whoops/Exception/Inspector.php
     *
     * If xdebug is installed
     *
     * @param \Throwable $e
     * @return array
     */
    protected function getTrace($e)
    {
        $traces = $e->getTrace();
 
        // Get trace from xdebug if enabled, failure exceptions only trace to the shutdown handler by default
        if (!$e instanceof \ErrorException) {
            return $traces;
        }
 
        if (!Misc::isLevelFatal($e->getSeverity())) {
            return $traces;
        }
 
        if (!extension_loaded('xdebug') || !xdebug_is_enabled()) {
            return $traces;
        }
 
        // Use xdebug to get the full stack trace and remove the shutdown handler stack trace
        $stack = array_reverse(xdebug_get_function_stack());
        $trace = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS);
        $traces = array_diff_key($stack, $trace);
 
        return $traces;
    }
 
    /**
     * Given an exception, generates an array in the format
     * generated by Exception::getTrace()
     * @param  \Throwable $exception
     * @return array
     */
    protected function getFrameFromException($exception)
    {
        return [
Arguments
  1. """
    Uncaught Error: Call to undefined function Whoops\Exception\xdebug_is_enabled() in /home/vlc/public_html/vendor/filp/whoops/src/Whoops/Exception/Inspector.php:254\n
    Stack trace:\n
    #0 /home/vlc/public_html/vendor/filp/whoops/src/Whoops/Exception/Inspector.php(175): Whoops\Exception\Inspector->getTrace(Object(Symfony\Component\Debug\Exception\FatalThrowableError))\n
    #1 /home/vlc/public_html/vendor/filp/whoops/src/Whoops/Handler/PrettyPageHandler.php(279): Whoops\Exception\Inspector->getFrames()\n
    #2 /home/vlc/public_html/vendor/filp/whoops/src/Whoops/Handler/PrettyPageHandler.php(196): Whoops\Handler\PrettyPageHandler->getExceptionFrames()\n
    #3 /home/vlc/public_html/vendor/filp/whoops/src/Whoops/Run.php(321): Whoops\Handler\PrettyPageHandler->handle(Object(Symfony\Component\Debug\Exception\FatalThrowableError))\n
    #4 /home/vlc/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(339): Whoops\Run->handleException(Object(Symfony\Component\Debug\Exception\FatalThrowableError))\n
    #5 /home/vlc/publ
    """
    
/home/vlc/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php
     * @return void
     */
    public function handleShutdown()
    {
        if (! is_null($error = error_get_last()) && $this->isFatal($error['type'])) {
            $this->handleException($this->fatalExceptionFromError($error, 0));
        }
    }
 
    /**
     * Create a new fatal exception instance from an error array.
     *
     * @param  array  $error
     * @param  int|null  $traceOffset
     * @return \Symfony\Component\Debug\Exception\FatalErrorException
     */
    protected function fatalExceptionFromError(array $error, $traceOffset = null)
    {
        return new FatalErrorException(
            $error['message'], $error['type'], 0, $error['file'], $error['line'], $traceOffset
        );
    }
 
    /**
     * Determine if the error type is fatal.
     *
     * @param  int  $type
     * @return bool
     */
    protected function isFatal($type)
    {
        return in_array($type, [E_COMPILE_ERROR, E_CORE_ERROR, E_ERROR, E_PARSE]);
    }
 
    /**
     * Get an instance of the exception handler.
     *
     * @return \Illuminate\Contracts\Debug\ExceptionHandler
     */
    protected function getExceptionHandler()
Arguments
  1. "'Uncaught Error: Call to undefined function Whoops\\Exception\\xdebug_is_enabled() in /home/vlc/public_html/vendor/filp/whoops/src/Whoops/Exception/Inspector.php:254\nStack trace:\n#0 /home/vlc/public_html/vendor/filp/whoops/src/Whoops/Exception/Inspector.php(175): Whoops\\Exception\\Inspector->getTrace(Object(Symfony\\Component\\Debug\\Exception\\FatalThrowableError))\n#1 /home/vlc/public_html/vendor/filp/whoops/src/Whoops/Handler/PrettyPageHandler.php(279): Whoops\\Exception\\Inspector->getFrames()\n#2 /home/vlc/public_'..."
    
  2. "1"
    
  3. "0"
    
  4. "'/home/vlc/public_html/vendor/filp/whoops/src/Whoops/Exception/Inspector.php'"
    
  5. "254"
    
  6. "0"
    
  7. "???"
    
  8. "???"
    
  9. "???"
    
/home/vlc/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php
    /**
     * Render an exception as an HTTP response and send it.
     *
     * @param  \Exception  $e
     * @return void
     */
    protected function renderHttpResponse(Exception $e)
    {
        $this->getExceptionHandler()->render($this->app['request'], $e)->send();
    }
 
    /**
     * Handle the PHP shutdown event.
     *
     * @return void
     */
    public function handleShutdown()
    {
        if (! is_null($error = error_get_last()) && $this->isFatal($error['type'])) {
            $this->handleException($this->fatalExceptionFromError($error, 0));
        }
    }
 
    /**
     * Create a new fatal exception instance from an error array.
     *
     * @param  array  $error
     * @param  int|null  $traceOffset
     * @return \Symfony\Component\Debug\Exception\FatalErrorException
     */
    protected function fatalExceptionFromError(array $error, $traceOffset = null)
    {
        return new FatalErrorException(
            $error['message'], $error['type'], 0, $error['file'], $error['line'], $traceOffset
        );
    }
 
    /**
     * Determine if the error type is fatal.
     *
Arguments
  1. "['type' => 1, 'message' => 'Uncaught Error: Call to undefined function Whoops\\Exception\\xdebug_is_enabled() in /home/vlc/public_html/vendor/filp/whoops/src/Whoops/Exception/Inspector.php:254\nStack trace:\n#0 /home/vlc/public_html/vendor/filp/whoops/src/Whoops/Exception/Inspector.php(175): Whoops\\Exception\\Inspector->getTrace(Object(Symfony\\Component\\Debug\\Exception\\FatalThrowableError))\n#1 /home/vlc/public_html/vendor/filp/whoops/src/Whoops/Handler/PrettyPageHandler.php(279): Whoops\\Exception\\Inspector->getFrames()\n#2 /home/vlc/public_'..., 'file' => '/home/vlc/public_html/vendor/filp/whoops/src/Whoops/Exception/Inspector.php', 'line' => 254]"
    
  2. "0"
    
/home/vlc/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php
<?php
 
namespace Illuminate\Foundation\Bootstrap;
 
use Exception;
use ErrorException;
use Illuminate\Contracts\Debug\ExceptionHandler;
use Illuminate\Contracts\Foundation\Application;
use Symfony\Component\Console\Output\ConsoleOutput;
use Symfony\Component\Debug\Exception\FatalErrorException;
use Symfony\Component\Debug\Exception\FatalThrowableError;
 
class HandleExceptions
{
    /**
     * The application instance.
     *
     * @var \Illuminate\Contracts\Foundation\Application
     */
    protected $app;
 
    /**
     * Bootstrap the given application.
     *
     * @param  \Illuminate\Contracts\Foundation\Application  $app
     * @return void
     */
    public function bootstrap(Application $app)
    {
        $this->app = $app;
 
        error_reporting(-1);
 
        set_error_handler([$this, 'handleError']);
 
        set_exception_handler([$this, 'handleException']);
 
        register_shutdown_function([$this, 'handleShutdown']);
 
        if (! $app->environment('testing')) {

Environment & details:

empty
empty
empty
empty
empty
Key Value
CONTEXT_DOCUMENT_ROOT
"/home/vlc/public_html"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/home/vlc/public_html"
GATEWAY_INTERFACE
"CGI/1.1"
HTTPS
"on"
HTTP_ACCEPT
"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
HTTP_ACCEPT_ENCODING
"gzip"
HTTP_ACCEPT_LANGUAGE
"en-US,en;q=0.5"
HTTP_CDN_LOOP
"cloudflare"
HTTP_CF_CONNECTING_IP
"44.192.38.49"
HTTP_CF_IPCOUNTRY
"US"
HTTP_CF_RAY
"7952fe26ba793897-IAD"
HTTP_CF_VISITOR
"{"scheme":"https"}"
HTTP_CONNECTION
"Keep-Alive"
HTTP_HOST
"vlcare.com"
HTTP_USER_AGENT
"CCBot/2.0 (https://commoncrawl.org/faq/)"
HTTP_X_FORWARDED_FOR
"44.192.38.49"
HTTP_X_FORWARDED_PROTO
"https"
PATH
"/bin:/usr/bin:/usr/local/php/bin"
PHPRC
"/home/vlc"
QUERY_STRING
""
REDIRECT_STATUS
"200"
REMOTE_ADDR
"172.70.38.95"
REMOTE_PORT
"40702"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
REQUEST_URI
"/"
SCRIPT_FILENAME
"/home/vlc/public_html/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"45.43.19.204"
SERVER_ADMIN
"webmaster@vlcare.com"
SERVER_NAME
"vlcare.com"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache/2.4.54 (Unix) OpenSSL/1.0.2k-fips"
SSL_TLS_SNI
"vlcare.com"
UNIQUE_ID
"Y-DN2OfVcg53KYXDlTEUUAAAANQ"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1675677144.2296
REQUEST_TIME
1675677144
argv
[]
argc
0
APP_NAME
"Anarbask"
APP_ENV
"local"
APP_KEY
"base64:2zTZkqNxZZq76qxvHnnLHu3VdoNDIp+Hu4okjCafHq4="
APP_DEBUG
"true"
APP_LOG_LEVEL
"debug"
APP_URL
"http://vlcare.com/vl_shopping"
DB_CONNECTION
"mysql"
DB_HOST
"127.0.0.1"
DB_PORT
"3306"
DB_DATABASE
"vldemo_vl_shopping_db"
DB_USERNAME
"vldemo_anarbask_ecom_usr"
DB_PASSWORD
"Ou]j@MF741An"
FCM_SERVER_KEY
"AAAAUaUumUs:APA91bFsZHKExYtLcMOHyDHuCqTY97JR6U7r7voCPcJ0Mya00LzoDUipFEJW8rv_nNWBSv8bflaoYtEz8oAwYJyukA1tIMaGsAC49Gd7bVffC3SYJFy-hhfWqSDbMRn9xmFRhX0gz16y"
BROADCAST_DRIVER
"log"
CACHE_DRIVER
"file"
SESSION_DRIVER
"file"
SESSION_LIFETIME
"120"
QUEUE_DRIVER
"sync"
REDIS_HOST
"127.0.0.1"
REDIS_PASSWORD
"null"
REDIS_PORT
"6379"
TEXT_LOCAL_API_KEY
"bnLzi7BFzTE-lyofeKZqNaVIJoRLFiqcLiYiN1PfjG"
CC_API_SOURCE
"eurocentralbank"
CC_USE_SSL
"true"
CC_FIXERIO_ACCESS_KEY
""
CC_OPENEXCHANGE_APP_ID
""
CC_CURRENCYLAYER_ACCESS_KEY
""
CC_ENABLE_LOG
"false"
CC_ENABLE_CACHE
"true"
CC_CACHE_TIMEOUT
"60"
SHIPROCKET_EMAIL
"ajeets@officebox.vervelogic.com"
SHIPROCKET_PASSWORD
"Bajiya@123"
MAIL_DRIVER
"smtp"
MAIL_HOST
"smtp.gmail.com"
MAIL_PORT
"587"
MAIL_USERNAME
"testemail.vervelogic@gmail.com"
MAIL_PASSWORD
"chinesecovid192020"
MAIL_ENCRYPTION
"tls"
PUSHER_APP_ID
""
PUSHER_APP_KEY
""
PUSHER_APP_SECRET
""
PUSHER_APP_CLUSTER
"mt1"
Key Value
CONTEXT_DOCUMENT_ROOT
"/home/vlc/public_html"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/home/vlc/public_html"
GATEWAY_INTERFACE
"CGI/1.1"
HTTPS
"on"
HTTP_ACCEPT
"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
HTTP_ACCEPT_ENCODING
"gzip"
HTTP_ACCEPT_LANGUAGE
"en-US,en;q=0.5"
HTTP_CDN_LOOP
"cloudflare"
HTTP_CF_CONNECTING_IP
"44.192.38.49"
HTTP_CF_IPCOUNTRY
"US"
HTTP_CF_RAY
"7952fe26ba793897-IAD"
HTTP_CF_VISITOR
"{"scheme":"https"}"
HTTP_CONNECTION
"Keep-Alive"
HTTP_HOST
"vlcare.com"
HTTP_USER_AGENT
"CCBot/2.0 (https://commoncrawl.org/faq/)"
HTTP_X_FORWARDED_FOR
"44.192.38.49"
HTTP_X_FORWARDED_PROTO
"https"
PATH
"/bin:/usr/bin:/usr/local/php/bin"
PHPRC
"/home/vlc"
QUERY_STRING
""
REDIRECT_STATUS
"200"
REMOTE_ADDR
"172.70.38.95"
REMOTE_PORT
"40702"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
REQUEST_URI
"/"
SCRIPT_FILENAME
"/home/vlc/public_html/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"45.43.19.204"
SERVER_ADMIN
"webmaster@vlcare.com"
SERVER_NAME
"vlcare.com"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache/2.4.54 (Unix) OpenSSL/1.0.2k-fips"
SSL_TLS_SNI
"vlcare.com"
UNIQUE_ID
"Y-DN2OfVcg53KYXDlTEUUAAAANQ"
APP_NAME
"Anarbask"
APP_ENV
"local"
APP_KEY
"base64:2zTZkqNxZZq76qxvHnnLHu3VdoNDIp+Hu4okjCafHq4="
APP_DEBUG
"true"
APP_LOG_LEVEL
"debug"
APP_URL
"http://vlcare.com/vl_shopping"
DB_CONNECTION
"mysql"
DB_HOST
"127.0.0.1"
DB_PORT
"3306"
DB_DATABASE
"vldemo_vl_shopping_db"
DB_USERNAME
"vldemo_anarbask_ecom_usr"
DB_PASSWORD
"Ou]j@MF741An"
FCM_SERVER_KEY
"AAAAUaUumUs:APA91bFsZHKExYtLcMOHyDHuCqTY97JR6U7r7voCPcJ0Mya00LzoDUipFEJW8rv_nNWBSv8bflaoYtEz8oAwYJyukA1tIMaGsAC49Gd7bVffC3SYJFy-hhfWqSDbMRn9xmFRhX0gz16y"
BROADCAST_DRIVER
"log"
CACHE_DRIVER
"file"
SESSION_DRIVER
"file"
SESSION_LIFETIME
"120"
QUEUE_DRIVER
"sync"
REDIS_HOST
"127.0.0.1"
REDIS_PASSWORD
"null"
REDIS_PORT
"6379"
TEXT_LOCAL_API_KEY
"bnLzi7BFzTE-lyofeKZqNaVIJoRLFiqcLiYiN1PfjG"
CC_API_SOURCE
"eurocentralbank"
CC_USE_SSL
"true"
CC_FIXERIO_ACCESS_KEY
""
CC_OPENEXCHANGE_APP_ID
""
CC_CURRENCYLAYER_ACCESS_KEY
""
CC_ENABLE_LOG
"false"
CC_ENABLE_CACHE
"true"
CC_CACHE_TIMEOUT
"60"
SHIPROCKET_EMAIL
"ajeets@officebox.vervelogic.com"
SHIPROCKET_PASSWORD
"Bajiya@123"
MAIL_DRIVER
"smtp"
MAIL_HOST
"smtp.gmail.com"
MAIL_PORT
"587"
MAIL_USERNAME
"testemail.vervelogic@gmail.com"
MAIL_PASSWORD
"chinesecovid192020"
MAIL_ENCRYPTION
"tls"
PUSHER_APP_ID
""
PUSHER_APP_KEY
""
PUSHER_APP_SECRET
""
PUSHER_APP_CLUSTER
"mt1"
0. Whoops\Handler\PrettyPageHandler