Warning: unserialize(): Error at offset 4061 of 4063 bytes in /var/www/smartalarm.gr/libraries/src/Cache/Controller/OutputController.php on line 71

Warning: Trying to access array offset on false in /var/www/smartalarm.gr/libraries/src/Application/SiteApplication.php on line 483

Warning: Attempt to read property "template" on null in /var/www/smartalarm.gr/libraries/src/Application/SiteApplication.php on line 501
Attempt to assign property "template" on null (500 Whoops, looks like something went wrong.)

mysqli_sql_exception Exception Error

HTTP 500 Whoops, looks like something went wrong.

Attempt to assign property "template" on null

Exceptions 3

Error

  1. }
  2. }
  3. }
  4. // Need to filter the default value as well
  5. $template->template = InputFilter::getInstance()->clean($template->template, 'cmd');
  6. // Fallback template
  7. if (!empty($template->parent)) {
  8. if (!is_file(JPATH_THEMES . '/' . $template->template . '/index.php')) {
  9. if (!is_file(JPATH_THEMES . '/' . $template->parent . '/index.php')) {
  1. public function render(\Throwable $error): string
  2. {
  3. $app = Factory::getApplication();
  4. // Get the current template from the application
  5. $template = $app->getTemplate(true);
  6. // Push the error object into the document
  7. $this->getDocument()->setError($error);
  8. // Add registry file for the template asset
  1. 'subject' => $app,
  2. 'document' => $renderer->getDocument(),
  3. ])
  4. );
  5. $data = $renderer->render($error);
  6. // If nothing was rendered, just use the message from the Exception
  7. if (empty($data)) {
  8. $data = $error->getMessage();
  9. }
  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/smartalarm.gr/libraries/src/Application/CMSApplication.php (line 334)
  1. );
  2. // Trigger the onError event.
  3. $this->dispatchEvent('onError', $event);
  4. ExceptionHandler::handleException($event->getError());
  5. }
  6. // Trigger the onBeforeRespond event.
  7. $this->dispatchEvent(
  8. 'onBeforeRespond',
CMSApplication->execute() in /var/www/smartalarm.gr/includes/app.php (line 58)
  1. // Set the application as global app
  2. \Joomla\CMS\Factory::$application = $app;
  3. // Execute the application.
  4. $app->execute();
require_once('/var/www/smartalarm.gr/includes/app.php') in /var/www/smartalarm.gr/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 __DIR__ . '/includes/app.php';

Exception

Συνέβη ένα σφάλμα κατά την ενημέρωση της βάσης δεδομένων.

  1. $redirect->hits++;
  2. try {
  3. $this->getDatabase()->updateObject('#__redirect_links', $redirect, ['id']);
  4. } catch (\Exception $e) {
  5. $event->setError(new \Exception($this->getApplication()->getLanguage()->_('PLG_SYSTEM_REDIRECT_ERROR_UPDATING_DATABASE'), 500, $e));
  6. return;
  7. }
  8. }
  9. }
  1. foreach ($this->listeners[$event->getName()] as $listener) {
  2. if ($event->isStopped()) {
  3. return $event;
  4. }
  5. $listener($event);
  6. }
  7. }
  8. return $event;
  9. }
  1. $dispatcher = $this->getDispatcher();
  2. } catch (\UnexpectedValueException $exception) {
  3. return null;
  4. }
  5. return $dispatcher->dispatch($eventName, $event ?: new ApplicationEvent($eventName, $this));
  6. }
  7. /**
  8. * Method to run the application routines.
  9. *
AbstractApplication->dispatchEvent() in /var/www/smartalarm.gr/libraries/src/Application/CMSApplication.php (line 332)
  1. 'application' => $this,
  2. ]
  3. );
  4. // Trigger the onError event.
  5. $this->dispatchEvent('onError', $event);
  6. ExceptionHandler::handleException($event->getError());
  7. }
  8. // Trigger the onBeforeRespond event.
CMSApplication->execute() in /var/www/smartalarm.gr/includes/app.php (line 58)
  1. // Set the application as global app
  2. \Joomla\CMS\Factory::$application = $app;
  3. // Execute the application.
  4. $app->execute();
require_once('/var/www/smartalarm.gr/includes/app.php') in /var/www/smartalarm.gr/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 __DIR__ . '/includes/app.php';

mysqli_sql_exception

Disk got full writing 'information_schema.(temporary)' (Errcode: 28 "No space left on device")

  1. $this->connection = $connection;
  2. $this->query = $query;
  3. $query = $this->prepareParameterKeyMapping($query);
  4. $this->statement = $connection->prepare($query);
  5. if (!$this->statement) {
  6. throw new PrepareStatementFailureException($this->connection->error, $this->connection->errno);
  7. }
  8. }
  1. $this->connection = $connection;
  2. $this->query = $query;
  3. $query = $this->prepareParameterKeyMapping($query);
  4. $this->statement = $connection->prepare($query);
  5. if (!$this->statement) {
  6. throw new PrepareStatementFailureException($this->connection->error, $this->connection->errno);
  7. }
  8. }
  1. * @since 2.0.0
  2. * @throws PrepareStatementFailureException
  3. */
  4. protected function prepareStatement(string $query): StatementInterface
  5. {
  6. return new MysqliStatement($this->connection, $query);
  7. }
  8. /**
  9. * Unlocks tables in the database.
  10. *
  1. $query->setLimit($limit, $offset);
  2. $sql = $this->replacePrefix((string) $query);
  3. $this->statement = $this->prepareStatement($sql);
  4. $this->sql = $query;
  5. $this->limit = (int) max(0, $limit);
  6. $this->offset = (int) max(0, $offset);
  1. $this->connect();
  2. $result = [];
  3. // Set the query to get the table fields statement.
  4. $fields = $this->setQuery('SHOW FULL COLUMNS FROM ' . $this->quoteName($this->escape($table)))->loadObjectList();
  5. // If we only want the type as the value add just that to the list.
  6. if ($typeOnly) {
  7. foreach ($fields as $field) {
  8. $result[$field->Field] = preg_replace('/[(0-9)]/', '', $field->Type);
  1. */
  2. public function updateObject($table, &$object, $key, $nulls = false)
  3. {
  4. $fields = [];
  5. $where = [];
  6. $tableColumns = $this->getTableColumns($table);
  7. if (\is_string($key)) {
  8. $key = [$key];
  9. }
  1. } else {
  2. // We have an unpublished redirect object, increment the hit counter
  3. $redirect->hits++;
  4. try {
  5. $this->getDatabase()->updateObject('#__redirect_links', $redirect, ['id']);
  6. } catch (\Exception $e) {
  7. $event->setError(new \Exception($this->getApplication()->getLanguage()->_('PLG_SYSTEM_REDIRECT_ERROR_UPDATING_DATABASE'), 500, $e));
  8. return;
  9. }
  1. foreach ($this->listeners[$event->getName()] as $listener) {
  2. if ($event->isStopped()) {
  3. return $event;
  4. }
  5. $listener($event);
  6. }
  7. }
  8. return $event;
  9. }
  1. $dispatcher = $this->getDispatcher();
  2. } catch (\UnexpectedValueException $exception) {
  3. return null;
  4. }
  5. return $dispatcher->dispatch($eventName, $event ?: new ApplicationEvent($eventName, $this));
  6. }
  7. /**
  8. * Method to run the application routines.
  9. *
AbstractApplication->dispatchEvent() in /var/www/smartalarm.gr/libraries/src/Application/CMSApplication.php (line 332)
  1. 'application' => $this,
  2. ]
  3. );
  4. // Trigger the onError event.
  5. $this->dispatchEvent('onError', $event);
  6. ExceptionHandler::handleException($event->getError());
  7. }
  8. // Trigger the onBeforeRespond event.
CMSApplication->execute() in /var/www/smartalarm.gr/includes/app.php (line 58)
  1. // Set the application as global app
  2. \Joomla\CMS\Factory::$application = $app;
  3. // Execute the application.
  4. $app->execute();
require_once('/var/www/smartalarm.gr/includes/app.php') in /var/www/smartalarm.gr/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 __DIR__ . '/includes/app.php';

Stack Traces 3

[3/3] Error
Error:
Attempt to assign property "template" on null

  at /var/www/smartalarm.gr/libraries/src/Application/SiteApplication.php:501
  at Joomla\CMS\Application\SiteApplication->getTemplate()
     (/var/www/smartalarm.gr/libraries/src/Error/Renderer/HtmlRenderer.php:50)
  at Joomla\CMS\Error\Renderer\HtmlRenderer->render()
     (/var/www/smartalarm.gr/libraries/src/Exception/ExceptionHandler.php:136)
  at Joomla\CMS\Exception\ExceptionHandler::render()
     (/var/www/smartalarm.gr/libraries/src/Exception/ExceptionHandler.php:73)
  at Joomla\CMS\Exception\ExceptionHandler::handleException()
     (/var/www/smartalarm.gr/libraries/src/Application/CMSApplication.php:334)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/var/www/smartalarm.gr/includes/app.php:58)
  at require_once('/var/www/smartalarm.gr/includes/app.php')
     (/var/www/smartalarm.gr/index.php:32)                
[2/3] Exception
Exception:
Συνέβη ένα σφάλμα κατά την ενημέρωση της βάσης δεδομένων.

  at /var/www/smartalarm.gr/plugins/system/redirect/src/Extension/Redirect.php:259
  at Joomla\Plugin\System\Redirect\Extension\Redirect->handleError()
     (/var/www/smartalarm.gr/libraries/vendor/joomla/event/src/Dispatcher.php:454)
  at Joomla\Event\Dispatcher->dispatch()
     (/var/www/smartalarm.gr/libraries/vendor/joomla/application/src/AbstractApplication.php:99)
  at Joomla\Application\AbstractApplication->dispatchEvent()
     (/var/www/smartalarm.gr/libraries/src/Application/CMSApplication.php:332)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/var/www/smartalarm.gr/includes/app.php:58)
  at require_once('/var/www/smartalarm.gr/includes/app.php')
     (/var/www/smartalarm.gr/index.php:32)                
[1/3] mysqli_sql_exception
mysqli_sql_exception:
Disk got full writing 'information_schema.(temporary)' (Errcode: 28 "No space left on device")

  at /var/www/smartalarm.gr/libraries/vendor/joomla/database/src/Mysqli/MysqliStatement.php:138
  at mysqli->prepare()
     (/var/www/smartalarm.gr/libraries/vendor/joomla/database/src/Mysqli/MysqliStatement.php:138)
  at Joomla\Database\Mysqli\MysqliStatement->__construct()
     (/var/www/smartalarm.gr/libraries/vendor/joomla/database/src/Mysqli/MysqliDriver.php:972)
  at Joomla\Database\Mysqli\MysqliDriver->prepareStatement()
     (/var/www/smartalarm.gr/libraries/vendor/joomla/database/src/DatabaseDriver.php:1780)
  at Joomla\Database\DatabaseDriver->setQuery()
     (/var/www/smartalarm.gr/libraries/vendor/joomla/database/src/Mysqli/MysqliDriver.php:539)
  at Joomla\Database\Mysqli\MysqliDriver->getTableColumns()
     (/var/www/smartalarm.gr/libraries/vendor/joomla/database/src/DatabaseDriver.php:1831)
  at Joomla\Database\DatabaseDriver->updateObject()
     (/var/www/smartalarm.gr/plugins/system/redirect/src/Extension/Redirect.php:257)
  at Joomla\Plugin\System\Redirect\Extension\Redirect->handleError()
     (/var/www/smartalarm.gr/libraries/vendor/joomla/event/src/Dispatcher.php:454)
  at Joomla\Event\Dispatcher->dispatch()
     (/var/www/smartalarm.gr/libraries/vendor/joomla/application/src/AbstractApplication.php:99)
  at Joomla\Application\AbstractApplication->dispatchEvent()
     (/var/www/smartalarm.gr/libraries/src/Application/CMSApplication.php:332)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/var/www/smartalarm.gr/includes/app.php:58)
  at require_once('/var/www/smartalarm.gr/includes/app.php')
     (/var/www/smartalarm.gr/index.php:32)                

Warning: session_write_close(): Failed to write session data using user defined save handler. (session.save_path: /var/lib/php/sessions, handler: Joomla\Session\Handler\DatabaseHandler::write) in /var/www/smartalarm.gr/libraries/vendor/joomla/session/src/Storage/NativeStorage.php on line 114