ExecutionFailureException Exception UndefinedMethodError

HTTP 500 Whoops, looks like something went wrong.

Attempted to call an undefined method named "isSite" of class "Joomla\CMS\Application\SiteApplication".

Exceptions 3

Symfony\Component\ErrorHandler\Error\ UndefinedMethodError

  1.         // set translations
  2.         $this->language->load('tpl_warp'$this['path']->path('warp:systems/joomla'), nulltrue);
  3.         // is site ?
  4.         if ($this->application->isSite()) {
  5.             // set config
  6.             $this->config->set('language'$this->document->language);
  7.             $this->config->set('direction'$this->document->direction);
  8.             $this->config->set('site_url'rtrim(JURI::root(), '/'));
  1. $warp['path']->register(dirname(__FILE__).'/layouts','layouts');
  2. $warp['path']->register(dirname(__FILE__).'/js''js');
  3. $warp['path']->register(dirname(__FILE__).'/css''css');
  4. // init system
  5. $warp['system']->init();
include_once('/customers/a/2/9/aadak.net/httpd.www/templates/yoo_downtown/config.php') in /customers/a/2/9/aadak.net/httpd.www/templates/yoo_downtown/error.php (line 13)
  1. // no direct access
  2. defined('_JEXEC') or die('Restricted access');
  3. // include config    
  4. include_once(dirname(__FILE__).'/config.php');
  5. // get warp
  6. $warp Warp::getInstance();
  7. // set messages
require('/customers/a/2/9/aadak.net/httpd.www/templates/yoo_downtown/error.php') in /customers/a/2/9/aadak.net/httpd.www/libraries/src/Document/HtmlDocument.php (line 736)
  1.             // Store the file path
  2.             $this->_file $directory '/' $filename;
  3.             // Get the file content
  4.             ob_start();
  5.             require $directory '/' $filename;
  6.             $contents ob_get_contents();
  7.             ob_end_clean();
  8.         }
  9.         return $contents;
HtmlDocument->_loadTemplate('/customers/a/2/9/aadak.net/httpd.www/templates/yoo_downtown', 'error.php') in /customers/a/2/9/aadak.net/httpd.www/libraries/src/Document/HtmlDocument.php (line 791)
  1.         $this->baseurl Uri::base(true);
  2.         $this->params $params['params'] ?? new Registry();
  3.         $this->template $template;
  4.         // Load
  5.         $this->_template $this->_loadTemplate($baseDir$file);
  6.         return $this;
  7.     }
  8.     /**
HtmlDocument->_fetchTemplate(array('template' => 'yoo_downtown', 'directory' => '/customers/a/2/9/aadak.net/httpd.www/templates', 'debug' => false, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php')) in /customers/a/2/9/aadak.net/httpd.www/libraries/src/Document/HtmlDocument.php (line 608)
  1.      *
  2.      * @since   1.7.0
  3.      */
  4.     public function parse($params = array())
  5.     {
  6.         return $this->_fetchTemplate($params)->_parseTemplate();
  7.     }
  8.     /**
  9.      * Outputs the template to the browser.
  10.      *
HtmlDocument->parse(array('template' => 'yoo_downtown', 'directory' => '/customers/a/2/9/aadak.net/httpd.www/templates', 'debug' => false, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php')) in /customers/a/2/9/aadak.net/httpd.www/libraries/src/Document/HtmlDocument.php (line 626)
  1.     public function render($caching false$params = array())
  2.     {
  3.         $this->_caching $caching;
  4.         if (empty($this->_template)) {
  5.             $this->parse($params);
  6.         }
  7.         if (\array_key_exists('csp_nonce'$params) && $params['csp_nonce'] !== null) {
  8.             $this->cspNonce $params['csp_nonce'];
  9.         }
HtmlDocument->render(false, array('template' => 'yoo_downtown', 'directory' => '/customers/a/2/9/aadak.net/httpd.www/templates', 'debug' => false, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php')) in /customers/a/2/9/aadak.net/httpd.www/libraries/src/Document/ErrorDocument.php (line 139)
  1.         $this->debug $params['debug'] ?? false;
  2.         $this->error $this->_error;
  3.         $params['file'] = 'error.php';
  4.         return parent::render($cache$params);
  5.     }
  6.     /**
  7.      * Render the backtrace
  8.      *
ErrorDocument->render(false, array('template' => 'yoo_downtown', 'directory' => '/customers/a/2/9/aadak.net/httpd.www/templates', 'debug' => false, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php')) in /customers/a/2/9/aadak.net/httpd.www/libraries/src/Error/Renderer/HtmlRenderer.php (line 78)
  1.                 'template'         => $template->template,
  2.                 'directory'        => JPATH_THEMES,
  3.                 'debug'            => JDEBUG,
  4.                 'csp_nonce'        => $app->get('csp_nonce'),
  5.                 'templateInherits' => $template->parent,
  6.                 'params'           => $template->params,
  7.             ]
  8.         );
  9.     }
  10. }
  1.             // Reset the document object in the factory, this gives us a clean slate and lets everything render properly
  2.             Factory::$document $renderer->getDocument();
  3.             Factory::getApplication()->loadDocument(Factory::$document);
  4.             $data $renderer->render($error);
  5.             // If nothing was rendered, just use the message from the Exception
  6.             if (empty($data)) {
  7.                 $data $error->getMessage();
  8.             }
ExceptionHandler::render(object(Exception)) in /customers/a/2/9/aadak.net/httpd.www/libraries/src/Exception/ExceptionHandler.php (line 72)
  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(object(Exception)) in /customers/a/2/9/aadak.net/httpd.www/libraries/src/Application/CMSApplication.php (line 323)
  1.             );
  2.             // Trigger the onError event.
  3.             $this->triggerEvent('onError'$event);
  4.             ExceptionHandler::handleException($event->getError());
  5.         }
  6.         // Trigger the onBeforeRespond event.
  7.         $this->getDispatcher()->dispatch('onBeforeRespond');
CMSApplication->execute() in /customers/a/2/9/aadak.net/httpd.www/includes/app.php (line 61)
  1. // Set the application as global app
  2. \Joomla\CMS\Factory::$application $app;
  3. // Execute the application.
  4. $app->execute();
require_once('/customers/a/2/9/aadak.net/httpd.www/includes/app.php') in /customers/a/2/9/aadak.net/httpd.www/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';

Exception

PLG_SYSTEM_REDIRECT_ERROR_UPDATING_DATABASE

  1.                 );
  2.                 try {
  3.                     $this->db->insertObject('#__redirect_links'$data'id');
  4.                 } catch (Exception $e) {
  5.                     $event->setError(new Exception(Text::_('PLG_SYSTEM_REDIRECT_ERROR_UPDATING_DATABASE'), 500$e));
  6.                     return;
  7.                 }
  8.             }
  9.         } else {
  1.                 if ($event->isStopped())
  2.                 {
  3.                     return $event;
  4.                 }
  5.                 $listener($event);
  6.             }
  7.         }
  8.         return $event;
  9.     }
Dispatcher->dispatch('onError', object(ErrorEvent)) in /customers/a/2/9/aadak.net/httpd.www/libraries/src/Application/EventAware.php (line 107)
  1.             $event     = new $className($eventName$args);
  2.         } else {
  3.             throw new \InvalidArgumentException('The arguments must either be an event or an array');
  4.         }
  5.         $result $dispatcher->dispatch($eventName$event);
  6.         // @todo - There are still test cases where the result isn't defined, temporarily leave the isset check in place
  7.         return !isset($result['result']) || \is_null($result['result']) ? [] : $result['result'];
  8.     }
  9. }
WebApplication->triggerEvent('onError', object(ErrorEvent)) in /customers/a/2/9/aadak.net/httpd.www/libraries/src/Application/CMSApplication.php (line 321)
  1.                     'application' => $this,
  2.                 ]
  3.             );
  4.             // Trigger the onError event.
  5.             $this->triggerEvent('onError'$event);
  6.             ExceptionHandler::handleException($event->getError());
  7.         }
  8.         // Trigger the onBeforeRespond event.
CMSApplication->execute() in /customers/a/2/9/aadak.net/httpd.www/includes/app.php (line 61)
  1. // Set the application as global app
  2. \Joomla\CMS\Factory::$application $app;
  3. // Execute the application.
  4. $app->execute();
require_once('/customers/a/2/9/aadak.net/httpd.www/includes/app.php') in /customers/a/2/9/aadak.net/httpd.www/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';

Joomla\Database\Exception\ ExecutionFailureException

Field 'new_url' doesn't have a default value

  1.             }
  2.         }
  3.         if (!$this->statement->execute())
  4.         {
  5.             throw new ExecutionFailureException($this->query$this->statement->error$this->statement->errno);
  6.         }
  7.         if ($this->columnNames === null)
  8.         {
  9.             $meta $this->statement->result_metadata();
  1.             $this->statement->bindParam($key$obj->value$obj->dataType);
  2.         }
  3.         try
  4.         {
  5.             $this->executed $this->statement->execute();
  6.             // If there is a monitor registered, let it know we have finished this query
  7.             if ($this->monitor)
  8.             {
  9.                 $this->monitor->stopQuery();
  1.             ->insert($this->quoteName($table))
  2.             ->columns($fields)
  3.             ->values(implode(','$values));
  4.         // Set the query and execute the insert.
  5.         $this->setQuery($query)->execute();
  6.         // Update the primary key if it exists.
  7.         $id $this->insertid();
  8.         if ($key && $id && \is_string($key))
MysqliDriver->insertObject('#__redirect_links', object(stdClass), 'id') in /customers/a/2/9/aadak.net/httpd.www/plugins/system/redirect/redirect.php (line 259)
  1.                     'created_date' => $nowDate,
  2.                     'modified_date' => $nowDate,
  3.                 );
  4.                 try {
  5.                     $this->db->insertObject('#__redirect_links'$data'id');
  6.                 } catch (Exception $e) {
  7.                     $event->setError(new Exception(Text::_('PLG_SYSTEM_REDIRECT_ERROR_UPDATING_DATABASE'), 500$e));
  8.                     return;
  9.                 }
  1.                 if ($event->isStopped())
  2.                 {
  3.                     return $event;
  4.                 }
  5.                 $listener($event);
  6.             }
  7.         }
  8.         return $event;
  9.     }
Dispatcher->dispatch('onError', object(ErrorEvent)) in /customers/a/2/9/aadak.net/httpd.www/libraries/src/Application/EventAware.php (line 107)
  1.             $event     = new $className($eventName$args);
  2.         } else {
  3.             throw new \InvalidArgumentException('The arguments must either be an event or an array');
  4.         }
  5.         $result $dispatcher->dispatch($eventName$event);
  6.         // @todo - There are still test cases where the result isn't defined, temporarily leave the isset check in place
  7.         return !isset($result['result']) || \is_null($result['result']) ? [] : $result['result'];
  8.     }
  9. }
WebApplication->triggerEvent('onError', object(ErrorEvent)) in /customers/a/2/9/aadak.net/httpd.www/libraries/src/Application/CMSApplication.php (line 321)
  1.                     'application' => $this,
  2.                 ]
  3.             );
  4.             // Trigger the onError event.
  5.             $this->triggerEvent('onError'$event);
  6.             ExceptionHandler::handleException($event->getError());
  7.         }
  8.         // Trigger the onBeforeRespond event.
CMSApplication->execute() in /customers/a/2/9/aadak.net/httpd.www/includes/app.php (line 61)
  1. // Set the application as global app
  2. \Joomla\CMS\Factory::$application $app;
  3. // Execute the application.
  4. $app->execute();
require_once('/customers/a/2/9/aadak.net/httpd.www/includes/app.php') in /customers/a/2/9/aadak.net/httpd.www/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 3

[3/3] UndefinedMethodError
Symfony\Component\ErrorHandler\Error\UndefinedMethodError:
Attempted to call an undefined method named "isSite" of class "Joomla\CMS\Application\SiteApplication".

  at /customers/a/2/9/aadak.net/httpd.www/templates/yoo_downtown/warp/systems/joomla/helpers/system.php:86
  at SystemWarpHelper->init()
     (/customers/a/2/9/aadak.net/httpd.www/templates/yoo_downtown/config.php:21)
  at include_once('/customers/a/2/9/aadak.net/httpd.www/templates/yoo_downtown/config.php')
     (/customers/a/2/9/aadak.net/httpd.www/templates/yoo_downtown/error.php:13)
  at require('/customers/a/2/9/aadak.net/httpd.www/templates/yoo_downtown/error.php')
     (/customers/a/2/9/aadak.net/httpd.www/libraries/src/Document/HtmlDocument.php:736)
  at Joomla\CMS\Document\HtmlDocument->_loadTemplate('/customers/a/2/9/aadak.net/httpd.www/templates/yoo_downtown', 'error.php')
     (/customers/a/2/9/aadak.net/httpd.www/libraries/src/Document/HtmlDocument.php:791)
  at Joomla\CMS\Document\HtmlDocument->_fetchTemplate(array('template' => 'yoo_downtown', 'directory' => '/customers/a/2/9/aadak.net/httpd.www/templates', 'debug' => false, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php'))
     (/customers/a/2/9/aadak.net/httpd.www/libraries/src/Document/HtmlDocument.php:608)
  at Joomla\CMS\Document\HtmlDocument->parse(array('template' => 'yoo_downtown', 'directory' => '/customers/a/2/9/aadak.net/httpd.www/templates', 'debug' => false, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php'))
     (/customers/a/2/9/aadak.net/httpd.www/libraries/src/Document/HtmlDocument.php:626)
  at Joomla\CMS\Document\HtmlDocument->render(false, array('template' => 'yoo_downtown', 'directory' => '/customers/a/2/9/aadak.net/httpd.www/templates', 'debug' => false, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php'))
     (/customers/a/2/9/aadak.net/httpd.www/libraries/src/Document/ErrorDocument.php:139)
  at Joomla\CMS\Document\ErrorDocument->render(false, array('template' => 'yoo_downtown', 'directory' => '/customers/a/2/9/aadak.net/httpd.www/templates', 'debug' => false, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php'))
     (/customers/a/2/9/aadak.net/httpd.www/libraries/src/Error/Renderer/HtmlRenderer.php:78)
  at Joomla\CMS\Error\Renderer\HtmlRenderer->render(object(Exception))
     (/customers/a/2/9/aadak.net/httpd.www/libraries/src/Exception/ExceptionHandler.php:121)
  at Joomla\CMS\Exception\ExceptionHandler::render(object(Exception))
     (/customers/a/2/9/aadak.net/httpd.www/libraries/src/Exception/ExceptionHandler.php:72)
  at Joomla\CMS\Exception\ExceptionHandler::handleException(object(Exception))
     (/customers/a/2/9/aadak.net/httpd.www/libraries/src/Application/CMSApplication.php:323)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/customers/a/2/9/aadak.net/httpd.www/includes/app.php:61)
  at require_once('/customers/a/2/9/aadak.net/httpd.www/includes/app.php')
     (/customers/a/2/9/aadak.net/httpd.www/index.php:32)                
[2/3] Exception
Exception:
PLG_SYSTEM_REDIRECT_ERROR_UPDATING_DATABASE

  at /customers/a/2/9/aadak.net/httpd.www/plugins/system/redirect/redirect.php:261
  at PlgSystemRedirect->handleError(object(ErrorEvent))
     (/customers/a/2/9/aadak.net/httpd.www/libraries/vendor/joomla/event/src/Dispatcher.php:486)
  at Joomla\Event\Dispatcher->dispatch('onError', object(ErrorEvent))
     (/customers/a/2/9/aadak.net/httpd.www/libraries/src/Application/EventAware.php:107)
  at Joomla\CMS\Application\WebApplication->triggerEvent('onError', object(ErrorEvent))
     (/customers/a/2/9/aadak.net/httpd.www/libraries/src/Application/CMSApplication.php:321)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/customers/a/2/9/aadak.net/httpd.www/includes/app.php:61)
  at require_once('/customers/a/2/9/aadak.net/httpd.www/includes/app.php')
     (/customers/a/2/9/aadak.net/httpd.www/index.php:32)                
[1/3] ExecutionFailureException
Joomla\Database\Exception\ExecutionFailureException:
Field 'new_url' doesn't have a default value

  at /customers/a/2/9/aadak.net/httpd.www/libraries/vendor/joomla/database/src/Mysqli/MysqliStatement.php:435
  at Joomla\Database\Mysqli\MysqliStatement->execute()
     (/customers/a/2/9/aadak.net/httpd.www/libraries/vendor/joomla/database/src/DatabaseDriver.php:675)
  at Joomla\Database\DatabaseDriver->execute()
     (/customers/a/2/9/aadak.net/httpd.www/libraries/vendor/joomla/database/src/Mysqli/MysqliDriver.php:776)
  at Joomla\Database\Mysqli\MysqliDriver->insertObject('#__redirect_links', object(stdClass), 'id')
     (/customers/a/2/9/aadak.net/httpd.www/plugins/system/redirect/redirect.php:259)
  at PlgSystemRedirect->handleError(object(ErrorEvent))
     (/customers/a/2/9/aadak.net/httpd.www/libraries/vendor/joomla/event/src/Dispatcher.php:486)
  at Joomla\Event\Dispatcher->dispatch('onError', object(ErrorEvent))
     (/customers/a/2/9/aadak.net/httpd.www/libraries/src/Application/EventAware.php:107)
  at Joomla\CMS\Application\WebApplication->triggerEvent('onError', object(ErrorEvent))
     (/customers/a/2/9/aadak.net/httpd.www/libraries/src/Application/CMSApplication.php:321)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/customers/a/2/9/aadak.net/httpd.www/includes/app.php:61)
  at require_once('/customers/a/2/9/aadak.net/httpd.www/includes/app.php')
     (/customers/a/2/9/aadak.net/httpd.www/index.php:32)