1054 Unknown column 'm.publish_up' in 'where clause' #0 /users/bf-schnuffingen/www/Feuerwehr-Schnuffingen/libraries/vendor/joomla/database/src/Mysqli/MysqliDriver.php(1089): Joomla\Database\Mysqli\MysqliStatement->__construct(Object(mysqli), 'SELECT `m`.`id`...') #1 /users/bf-schnuffingen/www/Feuerwehr-Schnuffingen/libraries/vendor/joomla/database/src/DatabaseDriver.php(1900): Joomla\Database\Mysqli\MysqliDriver->prepareStatement('SELECT `m`.`id`...') #2 /users/bf-schnuffingen/www/Feuerwehr-Schnuffingen/libraries/src/Menu/SiteMenu.php(166): Joomla\Database\DatabaseDriver->setQuery(Object(Joomla\Database\Mysqli\MysqliQuery)) #3 /users/bf-schnuffingen/www/Feuerwehr-Schnuffingen/libraries/src/Cache/Controller/CallbackController.php(51): Joomla\CMS\Menu\SiteMenu->Joomla\CMS\Menu\{closure}() #4 /users/bf-schnuffingen/www/Feuerwehr-Schnuffingen/libraries/src/Menu/SiteMenu.php(179): Joomla\CMS\Cache\Controller\CallbackController->get(Object(Closure), Array, 'd17e8e13b99b4d9...', false) #5 /users/bf-schnuffingen/www/Feuerwehr-Schnuffingen/libraries/src/Menu/AbstractMenu.php(333): Joomla\CMS\Menu\SiteMenu->load() #6 /users/bf-schnuffingen/www/Feuerwehr-Schnuffingen/libraries/src/Menu/AbstractMenu.php(272): Joomla\CMS\Menu\AbstractMenu->getMenu() #7 /users/bf-schnuffingen/www/Feuerwehr-Schnuffingen/libraries/src/Menu/SiteMenu.php(257): Joomla\CMS\Menu\AbstractMenu->getItems(Array, Array, false) #8 /users/bf-schnuffingen/www/Feuerwehr-Schnuffingen/libraries/src/Router/SiteRouter.php(216): Joomla\CMS\Menu\SiteMenu->getItems(Array, Array) #9 /users/bf-schnuffingen/www/Feuerwehr-Schnuffingen/libraries/src/Router/Router.php(384): Joomla\CMS\Router\SiteRouter->parseSefRoute(Object(Joomla\CMS\Router\SiteRouter), Object(Joomla\CMS\Uri\Uri)) #10 /users/bf-schnuffingen/www/Feuerwehr-Schnuffingen/libraries/src/Router/Router.php(147): Joomla\CMS\Router\Router->processParseRules(Object(Joomla\CMS\Uri\Uri)) #11 /users/bf-schnuffingen/www/Feuerwehr-Schnuffingen/libraries/src/Application/SiteApplication.php(746): Joomla\CMS\Router\Router->parse(Object(Joomla\CMS\Uri\Uri), true) #12 /users/bf-schnuffingen/www/Feuerwehr-Schnuffingen/libraries/src/Application/SiteApplication.php(232): Joomla\CMS\Application\SiteApplication->route() #13 /users/bf-schnuffingen/www/Feuerwehr-Schnuffingen/libraries/src/Application/CMSApplication.php(293): Joomla\CMS\Application\SiteApplication->doExecute() #14 /users/bf-schnuffingen/www/Feuerwehr-Schnuffingen/includes/app.php(61): Joomla\CMS\Application\CMSApplication->execute() #15 /users/bf-schnuffingen/www/Feuerwehr-Schnuffingen/index.php(32): require_once('/users/bf-schnu...') #16 {main} Unknown column 'm.publish_up' in 'where clause' (500 Whoops, looks like something went wrong.)

PrepareStatementFailureException

HTTP 500 Whoops, looks like something went wrong.

Unknown column 'm.publish_up' in 'where clause'

Exception

Joomla\Database\Exception\ PrepareStatementFailureException

  1.         $this->statement  $connection->prepare($query);
  2.         if (!$this->statement)
  3.         {
  4.             throw new PrepareStatementFailureException($this->connection->error$this->connection->errno);
  5.         }
  6.     }
  7.     /**
  8.      * Replace named parameters with numbered parameters
  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);
DatabaseDriver->setQuery(object(MysqliQuery)) in /users/bf-schnuffingen/www/Feuerwehr-Schnuffingen/libraries/src/Menu/SiteMenu.php (line 166)
  1.                 )
  2.                 ->bind(':currentDate2'$currentDate)
  3.                 ->order($this->db->quoteName('m.lft'));
  4.             $items    = [];
  5.             $iterator $this->db->setQuery($query)->getIterator();
  6.             foreach ($iterator as $item) {
  7.                 $items[$item->id] = new MenuItem((array) $item);
  8.             }
  1.             $referenceArgs = &$args;
  2.         }
  3.         // Just execute the callback if caching is disabled.
  4.         if (empty($this->options['caching'])) {
  5.             return \call_user_func_array($callback$referenceArgs);
  6.         }
  7.         if (!$id) {
  8.             // Generate an ID
  9.             $id $this->_makeId($callback$args);
CallbackController->get(object(Closure), array(), 'd17e8e13b99b4d9bf23a7d0b83a466c3', false) in /users/bf-schnuffingen/www/Feuerwehr-Schnuffingen/libraries/src/Menu/SiteMenu.php (line 179)
  1.         try {
  2.             /** @var CallbackController $cache */
  3.             $cache $this->getCacheControllerFactory()->createCacheController('callback', ['defaultgroup' => 'com_menus']);
  4.             $this->items $cache->get($loader, [], md5(\get_class($this)), false);
  5.         } catch (CacheExceptionInterface $e) {
  6.             try {
  7.                 $this->items $loader();
  8.             } catch (ExecutionFailureException $databaseException) {
  9.                 $this->app->enqueueMessage(Text::sprintf('JERROR_LOADING_MENUS'$databaseException->getMessage()), 'warning');
  1.      * @since   1.5
  2.      */
  3.     public function getMenu()
  4.     {
  5.         if (!$this->itemsLoaded) {
  6.             $this->load();
  7.             foreach ($this->items as $item) {
  8.                 if ($item->home) {
  9.                     $this->default[trim($item->language)] = $item->id;
  10.                 }
  1.      */
  2.     public function getItem($id)
  3.     {
  4.         $result null;
  5.         if (isset($this->getMenu()[$id])) {
  6.             $result = &$this->getMenu()[$id];
  7.         }
  8.         return $result;
  9.     }
  1.         // Get the id of the active menu item
  2.         $menu $this->getMenu();
  3.         $item $menu->getActive();
  4.         if (!$item) {
  5.             $item $menu->getItem($this->input->getInt('Itemid'null));
  6.         }
  7.         $id 0;
  8.         if (\is_object($item)) {
  1.             'phpVersion'    => PHP_VERSION,
  2.             'joomlaVersion' => JVERSION,
  3.             'requestId'     => $this->requestId,
  4.             'identity'      => $this->getIdentityInfo($application->getIdentity()),
  5.             'response'      => $this->getResponseInfo($application->getResponse()),
  6.             'template'      => $this->getTemplateInfo($application->getTemplate(true)),
  7.             'database'      => $this->getDatabaseInfo($model->getInfo()),
  8.         ];
  9.     }
  10.     /**
  1.                 $request_variables
  2.             )
  3.         );
  4.         foreach ($this->collectors as $name => $collector) {
  5.             $this->data[$name] = $collector->collect();
  6.         }
  7.         // Remove all invalid (non UTF-8) characters
  8.         array_walk_recursive($this->data, function (&$item) {
  9.                 if (is_string($item) && !mb_check_encoding($item'UTF-8')) {
  1.      * @return array
  2.      */
  3.     public function getData()
  4.     {
  5.         if ($this->data === null) {
  6.             $this->collect();
  7.         }
  8.         return $this->data;
  9.     }
  10.     /**
  1.     {
  2.         $http $this->initStackSession();
  3.         $data null;
  4.         if (!$this->isDataPersisted() || $this->stackAlwaysUseSessionStorage) {
  5.             $data $this->getData();
  6.         } elseif ($this->data === null) {
  7.             $this->collect();
  8.         }
  9.         $stack $http->getSessionValue($this->stackSessionNamespace);
  1.             $this->debugBar->addCollector(new LanguageErrorsCollector($this->params));
  2.         }
  3.         // Only render for HTML output.
  4.         if (!($this->app->getDocument() instanceof HtmlDocument)) {
  5.             $this->debugBar->stackData();
  6.             return;
  7.         }
  8.         $debugBarRenderer = new JavascriptRenderer($this->debugBarUri::root(true) . '/media/vendor/debugbar/');
  1.                 if ($event->isStopped())
  2.                 {
  3.                     return $event;
  4.                 }
  5.                 $listener($event);
  6.             }
  7.         }
  8.         return $event;
  9.     }
  1.         // Send the application response.
  2.         $this->respond();
  3.         // Trigger the onAfterRespond event.
  4.         $this->getDispatcher()->dispatch('onAfterRespond');
  5.     }
  6.     /**
  7.      * Check if the user is required to reset their password.
  8.      *
  1. // Set the application as global app
  2. \Joomla\CMS\Factory::$application $app;
  3. // Execute the application.
  4. $app->execute();
require_once('/users/bf-schnuffingen/www/Feuerwehr-Schnuffingen/includes/app.php') in /users/bf-schnuffingen/www/Feuerwehr-Schnuffingen/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 Trace

PrepareStatementFailureException
Joomla\Database\Exception\PrepareStatementFailureException:
Unknown column 'm.publish_up' in 'where clause'

  at /users/bf-schnuffingen/www/Feuerwehr-Schnuffingen/libraries/vendor/joomla/database/src/Mysqli/MysqliStatement.php:141
  at Joomla\Database\Mysqli\MysqliStatement->__construct(object(mysqli), 'SELECT `m`.`id`,`m`.`menutype`,`m`.`title`,`m`.`alias`,`m`.`note`,`m`.`link`,`m`.`type`,`m`.`level`,`m`.`language`,`m`.`browserNav`,`m`.`access`,`m`.`params`,`m`.`home`,`m`.`img`,`m`.`template_style_id`,`m`.`component_id`,`m`.`parent_id`,`m`.`path` AS `route`,`e`.`element` AS `component`FROM `jbu54_menu` AS `m`LEFT JOIN `jbu54_extensions` AS `e` ON `m`.`component_id` = `e`.`extension_id`WHERE ((`m`.`published` = 1 AND `m`.`parent_id` > 0 AND `m`.`client_id` = 0) AND (`m`.`publish_up` IS NULL OR `m`.`publish_up` <= ?)) AND (`m`.`publish_down` IS NULL OR `m`.`publish_down` >= ?)ORDER BY `m`.`lft`')
     (/users/bf-schnuffingen/www/Feuerwehr-Schnuffingen/libraries/vendor/joomla/database/src/Mysqli/MysqliDriver.php:1089)
  at Joomla\Database\Mysqli\MysqliDriver->prepareStatement('SELECT `m`.`id`,`m`.`menutype`,`m`.`title`,`m`.`alias`,`m`.`note`,`m`.`link`,`m`.`type`,`m`.`level`,`m`.`language`,`m`.`browserNav`,`m`.`access`,`m`.`params`,`m`.`home`,`m`.`img`,`m`.`template_style_id`,`m`.`component_id`,`m`.`parent_id`,`m`.`path` AS `route`,`e`.`element` AS `component`FROM `jbu54_menu` AS `m`LEFT JOIN `jbu54_extensions` AS `e` ON `m`.`component_id` = `e`.`extension_id`WHERE ((`m`.`published` = 1 AND `m`.`parent_id` > 0 AND `m`.`client_id` = 0) AND (`m`.`publish_up` IS NULL OR `m`.`publish_up` <= :currentDate1)) AND (`m`.`publish_down` IS NULL OR `m`.`publish_down` >= :currentDate2)ORDER BY `m`.`lft`')
     (/users/bf-schnuffingen/www/Feuerwehr-Schnuffingen/libraries/vendor/joomla/database/src/DatabaseDriver.php:1900)
  at Joomla\Database\DatabaseDriver->setQuery(object(MysqliQuery))
     (/users/bf-schnuffingen/www/Feuerwehr-Schnuffingen/libraries/src/Menu/SiteMenu.php:166)
  at Joomla\CMS\Menu\SiteMenu->Joomla\CMS\Menu\{closure}()
     (/users/bf-schnuffingen/www/Feuerwehr-Schnuffingen/libraries/src/Cache/Controller/CallbackController.php:51)
  at Joomla\CMS\Cache\Controller\CallbackController->get(object(Closure), array(), 'd17e8e13b99b4d9bf23a7d0b83a466c3', false)
     (/users/bf-schnuffingen/www/Feuerwehr-Schnuffingen/libraries/src/Menu/SiteMenu.php:179)
  at Joomla\CMS\Menu\SiteMenu->load()
     (/users/bf-schnuffingen/www/Feuerwehr-Schnuffingen/libraries/src/Menu/AbstractMenu.php:333)
  at Joomla\CMS\Menu\AbstractMenu->getMenu()
     (/users/bf-schnuffingen/www/Feuerwehr-Schnuffingen/libraries/src/Menu/AbstractMenu.php:164)
  at Joomla\CMS\Menu\AbstractMenu->getItem(null)
     (/users/bf-schnuffingen/www/Feuerwehr-Schnuffingen/libraries/src/Application/SiteApplication.php:422)
  at Joomla\CMS\Application\SiteApplication->getTemplate(true)
     (/users/bf-schnuffingen/www/Feuerwehr-Schnuffingen/plugins/system/debug/src/DataCollector/InfoCollector.php:135)
  at Joomla\Plugin\System\Debug\DataCollector\InfoCollector->collect()
     (/users/bf-schnuffingen/www/Feuerwehr-Schnuffingen/libraries/vendor/maximebf/debugbar/src/DebugBar/DebugBar.php:238)
  at DebugBar\DebugBar->collect()
     (/users/bf-schnuffingen/www/Feuerwehr-Schnuffingen/libraries/vendor/maximebf/debugbar/src/DebugBar/DebugBar.php:265)
  at DebugBar\DebugBar->getData()
     (/users/bf-schnuffingen/www/Feuerwehr-Schnuffingen/libraries/vendor/maximebf/debugbar/src/DebugBar/DebugBar.php:340)
  at DebugBar\DebugBar->stackData()
     (/users/bf-schnuffingen/www/Feuerwehr-Schnuffingen/plugins/system/debug/debug.php:333)
  at PlgSystemDebug->onAfterRespond(object(Event))
     (/users/bf-schnuffingen/www/Feuerwehr-Schnuffingen/libraries/vendor/joomla/event/src/Dispatcher.php:486)
  at Joomla\Event\Dispatcher->dispatch('onAfterRespond')
     (/users/bf-schnuffingen/www/Feuerwehr-Schnuffingen/libraries/src/Application/CMSApplication.php:332)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/users/bf-schnuffingen/www/Feuerwehr-Schnuffingen/includes/app.php:61)
  at require_once('/users/bf-schnuffingen/www/Feuerwehr-Schnuffingen/includes/app.php')
     (/users/bf-schnuffingen/www/Feuerwehr-Schnuffingen/index.php:32)