Notice: file_put_contents(): write of 1180 bytes failed with errno=28 No space left on device in /var/www/html/joomla1/libraries/src/Filesystem/File.php on line 537

Warning: file_put_contents(): Only -1 of 1180 bytes written, possibly out of free disk space in /var/www/html/joomla1/libraries/src/Filesystem/File.php on line 537
Cannot write to log file. (500 Whoops, looks like something went wrong.)

RuntimeException RuntimeException

HTTP 500 Whoops, looks like something went wrong.

Cannot write to log file.

Exceptions 2

RuntimeException

  1.             $line $this->formatLine($entry);
  2.             $line .= "\n";
  3.             if (!File::append($this->path$line))
  4.             {
  5.                 throw new \RuntimeException('Cannot write to log file.');
  6.             }
  7.         }
  8.     }
  9.     /**
FormattedtextLogger->addEntry() in /var/www/html/joomla1/libraries/src/Log/Log.php (line 367)
  1.                 $this->loggers[$signature] = new $class($this->configurations[$signature]);
  2.             }
  3.             // Add the entry to the logger.
  4.             $this->loggers[$signature]->addEntry(clone $entry);
  5.         }
  6.     }
  7.     /**
  8.      * Method to find the loggers to use based on priority and category values.
Log->addLogEntry() in /var/www/html/joomla1/libraries/src/Log/Log.php (line 175)
  1.         if (!($entry instanceof LogEntry))
  2.         {
  3.             $entry = new LogEntry((string) $entry$priority$category$date$context);
  4.         }
  5.         static::$instance->addLogEntry($entry);
  6.     }
  7.     /**
  8.      * Add a logger to the Log instance.  Loggers route log entries to the correct files/systems to be logged.
  9.      *
  1.         if ($errorNumber === E_USER_DEPRECATED)
  2.         {
  3.             Log::add(
  4.                 $errorMessage,
  5.                 Log::WARNING,
  6.                 'deprecated'
  7.             );
  8.             // If debug mode is enabled, we want to let PHP continue to handle the error; otherwise, we can bail early
  9.             if (\defined('JDEBUG') && JDEBUG)
  10.             {
ExceptionHandler::handleUserDeprecatedErrors()
  1.      *
  2.      * @author Nicolas Grekas <p@tchwork.com>
  3.      */
  4.     function trigger_deprecation(string $packagestring $versionstring $message, ...$args): void
  5.     {
  6.         @trigger_error(($package || $version "Since $package $version: " '').($args vsprintf($message$args) : $message), \E_USER_DEPRECATED);
  7.     }
  8. }
  1.                 trigger_deprecation(
  2.                     'joomla/application',
  3.                     '2.0.0',
  4.                     'Accessing the input property of %s is deprecated, use the %s::getInput() method instead.',
  5.                     self::class,
  6.                     self::class
  7.                 );
  8.                 return $this->getInput();
  9.             default:
AbstractWebApplication->__get() in /var/www/html/joomla1/libraries/src/Exception/ExceptionHandler.php (line 111)
  1.             {
  2.                 $format Factory::$document->getType();
  3.             }
  4.             else
  5.             {
  6.                 $format $app->input->getString('format''html');
  7.             }
  8.             try
  9.             {
  10.                 $renderer AbstractRenderer::getRenderer($format);
  1.      * @since   3.10.0
  2.      */
  3.     public static function handleException(\Throwable $error)
  4.     {
  5.         static::logException($error);
  6.         static::render($error);
  7.     }
  8.     /**
  9.      * Render the error page based on an exception.
  10.      *
ExceptionHandler::handleException() in /var/www/html/joomla1/libraries/src/Application/CMSApplication.php (line 311)
  1.             );
  2.             // Trigger the onError event.
  3.             $this->triggerEvent('onError'$event);
  4.             ExceptionHandler::handleException($event->getError());
  5.         }
  6.         // Send the application response.
  7.         $this->respond();
CMSApplication->execute() in /var/www/html/joomla1/includes/app.php (line 63)
  1. // Set the application as global app
  2. \Joomla\CMS\Factory::$application $app;
  3. // Execute the application.
  4. $app->execute();
require_once('/var/www/html/joomla1/includes/app.php') in /var/www/html/joomla1/index.php (line 32)
  1.  * define() is used rather than "const" to not error for PHP 5.2 and lower
  2.  */
  3. define('_JEXEC'1);
  4. // Run the application - All executable code should be triggered through this file
  5. require_once dirname(__FILE__) . '/includes/app.php';

RuntimeException

Cannot write to log file.

  1.             $line $this->formatLine($entry);
  2.             $line .= "\n";
  3.             if (!File::append($this->path$line))
  4.             {
  5.                 throw new \RuntimeException('Cannot write to log file.');
  6.             }
  7.         }
  8.     }
  9.     /**
FormattedtextLogger->addEntry() in /var/www/html/joomla1/libraries/src/Log/Log.php (line 367)
  1.                 $this->loggers[$signature] = new $class($this->configurations[$signature]);
  2.             }
  3.             // Add the entry to the logger.
  4.             $this->loggers[$signature]->addEntry(clone $entry);
  5.         }
  6.     }
  7.     /**
  8.      * Method to find the loggers to use based on priority and category values.
Log->addLogEntry() in /var/www/html/joomla1/libraries/src/Log/Log.php (line 175)
  1.         if (!($entry instanceof LogEntry))
  2.         {
  3.             $entry = new LogEntry((string) $entry$priority$category$date$context);
  4.         }
  5.         static::$instance->addLogEntry($entry);
  6.     }
  7.     /**
  8.      * Add a logger to the Log instance.  Loggers route log entries to the correct files/systems to be logged.
  9.      *
  1.         if ($errorNumber === E_USER_DEPRECATED)
  2.         {
  3.             Log::add(
  4.                 $errorMessage,
  5.                 Log::WARNING,
  6.                 'deprecated'
  7.             );
  8.             // If debug mode is enabled, we want to let PHP continue to handle the error; otherwise, we can bail early
  9.             if (\defined('JDEBUG') && JDEBUG)
  10.             {
ExceptionHandler::handleUserDeprecatedErrors()
  1.             sprintf(
  2.                 '%1$s() is deprecated. Load the user from the dependency injection container or via %2$s::getApplication()->getIdentity().',
  3.                 __METHOD__,
  4.                 __CLASS__
  5.             ),
  6.             E_USER_DEPRECATED
  7.         );
  8.         $instance self::getApplication()->getSession()->get('user');
  9.         if (\is_null($id))
  1.      *
  2.      * @since   3.2
  3.      */
  4.     protected function initialiseApp($options = array())
  5.     {
  6.         $user Factory::getUser();
  7.         // If the user is a guest we populate it with the guest user group.
  8.         if ($user->guest)
  9.         {
  10.             $guestUsergroup ComponentHelper::getParams('com_users')->get('guest_usergroup'1);
SiteApplication->initialiseApp() in /var/www/html/joomla1/libraries/src/Application/SiteApplication.php (line 224)
  1.      * @since   3.2
  2.      */
  3.     protected function doExecute()
  4.     {
  5.         // Initialise the application
  6.         $this->initialiseApp();
  7.         // Mark afterInitialise in the profiler.
  8.         JDEBUG $this->profiler->mark('afterInitialise') : null;
  9.         // Route the application
  1.             $this->sanityCheckSystemVariables();
  2.             $this->setupLogging();
  3.             $this->createExtensionNamespaceMap();
  4.             // Perform application routines.
  5.             $this->doExecute();
  6.             // If we have an application document object, render it.
  7.             if ($this->document instanceof \Joomla\CMS\Document\Document)
  8.             {
  9.                 // Render the application output.
CMSApplication->execute() in /var/www/html/joomla1/includes/app.php (line 63)
  1. // Set the application as global app
  2. \Joomla\CMS\Factory::$application $app;
  3. // Execute the application.
  4. $app->execute();
require_once('/var/www/html/joomla1/includes/app.php') in /var/www/html/joomla1/index.php (line 32)
  1.  * define() is used rather than "const" to not error for PHP 5.2 and lower
  2.  */
  3. define('_JEXEC'1);
  4. // Run the application - All executable code should be triggered through this file
  5. require_once dirname(__FILE__) . '/includes/app.php';

Stack Traces 2

[2/2] RuntimeException
RuntimeException:
Cannot write to log file.

  at /var/www/html/joomla1/libraries/src/Log/Logger/FormattedtextLogger.php:177
  at Joomla\CMS\Log\Logger\FormattedtextLogger->addEntry()
     (/var/www/html/joomla1/libraries/src/Log/Log.php:367)
  at Joomla\CMS\Log\Log->addLogEntry()
     (/var/www/html/joomla1/libraries/src/Log/Log.php:175)
  at Joomla\CMS\Log\Log::add()
     (/var/www/html/joomla1/libraries/src/Exception/ExceptionHandler.php:45)
  at Joomla\CMS\Exception\ExceptionHandler::handleUserDeprecatedErrors()
  at trigger_error()
     (/var/www/html/joomla1/libraries/vendor/symfony/deprecation-contracts/function.php:25)
  at trigger_deprecation()
     (/var/www/html/joomla1/libraries/vendor/joomla/application/src/AbstractWebApplication.php:225)
  at Joomla\Application\AbstractWebApplication->__get()
     (/var/www/html/joomla1/libraries/src/Exception/ExceptionHandler.php:111)
  at Joomla\CMS\Exception\ExceptionHandler::render()
     (/var/www/html/joomla1/libraries/src/Exception/ExceptionHandler.php:71)
  at Joomla\CMS\Exception\ExceptionHandler::handleException()
     (/var/www/html/joomla1/libraries/src/Application/CMSApplication.php:311)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/var/www/html/joomla1/includes/app.php:63)
  at require_once('/var/www/html/joomla1/includes/app.php')
     (/var/www/html/joomla1/index.php:32)                
[1/2] RuntimeException
RuntimeException:
Cannot write to log file.

  at /var/www/html/joomla1/libraries/src/Log/Logger/FormattedtextLogger.php:177
  at Joomla\CMS\Log\Logger\FormattedtextLogger->addEntry()
     (/var/www/html/joomla1/libraries/src/Log/Log.php:367)
  at Joomla\CMS\Log\Log->addLogEntry()
     (/var/www/html/joomla1/libraries/src/Log/Log.php:175)
  at Joomla\CMS\Log\Log::add()
     (/var/www/html/joomla1/libraries/src/Exception/ExceptionHandler.php:45)
  at Joomla\CMS\Exception\ExceptionHandler::handleUserDeprecatedErrors()
  at trigger_error()
     (/var/www/html/joomla1/libraries/src/Factory.php:335)
  at Joomla\CMS\Factory::getUser()
     (/var/www/html/joomla1/libraries/src/Application/SiteApplication.php:621)
  at Joomla\CMS\Application\SiteApplication->initialiseApp()
     (/var/www/html/joomla1/libraries/src/Application/SiteApplication.php:224)
  at Joomla\CMS\Application\SiteApplication->doExecute()
     (/var/www/html/joomla1/libraries/src/Application/CMSApplication.php:278)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/var/www/html/joomla1/includes/app.php:63)
  at require_once('/var/www/html/joomla1/includes/app.php')
     (/var/www/html/joomla1/index.php:32)