VPS Lakeshore Logo
Facebook
Twitter
YouTube
Instagram
Linkedin
Diabetic Foot Infection - Causes and Treatment
2020-05-20

Diabetic Foot Infection - Causes and Treatment

Diabetes Mellitus is a disease that is caused by dysregulation of the glucose metabolism of the body, leading to high blood sugar levels. India is known to be the Diabetic capital of the world with over 70 million diagnosed cases.

What is Diabetic foot condition?
Diabetes Mellitus is a disease that is caused by dysregulation of the glucose metabolism of the body, leading to high blood sugar levels. India is known to be the Diabetic capital of the world with over 70 million diagnosed cases. Diabetes is a systemic disease that affects the entire body. The foot frequently gets involved in diabetic patients and problems can spread to the entire lower limb if left untreated, this condition is called Diabetic Foot. In fact, there are studies that indicate that loss of the foot or leg in a diabetic patient is a predictor for mortality in these patients.

What causes Diabetic foot?
The lower limb and foot gets affected in diabetes due to many reasons. 
Blockage of leg artery: The arteries of the leg may get blocked leading to the reduced blood supply to the part. The nerves get affected leading to loss of protective sensation to the foot. 
Reduced immune response and/or deformities: High blood sugar levels cause a poor immune response to infections. The bones and soft tissues change their shape and become stiff leading to deformities in the foot. Reduced sensation and deformities lead to unintentional injuries of the foot which may lead to wounds on the foot. These get easily infected because of high sugars and poor immune system. Minor infections of the nails or toes can rapidly spread fast and lead to cellulitis and skin death. Further complications can cause diabetic feet swelling, or gangrene (death) of the foot or leg and can cause serious danger to the life of the patient.

How to keep the diabetic foot condition under check?
In order to avoid loss of limb and life due to diabetic foot problems, one has to be aware of these issues and address them at the right time. It is ideal to treat diabetic patients at a centre which has a multi-disciplinary team that handles all problems associated with Diabetes. Specifically, regarding the foot, periodical evaluations are essential by a trained doctor to look for sensations, blood flow, deformities, calluses and small ulcers. At a very early stage itself, offloading of pressure bearing areas of the foot should be done with appropriate footwear. Self-care of the foot should be advised.

What are the medical treatments of diabetic foot?
It is necessary to detect deformities in the early stage and correct them before they cause problems. Plastic surgeons can help in the release of compressed nerves to improve the sensations of the foot. Corrective surgeries for soft tissue deformities may also be done. The blood flow to the foot can be improved by various surgical or non-surgical procedures. The role of the foot orthopaedic surgeon is also important to correct bony deformities and to fuse damaged joints in order to achieve a stable architecture of the foot.
In the case of ulcers of the foot, all of the above measures have to be taken to correct the underlying causes for ulceration. Surgical and nonsurgical debridement or cleaning is essential to achieve a healthy wound. Adjuvants like Negative Pressure Wound Therapy and hyperbaric oxygen therapy are also helpful in this regard. Many ulcers will heal with correction of the underlying cause, appropriate footwear and good wound care. Others may need reconstructive surgeries in the form of skin grafting, local flaps or micro-vascular flaps to achieve healing of the wound. A good plastic surgical team can provide all these facilities to treat diabetes infected foot and toe.
Continuing care of the foot is essential to prevent further diabetic infection to the foot and to maintain whatever success has been already achieved. Diabetic foot care is thus a complex and specialized field involving many specialities. It is best undertaken at a centre providing all these facilities. With appropriate multi-disciplinary care, limb and life can be salvaged.

Dr. Jose Tharayil
Cosmetic & Plastic Surgeon
VPS  Lakeshore Hospital
Whoops! There was an error.
ErrorException (E_NOTICE)
fwrite(): write of 1853 bytes failed with errno=28 No space left on device ErrorException thrown with message "fwrite(): write of 1853 bytes failed with errno=28 No space left on device" Stacktrace: #11 ErrorException in /home/vpsftps/public_html/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:133 #10 fwrite in /home/vpsftps/public_html/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:133 #9 Monolog\Handler\StreamHandler:streamWrite in /home/vpsftps/public_html/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:119 #8 Monolog\Handler\StreamHandler:write in /home/vpsftps/public_html/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php:39 #7 Monolog\Handler\AbstractProcessingHandler:handle in /home/vpsftps/public_html/vendor/monolog/monolog/src/Monolog/Logger.php:344 #6 Monolog\Logger:addRecord in /home/vpsftps/public_html/vendor/monolog/monolog/src/Monolog/Logger.php:712 #5 Monolog\Logger:error in /home/vpsftps/public_html/vendor/laravel/framework/src/Illuminate/Log/Writer.php:203 #4 Illuminate\Log\Writer:writeLog in /home/vpsftps/public_html/vendor/laravel/framework/src/Illuminate/Log/Writer.php:114 #3 Illuminate\Log\Writer:error in /home/vpsftps/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:113 #2 Illuminate\Foundation\Exceptions\Handler:report in /home/vpsftps/public_html/app/Exceptions/Handler.php:40 #1 App\Exceptions\Handler:report in /home/vpsftps/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php:81 #0 Illuminate\Foundation\Bootstrap\HandleExceptions:handleException in [internal]:0
11
ErrorException
/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php133
10
fwrite
/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php133
9
Monolog\Handler\StreamHandler streamWrite
/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php119
8
Monolog\Handler\StreamHandler write
/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php39
7
Monolog\Handler\AbstractProcessingHandler handle
/vendor/monolog/monolog/src/Monolog/Logger.php344
6
Monolog\Logger addRecord
/vendor/monolog/monolog/src/Monolog/Logger.php712
5
Monolog\Logger error
/vendor/laravel/framework/src/Illuminate/Log/Writer.php203
4
Illuminate\Log\Writer writeLog
/vendor/laravel/framework/src/Illuminate/Log/Writer.php114
3
Illuminate\Log\Writer error
/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php113
2
Illuminate\Foundation\Exceptions\Handler report
/app/Exceptions/Handler.php40
1
App\Exceptions\Handler report
/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php81
0
Illuminate\Foundation\Bootstrap\HandleExceptions handleException
[internal]0
/home/vpsftps/public_html/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php
        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
     */
    protected function streamWrite($stream, array $record)
    {
        fwrite($stream, (string) $record['formatted']);
    }
 
    private function customErrorHandler($code, $msg)
    {
        $this->errorMessage = preg_replace('{^(fopen|mkdir)\(.*?\): }', '', $msg);
    }
 
    /**
     * @param string $stream
     *
     * @return null|string
     */
    private function getDirFromStream($stream)
    {
        $pos = strpos($stream, '://');
        if ($pos === false) {
            return dirname($stream);
        }
 
        if ('file://' === substr($stream, 0, 7)) {
Arguments
  1. "fwrite(): write of 1853 bytes failed with errno=28 No space left on device"
    
/home/vpsftps/public_html/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php
        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
     */
    protected function streamWrite($stream, array $record)
    {
        fwrite($stream, (string) $record['formatted']);
    }
 
    private function customErrorHandler($code, $msg)
    {
        $this->errorMessage = preg_replace('{^(fopen|mkdir)\(.*?\): }', '', $msg);
    }
 
    /**
     * @param string $stream
     *
     * @return null|string
     */
    private function getDirFromStream($stream)
    {
        $pos = strpos($stream, '://');
        if ($pos === false) {
            return dirname($stream);
        }
 
        if ('file://' === substr($stream, 0, 7)) {
Arguments
  1. stream resource @425
      timed_out: false
      blocked: true
      eof: false
      wrapper_type: "plainfile"
      stream_type: "STDIO"
      mode: "a"
      unread_bytes: 0
      seekable: true
      uri: "/home/vpsftps/public_html/storage/logs/laravel.log"
      options: []
    }
    
  2. """
    [2024-04-24 16:31:26] local.ERROR: file_put_contents(): write of 264 bytes failed with errno=28 No space left on device {"exception":"[object] (ErrorException(code: 0): file_put_contents(): write of 264 bytes failed with errno=28 No space left on device at /home/vpsftps/public_html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:122)\n
    [stacktrace]\n
    #0 [internal function]: Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError(8, 'file_put_conten...', '/home/vpsftps/p...', 122, Array)\n
    #1 /home/vpsftps/public_html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(122): file_put_contents('/home/vpsftps/p...', 'a:4:{s:6:\"_toke...', 2)\n
    #2 /home/vpsftps/public_html/vendor/laravel/framework/src/Illuminate/Session/FileSessionHandler.php(83): Illuminate\\Filesystem\\Filesystem->put('/home/vpsftps/p...', 'a:4:{s:6:\"_toke...', true)\n
    #3 /home/vpsftps/public_html/vendor/laravel/framework/src/Illuminate/Session/Store.php(128): Illuminate\\Session\\FileSessionHandler->write('W4kWNX3G1a0ZYh6...', 'a:4:{s:6:\"_toke...')\n
    #4 /home/vpsftps/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(87): Illuminate\\Session\\Store->save()\n
    #5 /home/vpsftps/public_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 /home/vpsftps/public_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 /home/vpsftps/public_html/public/index.php(60): Illuminate\\Foundation\\Http\\Kernel->terminate(Object(Illuminate\\Http\\Request), Object(Illuminate\\Http\\Response))\n
    #8 {main}\n
    "} \n
    """
    
/home/vpsftps/public_html/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php
            $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 in append mode: '.$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
     */
    protected function streamWrite($stream, array $record)
    {
        fwrite($stream, (string) $record['formatted']);
    }
 
    private function customErrorHandler($code, $msg)
    {
        $this->errorMessage = preg_replace('{^(fopen|mkdir)\(.*?\): }', '', $msg);
    }
Arguments
  1. stream resource @425
      timed_out: false
      blocked: true
      eof: false
      wrapper_type: "plainfile"
      stream_type: "STDIO"
      mode: "a"
      unread_bytes: 0
      seekable: true
      uri: "/home/vpsftps/public_html/storage/logs/laravel.log"
      options: []
    }
    
  2. array:8 [
      "message" => "file_put_contents(): write of 264 bytes failed with errno=28 No space left on device"
      "context" => array:1 [
        "exception" => ErrorException {
          #message: "file_put_contents(): write of 264 bytes failed with errno=28 No space left on device"
          #code: 0
          #file: "/home/vpsftps/public_html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php"
          #line: 122
          #severity: E_NOTICE
        }
      ]
      "level" => 400
      "level_name" => "ERROR"
      "channel" => "local"
      "datetime" => DateTime @1713976286 {
        date: 2024-04-24 16:31:26.124278 UTC (+00:00)
      }
      "extra" => []
      "formatted" => """
        [2024-04-24 16:31:26] local.ERROR: file_put_contents(): write of 264 bytes failed with errno=28 No space left on device {"exception":"[object] (ErrorException(code: 0): file_put_contents(): write of 264 bytes failed with errno=28 No space left on device at /home/vpsftps/public_html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:122)\n
        [stacktrace]\n
        #0 [internal function]: Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError(8, 'file_put_conten...', '/home/vpsftps/p...', 122, Array)\n
        #1 /home/vpsftps/public_html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(122): file_put_contents('/home/vpsftps/p...', 'a:4:{s:6:\"_toke...', 2)\n
        #2 /home/vpsftps/public_html/vendor/laravel/framework/src/Illuminate/Session/FileSessionHandler.php(83): Illuminate\\Filesystem\\Filesystem->put('/home/vpsftps/p...', 'a:4:{s:6:\"_toke...', true)\n
        #3 /home/vpsftps/public_html/vendor/laravel/framework/src/Illuminate/Session/Store.php(128): Illuminate\\Session\\FileSessionHandler->write('W4kWNX3G1a0ZYh6...', 'a:4:{s:6:\"_toke...')\n
        #4 /home/vpsftps/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(87): Illuminate\\Session\\Store->save()\n
        #5 /home/vpsftps/public_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 /home/vpsftps/public_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 /home/vpsftps/public_html/public/index.php(60): Illuminate\\Foundation\\Http\\Kernel->terminate(Object(Illuminate\\Http\\Request), Object(Illuminate\\Http\\Response))\n
        #8 {main}\n
        "} \n
        """
    ]
    
/home/vpsftps/public_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(): write of 264 bytes failed with errno=28 No space left on device"
      "context" => array:1 [
        "exception" => ErrorException {
          #message: "file_put_contents(): write of 264 bytes failed with errno=28 No space left on device"
          #code: 0
          #file: "/home/vpsftps/public_html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php"
          #line: 122
          #severity: E_NOTICE
        }
      ]
      "level" => 400
      "level_name" => "ERROR"
      "channel" => "local"
      "datetime" => DateTime @1713976286 {
        date: 2024-04-24 16:31:26.124278 UTC (+00:00)
      }
      "extra" => []
      "formatted" => """
        [2024-04-24 16:31:26] local.ERROR: file_put_contents(): write of 264 bytes failed with errno=28 No space left on device {"exception":"[object] (ErrorException(code: 0): file_put_contents(): write of 264 bytes failed with errno=28 No space left on device at /home/vpsftps/public_html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:122)\n
        [stacktrace]\n
        #0 [internal function]: Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError(8, 'file_put_conten...', '/home/vpsftps/p...', 122, Array)\n
        #1 /home/vpsftps/public_html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(122): file_put_contents('/home/vpsftps/p...', 'a:4:{s:6:\"_toke...', 2)\n
        #2 /home/vpsftps/public_html/vendor/laravel/framework/src/Illuminate/Session/FileSessionHandler.php(83): Illuminate\\Filesystem\\Filesystem->put('/home/vpsftps/p...', 'a:4:{s:6:\"_toke...', true)\n
        #3 /home/vpsftps/public_html/vendor/laravel/framework/src/Illuminate/Session/Store.php(128): Illuminate\\Session\\FileSessionHandler->write('W4kWNX3G1a0ZYh6...', 'a:4:{s:6:\"_toke...')\n
        #4 /home/vpsftps/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(87): Illuminate\\Session\\Store->save()\n
        #5 /home/vpsftps/public_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 /home/vpsftps/public_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 /home/vpsftps/public_html/public/index.php(60): Illuminate\\Foundation\\Http\\Kernel->terminate(Object(Illuminate\\Http\\Request), Object(Illuminate\\Http\\Response))\n
        #8 {main}\n
        "} \n
        """
    ]
    
/home/vpsftps/public_html/vendor/monolog/monolog/src/Monolog/Logger.php
        }
        $ts->setTimezone(static::$timezone);
 
        $record = array(
            'message' => (string) $message,
            'context' => $context,
            'level' => $level,
            'level_name' => $levelName,
            'channel' => $this->name,
            'datetime' => $ts,
            'extra' => array(),
        );
 
        try {
            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);
            }
        } catch (Exception $e) {
            $this->handleException($e, $record);
        }
 
        return true;
    }
 
    /**
     * Ends a log cycle and frees all resources used by handlers.
     *
     * Closing a Handler means flushing all buffers and freeing any open resources/handles.
     * Handlers that have been closed should be able to accept log records again and re-open
     * themselves on demand, but this may not always be possible depending on implementation.
     *
     * This is useful at the end of a request and will be called automatically on every handler
Arguments
  1. array:8 [
      "message" => "file_put_contents(): write of 264 bytes failed with errno=28 No space left on device"
      "context" => array:1 [
        "exception" => ErrorException {
          #message: "file_put_contents(): write of 264 bytes failed with errno=28 No space left on device"
          #code: 0
          #file: "/home/vpsftps/public_html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php"
          #line: 122
          #severity: E_NOTICE
        }
      ]
      "level" => 400
      "level_name" => "ERROR"
      "channel" => "local"
      "datetime" => DateTime @1713976286 {
        date: 2024-04-24 16:31:26.124278 UTC (+00:00)
      }
      "extra" => []
      "formatted" => """
        [2024-04-24 16:31:26] local.ERROR: file_put_contents(): write of 264 bytes failed with errno=28 No space left on device {"exception":"[object] (ErrorException(code: 0): file_put_contents(): write of 264 bytes failed with errno=28 No space left on device at /home/vpsftps/public_html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:122)\n
        [stacktrace]\n
        #0 [internal function]: Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError(8, 'file_put_conten...', '/home/vpsftps/p...', 122, Array)\n
        #1 /home/vpsftps/public_html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(122): file_put_contents('/home/vpsftps/p...', 'a:4:{s:6:\"_toke...', 2)\n
        #2 /home/vpsftps/public_html/vendor/laravel/framework/src/Illuminate/Session/FileSessionHandler.php(83): Illuminate\\Filesystem\\Filesystem->put('/home/vpsftps/p...', 'a:4:{s:6:\"_toke...', true)\n
        #3 /home/vpsftps/public_html/vendor/laravel/framework/src/Illuminate/Session/Store.php(128): Illuminate\\Session\\FileSessionHandler->write('W4kWNX3G1a0ZYh6...', 'a:4:{s:6:\"_toke...')\n
        #4 /home/vpsftps/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(87): Illuminate\\Session\\Store->save()\n
        #5 /home/vpsftps/public_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 /home/vpsftps/public_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 /home/vpsftps/public_html/public/index.php(60): Illuminate\\Foundation\\Http\\Kernel->terminate(Object(Illuminate\\Http\\Request), Object(Illuminate\\Http\\Response))\n
        #8 {main}\n
        "} \n
        """
    ]
    
/home/vpsftps/public_html/vendor/monolog/monolog/src/Monolog/Logger.php
     * @param  array  $context The log context
     * @return bool   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 bool   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 bool   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(): write of 264 bytes failed with errno=28 No space left on device"
    
  3. array:1 [
      "exception" => ErrorException {
        #message: "file_put_contents(): write of 264 bytes failed with errno=28 No space left on device"
        #code: 0
        #file: "/home/vpsftps/public_html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php"
        #line: 122
        #severity: E_NOTICE
      }
    ]
    
/home/vpsftps/public_html/vendor/laravel/framework/src/Illuminate/Log/Writer.php
     * @return void
     */
    public function write($level, $message, array $context = [])
    {
        $this->writeLog($level, $message, $context);
    }
 
    /**
     * Write a message to Monolog.
     *
     * @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->monolog->{$level}($message, $context);
    }
 
    /**
     * Register a file log handler.
     *
     * @param  string  $path
     * @param  string  $level
     * @return void
     */
    public function useFiles($path, $level = 'debug')
    {
        $this->monolog->pushHandler($handler = new StreamHandler($path, $this->parseLevel($level)));
 
        $handler->setFormatter($this->getDefaultFormatter());
    }
 
    /**
     * Register a daily file log handler.
     *
     * @param  string  $path
Arguments
  1. "file_put_contents(): write of 264 bytes failed with errno=28 No space left on device"
    
  2. array:1 [
      "exception" => ErrorException {
        #message: "file_put_contents(): write of 264 bytes failed with errno=28 No space left on device"
        #code: 0
        #file: "/home/vpsftps/public_html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php"
        #line: 122
        #severity: E_NOTICE
      }
    ]
    
/home/vpsftps/public_html/vendor/laravel/framework/src/Illuminate/Log/Writer.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(): write of 264 bytes failed with errno=28 No space left on device"
    
  3. array:1 [
      "exception" => ErrorException {
        #message: "file_put_contents(): write of 264 bytes failed with errno=28 No space left on device"
        #code: 0
        #file: "/home/vpsftps/public_html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php"
        #line: 122
        #severity: E_NOTICE
      }
    ]
    
/home/vpsftps/public_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; // throw the original exception
        }
 
        $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(): write of 264 bytes failed with errno=28 No space left on device"
    
  2. array:1 [
      "exception" => ErrorException {
        #message: "file_put_contents(): write of 264 bytes failed with errno=28 No space left on device"
        #code: 0
        #file: "/home/vpsftps/public_html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php"
        #line: 122
        #severity: E_NOTICE
      }
    ]
    
/home/vpsftps/public_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)
    {
        // if ($exception instanceof CustomException) {
        //     return response()->view('errors.404', [], 404);
        // }
 
        // return parent::render($request, $exception);
        
        if ($this->isHttpException($exception)) 
        {
            if ($exception->getStatusCode() == 404) 
Arguments
  1. ErrorException {
      #message: "file_put_contents(): write of 264 bytes failed with errno=28 No space left on device"
      #code: 0
      #file: "/home/vpsftps/public_html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php"
      #line: 122
      #severity: E_NOTICE
    }
    
/home/vpsftps/public_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(): write of 264 bytes failed with errno=28 No space left on device"
      #code: 0
      #file: "/home/vpsftps/public_html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php"
      #line: 122
      #severity: E_NOTICE
    }
    
[internal]
Arguments
  1. ErrorException {
      #message: "file_put_contents(): write of 264 bytes failed with errno=28 No space left on device"
      #code: 0
      #file: "/home/vpsftps/public_html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php"
      #line: 122
      #severity: E_NOTICE
    }
    

Environment & details:

empty
empty
empty
empty
empty
Key Value
CONTEXT_DOCUMENT_ROOT
"/home/vpsftps/public_html/public"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/home/vpsftps/public_html/public"
GATEWAY_INTERFACE
"CGI/1.1"
HTTPS
"on"
HTTP_ACCEPT
"*/*"
HTTP_HOST
"www.vpslakeshorehospital.com"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
PATH
"/bin:/usr/bin"
PHP_INI_SCAN_DIR
"/opt/cpanel/ea-php74/root/etc:/opt/cpanel/ea-php74/root/etc/php.d:."
QUERY_STRING
""
REDIRECT_HTTPS
"on"
REDIRECT_SSL_TLS_SNI
"www.vpslakeshorehospital.com"
REDIRECT_STATUS
"200"
REDIRECT_UNIQUE_ID
"Zikz3eez6aTrwiFgVxuFYwAAAwY"
REDIRECT_URL
"/blog/diabetic-foot-infection-causes-and-treatment"
REMOTE_ADDR
"18.116.63.174"
REMOTE_PORT
"34915"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
REQUEST_URI
"/blog/diabetic-foot-infection-causes-and-treatment"
SCRIPT_FILENAME
"/home/vpsftps/public_html/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"72.52.142.236"
SERVER_ADMIN
"webmaster@vpslakeshorehospital.com"
SERVER_NAME
"www.vpslakeshorehospital.com"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache"
SSL_TLS_SNI
"www.vpslakeshorehospital.com"
TZ
"Asia/Dubai"
UNIQUE_ID
"Zikz3eez6aTrwiFgVxuFYwAAAwY"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1713976285.9368
REQUEST_TIME
1713976285
argv
[]
argc
0
APP_NAME
"VPS Lakeshore"
APP_ENV
"local"
APP_KEY
"base64:nxWALHNutHxwRR/6qkGa9eVE8rJcO1Lzy+A7+2JwHvw="
APP_DEBUG
"true"
APP_LOG_LEVEL
"debug"
APP_URL
"https://www.vpslakeshorehospital.com/"
DB_CONNECTION
"mysql"
DB_HOST
"127.0.0.1"
DB_PORT
"3306"
DB_DATABASE
"vpsftps_new"
DB_USERNAME
"vpsftps_new"
DB_PASSWORD
"%]28p^v6PE{N"
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"
MAIL_MAILER
"smtp"
MAIL_HOST
"smtp.gmail.com"
MAIL_PORT
"587"
MAIL_USERNAME
"socialmedia@lakeshorehospital.org"
MAIL_PASSWORD
"rzfixaccfyzmmtho"
MAIL_ENCRYPTION
"tls"
MAIL_FROM
"socialmedia@lakeshorehospital.org"
PUSHER_APP_ID
""
PUSHER_APP_KEY
""
PUSHER_APP_SECRET
""
PUSHER_APP_CLUSTER
"mt1"
AYUR_ID
"78"
CAPTCHA_SITEKEY
"6LecBtsbAAAAADVzKUCtuyvxB7QXxe_mf_4KvyyZ"
CAPTCHA_SECRET
"6LecBtsbAAAAAE0VRf82kG6f0NwsQT-gks83zxl9"
Key Value
APP_NAME
"VPS Lakeshore"
APP_ENV
"local"
APP_KEY
"base64:nxWALHNutHxwRR/6qkGa9eVE8rJcO1Lzy+A7+2JwHvw="
APP_DEBUG
"true"
APP_LOG_LEVEL
"debug"
APP_URL
"https://www.vpslakeshorehospital.com/"
DB_CONNECTION
"mysql"
DB_HOST
"127.0.0.1"
DB_PORT
"3306"
DB_DATABASE
"vpsftps_new"
DB_USERNAME
"vpsftps_new"
DB_PASSWORD
"%]28p^v6PE{N"
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"
MAIL_MAILER
"smtp"
MAIL_HOST
"smtp.gmail.com"
MAIL_PORT
"587"
MAIL_USERNAME
"socialmedia@lakeshorehospital.org"
MAIL_PASSWORD
"rzfixaccfyzmmtho"
MAIL_ENCRYPTION
"tls"
MAIL_FROM
"socialmedia@lakeshorehospital.org"
PUSHER_APP_ID
""
PUSHER_APP_KEY
""
PUSHER_APP_SECRET
""
PUSHER_APP_CLUSTER
"mt1"
AYUR_ID
"78"
CAPTCHA_SITEKEY
"6LecBtsbAAAAADVzKUCtuyvxB7QXxe_mf_4KvyyZ"
CAPTCHA_SECRET
"6LecBtsbAAAAAE0VRf82kG6f0NwsQT-gks83zxl9"
0. Whoops\Handler\PrettyPageHandler