NEWS

Sunward has tens of thousands of products in the European market at present.

Since products were exported to the European market from 2006, Sunward has tens of thousands of products in the European market at present. Its European company established in Belgium in 2015 provides strong guarantee of products and services for European agents and customer by integrating the features of sales, service, warehouse and spare parts. Today, Sunward has laid a solid foundation in Europe and gradually improved its channels, services ... READ MORE


One World, One Dream - Wonderful Ending of Sunward at Bauma

More than 30 European agents had come to the Bauma and more than 10 new agents were still under negotiation, through which an agreement would be reached later. The 3.5-ton, 6-ton and 9-ton brand new tailless Euro-5 excavators with fashionable and beautiful appearance newly released at the Sunward Booth had been snapped up by many agents, and already ordered until the end of this year. The 5-ton and 10-ton ... READ MORE


Sunward USA Exhibits at the 2019 ICUEE Show

On October 1, 2019, Sunward USA Corp officially appeared at the ICUEE exhibition in Louisville, Kentucky. We had our SWL3230 skid steer loader, SWTH634 telescopic crawler, SWE35UF mini excavator and our SWE80F small excavator on display. 

Sunward began in America as early as 10 years ago when they exported rotary drilling rigs and excavator products to the US. According to Sunward President Qinghua ... READ MORE

Sunward USA Announces Con Expo 2020 Booth

Over 100 Sunward USA employees will be on hand for the annual Con Expo in Las Vegas in March 2020. With a massive 6,000 square foot show space, over 15 large pieces of equipment, and representatives from all over the globe, this event will be a must-visit for show goers. Sunward USA will have their new Tier 4 line on display for the public for the first time in North America, and will also unveil a brand-new piece in a ... READ MORE



Whoops! There was an error.
UnexpectedValueException
The stream or file "/var/www/html/storage/logs/laravel.log" could not be opened: failed to open stream: Permission denied UnexpectedValueException thrown with message "The stream or file "/var/www/html/storage/logs/laravel.log" could not be opened: failed to open stream: Permission denied" Stacktrace: #10 UnexpectedValueException in /var/www/html/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:107 #9 Monolog\Handler\StreamHandler:write in /var/www/html/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php:37 #8 Monolog\Handler\AbstractProcessingHandler:handle in /var/www/html/vendor/monolog/monolog/src/Monolog/Logger.php:337 #7 Monolog\Logger:addRecord in /var/www/html/vendor/monolog/monolog/src/Monolog/Logger.php:616 #6 Monolog\Logger:error in /var/www/html/vendor/laravel/framework/src/Illuminate/Log/Logger.php:176 #5 Illuminate\Log\Logger:writeLog in /var/www/html/vendor/laravel/framework/src/Illuminate/Log/Logger.php:87 #4 Illuminate\Log\Logger:error in /var/www/html/vendor/laravel/framework/src/Illuminate/Log/LogManager.php:526 #3 Illuminate\Log\LogManager:error in /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:113 #2 Illuminate\Foundation\Exceptions\Handler:report in /var/www/html/app/Exceptions/Handler.php:39 #1 App\Exceptions\Handler:report in /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php:81 #0 Illuminate\Foundation\Bootstrap\HandleExceptions:handleException in [internal]:0
10
UnexpectedValueException
/
vendor
/
monolog
/
monolog
/
src
/
Monolog
/
Handler
/
StreamHandler.php
107
9
Monolog
\
Handler
\
StreamHandler
write
/
vendor
/
monolog
/
monolog
/
src
/
Monolog
/
Handler
/
AbstractProcessingHandler.php
37
8
Monolog
\
Handler
\
AbstractProcessingHandler
handle
/
vendor
/
monolog
/
monolog
/
src
/
Monolog
/
Logger.php
337
7
Monolog
\
Logger
addRecord
/
vendor
/
monolog
/
monolog
/
src
/
Monolog
/
Logger.php
616
6
Monolog
\
Logger
error
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Log
/
Logger.php
176
5
Illuminate
\
Log
\
Logger
writeLog
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Log
/
Logger.php
87
4
Illuminate
\
Log
\
Logger
error
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Log
/
LogManager.php
526
3
Illuminate
\
Log
\
LogManager
error
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Exceptions
/
Handler.php
113
2
Illuminate
\
Foundation
\
Exceptions
\
Handler
report
/
app
/
Exceptions
/
Handler.php
39
1
App
\
Exceptions
\
Handler
report
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Bootstrap
/
HandleExceptions.php
81
0
Illuminate
\
Foundation
\
Bootstrap
\
HandleExceptions
handleException
[internal]
0
/
var
/
www
/
html
/
vendor
/
monolog
/
monolog
/
src
/
Monolog
/
Handler
/
StreamHandler.php
    /**
     * {@inheritdoc}
     */
    protected function write(array $record)
    {
        if (!is_resource($this->stream)) {
            if (null === $this->url || '' === $this->url) {
                throw new \LogicException('Missing stream url, the stream can not be opened. This may be caused by a premature call to close().');
            }
            $this->createDir();
            $this->errorMessage = null;
            set_error_handler(array($this, 'customErrorHandler'));
            $this->stream = fopen($this->url, 'a');
            if ($this->filePermission !== null) {
                @chmod($this->url, $this->filePermission);
            }
            restore_error_handler();
            if (!is_resource($this->stream)) {
                $this->stream = null;
                throw new \UnexpectedValueException(sprintf('The stream or file "%s" could not be opened: '.$this->errorMessage, $this->url));
            }
        }
 
        if ($this->useLocking) {
            // ignoring errors here, there's not much we can do about them
            flock($this->stream, LOCK_EX);
        }
 
        $this->streamWrite($this->stream, $record);
 
        if ($this->useLocking) {
            flock($this->stream, LOCK_UN);
        }
    }
 
    /**
     * Write to stream
     * @param resource $stream
     * @param array $record
     */
Arguments
  1. "The stream or file "/var/www/html/storage/logs/laravel.log" could not be opened: failed to open stream: Permission denied"
    
/
var
/
www
/
html
/
vendor
/
monolog
/
monolog
/
src
/
Monolog
/
Handler
/
AbstractProcessingHandler.php
 *
 * @author Jordi Boggiano <j.boggiano@seld.be>
 * @author Christophe Coevoet <stof@notk.org>
 */
abstract class AbstractProcessingHandler extends AbstractHandler
{
    /**
     * {@inheritdoc}
     */
    public function handle(array $record)
    {
        if (!$this->isHandling($record)) {
            return false;
        }
 
        $record = $this->processRecord($record);
 
        $record['formatted'] = $this->getFormatter()->format($record);
 
        $this->write($record);
 
        return false === $this->bubble;
    }
 
    /**
     * Writes the record down to the log of the implementing handler
     *
     * @param  array $record
     * @return void
     */
    abstract protected function write(array $record);
 
    /**
     * Processes a record.
     *
     * @param  array $record
     * @return array
     */
    protected function processRecord(array $record)
    {
Arguments
  1. array:8 [
      "message" => "file_put_contents(/var/www/html/storage/framework/sessions/lcKe8AYqHZt1mk53RD35WMAJkQcoXjj9IKuHgKv0): failed to open stream: Permission denied"
      "context" => array:1 [
        "exception" => ErrorException {
          #message: "file_put_contents(/var/www/html/storage/framework/sessions/lcKe8AYqHZt1mk53RD35WMAJkQcoXjj9IKuHgKv0): failed to open stream: Permission denied"
          #code: 0
          #file: "/var/www/html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php"
          #line: 122
          #severity: E_WARNING
        }
      ]
      "level" => 400
      "level_name" => "ERROR"
      "channel" => "local"
      "datetime" => DateTime @1715069022 {
        date: 2024-05-07 13:03:42.507606 Asia/Karachi (+05:00)
      }
      "extra" => []
      "formatted" => """
        [2024-05-07 13:03:42] local.ERROR: file_put_contents(/var/www/html/storage/framework/sessions/lcKe8AYqHZt1mk53RD35WMAJkQcoXjj9IKuHgKv0): failed to open stream: Permission denied {"exception":"[object] (ErrorException(code: 0): file_put_contents(/var/www/html/storage/framework/sessions/lcKe8AYqHZt1mk53RD35WMAJkQcoXjj9IKuHgKv0): failed to open stream: Permission denied at /var/www/html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:122)\n
        [stacktrace]\n
        #0 [internal function]: Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError(2, 'file_put_conten...', '/var/www/html/v...', 122, Array)\n
        #1 /var/www/html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(122): file_put_contents('/var/www/html/s...', 'a:3:{s:6:\"_toke...', 2)\n
        #2 /var/www/html/vendor/laravel/framework/src/Illuminate/Session/FileSessionHandler.php(83): Illuminate\\Filesystem\\Filesystem->put('/var/www/html/s...', 'a:3:{s:6:\"_toke...', true)\n
        #3 /var/www/html/vendor/laravel/framework/src/Illuminate/Session/Store.php(129): Illuminate\\Session\\FileSessionHandler->write('lcKe8AYqHZt1mk5...', 'a:3:{s:6:\"_toke...')\n
        #4 /var/www/html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(87): Illuminate\\Session\\Store->save()\n
        #5 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(218): Illuminate\\Session\\Middleware\\StartSession->terminate(Object(Illuminate\\Http\\Request), Object(Illuminate\\Http\\Response))\n
        #6 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(189): Illuminate\\Foundation\\Http\\Kernel->terminateMiddleware(Object(Illuminate\\Http\\Request), Object(Illuminate\\Http\\Response))\n
        #7 /var/www/html/public/index.php(59): Illuminate\\Foundation\\Http\\Kernel->terminate(Object(Illuminate\\Http\\Request), Object(Illuminate\\Http\\Response))\n
        #8 {main}\n
        "} \n
        """
    ]
    
/
var
/
www
/
html
/
vendor
/
monolog
/
monolog
/
src
/
Monolog
/
Logger.php
            $ts = new \DateTime(null, static::$timezone);
        }
        $ts->setTimezone(static::$timezone);
 
        $record = array(
            'message' => (string) $message,
            'context' => $context,
            'level' => $level,
            'level_name' => $levelName,
            'channel' => $this->name,
            'datetime' => $ts,
            'extra' => array(),
        );
 
        foreach ($this->processors as $processor) {
            $record = call_user_func($processor, $record);
        }
 
        while ($handler = current($this->handlers)) {
            if (true === $handler->handle($record)) {
                break;
            }
 
            next($this->handlers);
        }
 
        return true;
    }
 
    /**
     * Adds a log record at the DEBUG level.
     *
     * @param  string  $message The log message
     * @param  array   $context The log context
     * @return Boolean Whether the record has been processed
     */
    public function addDebug($message, array $context = array())
    {
        return $this->addRecord(static::DEBUG, $message, $context);
    }
Arguments
  1. array:8 [
      "message" => "file_put_contents(/var/www/html/storage/framework/sessions/lcKe8AYqHZt1mk53RD35WMAJkQcoXjj9IKuHgKv0): failed to open stream: Permission denied"
      "context" => array:1 [
        "exception" => ErrorException {
          #message: "file_put_contents(/var/www/html/storage/framework/sessions/lcKe8AYqHZt1mk53RD35WMAJkQcoXjj9IKuHgKv0): failed to open stream: Permission denied"
          #code: 0
          #file: "/var/www/html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php"
          #line: 122
          #severity: E_WARNING
        }
      ]
      "level" => 400
      "level_name" => "ERROR"
      "channel" => "local"
      "datetime" => DateTime @1715069022 {
        date: 2024-05-07 13:03:42.507606 Asia/Karachi (+05:00)
      }
      "extra" => []
      "formatted" => """
        [2024-05-07 13:03:42] local.ERROR: file_put_contents(/var/www/html/storage/framework/sessions/lcKe8AYqHZt1mk53RD35WMAJkQcoXjj9IKuHgKv0): failed to open stream: Permission denied {"exception":"[object] (ErrorException(code: 0): file_put_contents(/var/www/html/storage/framework/sessions/lcKe8AYqHZt1mk53RD35WMAJkQcoXjj9IKuHgKv0): failed to open stream: Permission denied at /var/www/html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:122)\n
        [stacktrace]\n
        #0 [internal function]: Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError(2, 'file_put_conten...', '/var/www/html/v...', 122, Array)\n
        #1 /var/www/html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(122): file_put_contents('/var/www/html/s...', 'a:3:{s:6:\"_toke...', 2)\n
        #2 /var/www/html/vendor/laravel/framework/src/Illuminate/Session/FileSessionHandler.php(83): Illuminate\\Filesystem\\Filesystem->put('/var/www/html/s...', 'a:3:{s:6:\"_toke...', true)\n
        #3 /var/www/html/vendor/laravel/framework/src/Illuminate/Session/Store.php(129): Illuminate\\Session\\FileSessionHandler->write('lcKe8AYqHZt1mk5...', 'a:3:{s:6:\"_toke...')\n
        #4 /var/www/html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(87): Illuminate\\Session\\Store->save()\n
        #5 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(218): Illuminate\\Session\\Middleware\\StartSession->terminate(Object(Illuminate\\Http\\Request), Object(Illuminate\\Http\\Response))\n
        #6 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(189): Illuminate\\Foundation\\Http\\Kernel->terminateMiddleware(Object(Illuminate\\Http\\Request), Object(Illuminate\\Http\\Response))\n
        #7 /var/www/html/public/index.php(59): Illuminate\\Foundation\\Http\\Kernel->terminate(Object(Illuminate\\Http\\Request), Object(Illuminate\\Http\\Response))\n
        #8 {main}\n
        "} \n
        """
    ]
    
/
var
/
www
/
html
/
vendor
/
monolog
/
monolog
/
src
/
Monolog
/
Logger.php
     * @param  array   $context The log context
     * @return Boolean Whether the record has been processed
     */
    public function err($message, array $context = array())
    {
        return $this->addRecord(static::ERROR, $message, $context);
    }
 
    /**
     * Adds a log record at the ERROR level.
     *
     * This method allows for compatibility with common interfaces.
     *
     * @param  string  $message The log message
     * @param  array   $context The log context
     * @return Boolean Whether the record has been processed
     */
    public function error($message, array $context = array())
    {
        return $this->addRecord(static::ERROR, $message, $context);
    }
 
    /**
     * Adds a log record at the CRITICAL level.
     *
     * This method allows for compatibility with common interfaces.
     *
     * @param  string  $message The log message
     * @param  array   $context The log context
     * @return Boolean Whether the record has been processed
     */
    public function crit($message, array $context = array())
    {
        return $this->addRecord(static::CRITICAL, $message, $context);
    }
 
    /**
     * Adds a log record at the CRITICAL level.
     *
     * This method allows for compatibility with common interfaces.
Arguments
  1. 400
    
  2. "file_put_contents(/var/www/html/storage/framework/sessions/lcKe8AYqHZt1mk53RD35WMAJkQcoXjj9IKuHgKv0): failed to open stream: Permission denied"
    
  3. array:1 [
      "exception" => ErrorException {
        #message: "file_put_contents(/var/www/html/storage/framework/sessions/lcKe8AYqHZt1mk53RD35WMAJkQcoXjj9IKuHgKv0): failed to open stream: Permission denied"
        #code: 0
        #file: "/var/www/html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php"
        #line: 122
        #severity: E_WARNING
      }
    ]
    
/
var
/
www
/
html
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Log
/
Logger.php
     * @return void
     */
    public function write($level, $message, array $context = [])
    {
        $this->writeLog($level, $message, $context);
    }
 
    /**
     * Write a message to the log.
     *
     * @param  string  $level
     * @param  string  $message
     * @param  array  $context
     * @return void
     */
    protected function writeLog($level, $message, $context)
    {
        $this->fireLogEvent($level, $message = $this->formatMessage($message), $context);
 
        $this->logger->{$level}($message, $context);
    }
 
    /**
     * Register a new callback handler for when a log event is triggered.
     *
     * @param  \Closure  $callback
     * @return void
     *
     * @throws \RuntimeException
     */
    public function listen(Closure $callback)
    {
        if (! isset($this->dispatcher)) {
            throw new RuntimeException('Events dispatcher has not been set.');
        }
 
        $this->dispatcher->listen(MessageLogged::class, $callback);
    }
 
    /**
Arguments
  1. "file_put_contents(/var/www/html/storage/framework/sessions/lcKe8AYqHZt1mk53RD35WMAJkQcoXjj9IKuHgKv0): failed to open stream: Permission denied"
    
  2. array:1 [
      "exception" => ErrorException {
        #message: "file_put_contents(/var/www/html/storage/framework/sessions/lcKe8AYqHZt1mk53RD35WMAJkQcoXjj9IKuHgKv0): failed to open stream: Permission denied"
        #code: 0
        #file: "/var/www/html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php"
        #line: 122
        #severity: E_WARNING
      }
    ]
    
/
var
/
www
/
html
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Log
/
Logger.php
     *
     * @param  string  $message
     * @param  array  $context
     * @return void
     */
    public function critical($message, array $context = [])
    {
        $this->writeLog(__FUNCTION__, $message, $context);
    }
 
    /**
     * Log an error message to the logs.
     *
     * @param  string  $message
     * @param  array  $context
     * @return void
     */
    public function error($message, array $context = [])
    {
        $this->writeLog(__FUNCTION__, $message, $context);
    }
 
    /**
     * Log a warning message to the logs.
     *
     * @param  string  $message
     * @param  array  $context
     * @return void
     */
    public function warning($message, array $context = [])
    {
        $this->writeLog(__FUNCTION__, $message, $context);
    }
 
    /**
     * Log a notice to the logs.
     *
     * @param  string  $message
     * @param  array  $context
     * @return void
Arguments
  1. "error"
    
  2. "file_put_contents(/var/www/html/storage/framework/sessions/lcKe8AYqHZt1mk53RD35WMAJkQcoXjj9IKuHgKv0): failed to open stream: Permission denied"
    
  3. array:1 [
      "exception" => ErrorException {
        #message: "file_put_contents(/var/www/html/storage/framework/sessions/lcKe8AYqHZt1mk53RD35WMAJkQcoXjj9IKuHgKv0): failed to open stream: Permission denied"
        #code: 0
        #file: "/var/www/html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php"
        #line: 122
        #severity: E_WARNING
      }
    ]
    
/
var
/
www
/
html
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Log
/
LogManager.php
     *
     * @return void
     */
    public function critical($message, array $context = [])
    {
        return $this->driver()->critical($message, $context);
    }
 
    /**
     * Runtime errors that do not require immediate action but should typically
     * be logged and monitored.
     *
     * @param string $message
     * @param array  $context
     *
     * @return void
     */
    public function error($message, array $context = [])
    {
        return $this->driver()->error($message, $context);
    }
 
    /**
     * Exceptional occurrences that are not errors.
     *
     * Example: Use of deprecated APIs, poor use of an API, undesirable things
     * that are not necessarily wrong.
     *
     * @param string $message
     * @param array  $context
     *
     * @return void
     */
    public function warning($message, array $context = [])
    {
        return $this->driver()->warning($message, $context);
    }
 
    /**
     * Normal but significant events.
Arguments
  1. "file_put_contents(/var/www/html/storage/framework/sessions/lcKe8AYqHZt1mk53RD35WMAJkQcoXjj9IKuHgKv0): failed to open stream: Permission denied"
    
  2. array:1 [
      "exception" => ErrorException {
        #message: "file_put_contents(/var/www/html/storage/framework/sessions/lcKe8AYqHZt1mk53RD35WMAJkQcoXjj9IKuHgKv0): failed to open stream: Permission denied"
        #code: 0
        #file: "/var/www/html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php"
        #line: 122
        #severity: E_WARNING
      }
    ]
    
/
var
/
www
/
html
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Exceptions
/
Handler.php
     */
    public function report(Exception $e)
    {
        if ($this->shouldntReport($e)) {
            return;
        }
 
        if (method_exists($e, 'report')) {
            return $e->report();
        }
 
        try {
            $logger = $this->container->make(LoggerInterface::class);
        } catch (Exception $ex) {
            throw $e;
        }
 
        $logger->error(
            $e->getMessage(),
            array_merge($this->context(), ['exception' => $e]
        ));
    }
 
    /**
     * Determine if the exception should be reported.
     *
     * @param  \Exception  $e
     * @return bool
     */
    public function shouldReport(Exception $e)
    {
        return ! $this->shouldntReport($e);
    }
 
    /**
     * Determine if the exception is in the "do not report" list.
     *
     * @param  \Exception  $e
     * @return bool
     */
Arguments
  1. "file_put_contents(/var/www/html/storage/framework/sessions/lcKe8AYqHZt1mk53RD35WMAJkQcoXjj9IKuHgKv0): failed to open stream: Permission denied"
    
  2. array:1 [
      "exception" => ErrorException {
        #message: "file_put_contents(/var/www/html/storage/framework/sessions/lcKe8AYqHZt1mk53RD35WMAJkQcoXjj9IKuHgKv0): failed to open stream: Permission denied"
        #code: 0
        #file: "/var/www/html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php"
        #line: 122
        #severity: E_WARNING
      }
    ]
    
/
var
/
www
/
html
/
app
/
Exceptions
/
Handler.php
     * A list of the inputs that are never flashed for validation exceptions.
     *
     * @var array
     */
    protected $dontFlash = [
        'password',
        'password_confirmation',
    ];

    /**
     * Report or log an exception.
     *
     * This is a great spot to send exceptions to Sentry, Bugsnag, etc.
     *
     * @param  \Exception  $exception
     * @return void
     */
    public function report(Exception $exception)
    {
        parent::report($exception);
    }

    /**
     * Render an exception into an HTTP response.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Exception  $exception
     * @return \Illuminate\Http\Response
     */
    public function render($request, Exception $exception)
    {
        return parent::render($request, $exception);
    }
}
 
Arguments
  1. ErrorException {
      #message: "file_put_contents(/var/www/html/storage/framework/sessions/lcKe8AYqHZt1mk53RD35WMAJkQcoXjj9IKuHgKv0): failed to open stream: Permission denied"
      #code: 0
      #file: "/var/www/html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php"
      #line: 122
      #severity: E_WARNING
    }
    
/
var
/
www
/
html
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Bootstrap
/
HandleExceptions.php
    }
 
    /**
     * Handle an uncaught exception from the application.
     *
     * Note: Most exceptions can be handled via the try / catch block in
     * the HTTP and Console kernels. But, fatal error exceptions must
     * be handled differently since they are not normal exceptions.
     *
     * @param  \Throwable  $e
     * @return void
     */
    public function handleException($e)
    {
        if (! $e instanceof Exception) {
            $e = new FatalThrowableError($e);
        }
 
        try {
            $this->getExceptionHandler()->report($e);
        } catch (Exception $e) {
            //
        }
 
        if ($this->app->runningInConsole()) {
            $this->renderForConsole($e);
        } else {
            $this->renderHttpResponse($e);
        }
    }
 
    /**
     * Render an exception to the console.
     *
     * @param  \Exception  $e
     * @return void
     */
    protected function renderForConsole(Exception $e)
    {
        $this->getExceptionHandler()->renderForConsole(new ConsoleOutput, $e);
Arguments
  1. ErrorException {
      #message: "file_put_contents(/var/www/html/storage/framework/sessions/lcKe8AYqHZt1mk53RD35WMAJkQcoXjj9IKuHgKv0): failed to open stream: Permission denied"
      #code: 0
      #file: "/var/www/html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php"
      #line: 122
      #severity: E_WARNING
    }
    
[internal]
Arguments
  1. ErrorException {
      #message: "file_put_contents(/var/www/html/storage/framework/sessions/lcKe8AYqHZt1mk53RD35WMAJkQcoXjj9IKuHgKv0): failed to open stream: Permission denied"
      #code: 0
      #file: "/var/www/html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php"
      #line: 122
      #severity: E_WARNING
    }
    

Environment & details:

empty
empty
empty
empty
empty
Key Value
REDIRECT_UNIQUE_ID
"ZjngXjmzaP4QgK75-ZxFOQAAAAE"
REDIRECT_STATUS
"200"
UNIQUE_ID
"ZjngXjmzaP4QgK75-ZxFOQAAAAE"
HTTP_ACCEPT
"*/*"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
HTTP_HOST
"67.210.230.235"
HTTP_X_FORWARDED_FOR
"18.227.228.95"
HTTP_CONNECTION
"close"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache/2.4.6 (CentOS) PHP/7.1.33"
SERVER_NAME
"67.210.230.235"
SERVER_ADDR
"10.0.40.25"
SERVER_PORT
"80"
REMOTE_ADDR
"10.0.40.155"
DOCUMENT_ROOT
"/var/www/html/public"
REQUEST_SCHEME
"http"
CONTEXT_PREFIX
""
CONTEXT_DOCUMENT_ROOT
"/var/www/html/public"
SERVER_ADMIN
"root@localhost"
SCRIPT_FILENAME
"/var/www/html/public/index.php"
REMOTE_PORT
"38680"
REDIRECT_URL
"/news"
GATEWAY_INTERFACE
"CGI/1.1"
SERVER_PROTOCOL
"HTTP/1.1"
REQUEST_METHOD
"GET"
QUERY_STRING
""
REQUEST_URI
"/news"
SCRIPT_NAME
"/index.php"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1715069022.478
REQUEST_TIME
1715069022
APP_NAME
"Sunward"
APP_ENV
"local"
APP_KEY
"base64:2UMpWb+wKAjwZ0AvSOXs0Y3LSQdtxO+a4O2ULaWbU5U="
APP_DEBUG
"true"
APP_LOG_LEVEL
"debug"
APP_URL
"http://67.210.230.235/"
APP_SECURE_URL
"http://67.210.230.235/"
APP_ASSETS_URL
"http://67.210.230.235/public/"
APP_TIMEZONE
"Asia/Karachi"
UPLOAD_PATH
"app/public/uploads"
UPLOAD_SERVE_URL
"uploads"
IMAGE_UPLOAD_SIZE_LIMIT
"2M"
PAGE_BANNER_SIZE
"1328x275"
PROFILE_AVATAR_IMAGE_SIZE
"128x128"
SLIDE_BACKGROUND_SIZE
"1420x600"
SLIDE_IMAGE_SIZE
"550x600"
CATEGORY_BANNER_SIZE
"1420x600"
CATEGORY_INFOGRAPHIC_SIZE
"550x600"
SERVICE_BANNER_SIZE
"1420x600"
SERVICE_INFOGRAPHIC_SIZE
"550x600"
DB_CONNECTION
"mysql"
DB_HOST
"localhost"
DB_PORT
"3306"
DB_DATABASE
"sunwardweb"
DB_USERNAME
"root"
DB_PASSWORD
""
BROADCAST_DRIVER
"log"
CACHE_DRIVER
"file"
SESSION_DRIVER
"file"
QUEUE_DRIVER
"sync"
REDIS_HOST
"127.0.0.1"
REDIS_PASSWORD
"null"
REDIS_PORT
"6379"
;MAIL_DRIVER
"mail"
MAIL_DRIVER
"smtp"
MAIL_HOST
"smtp.gmail.com"
MAIL_PORT
"587"
MAIL_USERNAME
"ahsan@fsdsolutions.com"
MAIL_PASSWORD
"ahsanrehman123"
MAIL_ENCRYPTION
"tls"
PUSHER_APP_ID
""
PUSHER_APP_KEY
""
PUSHER_APP_SECRET
""
GOOGLE_MAP_KEY
""
RECAPTCHA_SITE_KEY
"6LcXd7MUAAAAAE9Eh2gXCMEfD8li8AyqA85fBflJ"
RECAPTCHA_SECRET_KEY
"6LcXd7MUAAAAAAT0djYq5KuDmc6FJnu6FOcTB516"
PAYPAL_SANDBOX
"false"
PAYPAL_CLIENT_ID
""
PAYPAL_SECRET
""
Key Value
APP_NAME
"Sunward"
APP_ENV
"local"
APP_KEY
"base64:2UMpWb+wKAjwZ0AvSOXs0Y3LSQdtxO+a4O2ULaWbU5U="
APP_DEBUG
"true"
APP_LOG_LEVEL
"debug"
APP_URL
"http://67.210.230.235/"
APP_SECURE_URL
"http://67.210.230.235/"
APP_ASSETS_URL
"http://67.210.230.235/public/"
APP_TIMEZONE
"Asia/Karachi"
UPLOAD_PATH
"app/public/uploads"
UPLOAD_SERVE_URL
"uploads"
IMAGE_UPLOAD_SIZE_LIMIT
"2M"
PAGE_BANNER_SIZE
"1328x275"
PROFILE_AVATAR_IMAGE_SIZE
"128x128"
SLIDE_BACKGROUND_SIZE
"1420x600"
SLIDE_IMAGE_SIZE
"550x600"
CATEGORY_BANNER_SIZE
"1420x600"
CATEGORY_INFOGRAPHIC_SIZE
"550x600"
SERVICE_BANNER_SIZE
"1420x600"
SERVICE_INFOGRAPHIC_SIZE
"550x600"
DB_CONNECTION
"mysql"
DB_HOST
"localhost"
DB_PORT
"3306"
DB_DATABASE
"sunwardweb"
DB_USERNAME
"root"
DB_PASSWORD
""
BROADCAST_DRIVER
"log"
CACHE_DRIVER
"file"
SESSION_DRIVER
"file"
QUEUE_DRIVER
"sync"
REDIS_HOST
"127.0.0.1"
REDIS_PASSWORD
"null"
REDIS_PORT
"6379"
;MAIL_DRIVER
"mail"
MAIL_DRIVER
"smtp"
MAIL_HOST
"smtp.gmail.com"
MAIL_PORT
"587"
MAIL_USERNAME
"ahsan@fsdsolutions.com"
MAIL_PASSWORD
"ahsanrehman123"
MAIL_ENCRYPTION
"tls"
PUSHER_APP_ID
""
PUSHER_APP_KEY
""
PUSHER_APP_SECRET
""
GOOGLE_MAP_KEY
""
RECAPTCHA_SITE_KEY
"6LcXd7MUAAAAAE9Eh2gXCMEfD8li8AyqA85fBflJ"
RECAPTCHA_SECRET_KEY
"6LcXd7MUAAAAAAT0djYq5KuDmc6FJnu6FOcTB516"
PAYPAL_SANDBOX
"false"
PAYPAL_CLIENT_ID
""
PAYPAL_SECRET
""
0. Whoops\Handler\PrettyPageHandler