0 Call to undefined method Joomla\Database\Mysqli\MysqliDriver::getErrorNum() #0 /home/thewitt/domains/takeahike.at/public_html/plugins/system/bfstop/helpers/db.php(41): BFStopDBHelper::checkDBError() #1 /home/thewitt/domains/takeahike.at/public_html/plugins/system/bfstop/helpers/db.php(247): BFStopDBHelper->myCheckDBError() #2 /home/thewitt/domains/takeahike.at/public_html/plugins/system/bfstop/helpers/db.php(253): BFStopDBHelper->getUserEmailWhere() #3 /home/thewitt/domains/takeahike.at/public_html/plugins/system/bfstop/helpers/notify.php(23): BFStopDBHelper->getUserEmailByID() #4 /home/thewitt/domains/takeahike.at/public_html/plugins/system/bfstop/bfstop.php(197): BFStopNotifier->__construct() #5 /home/thewitt/domains/takeahike.at/public_html/plugins/system/bfstop/bfstop.php(367): plgSystembfstop->init() #6 /home/thewitt/domains/takeahike.at/public_html/libraries/src/Plugin/CMSPlugin.php(279): plgSystembfstop->onAfterInitialise() #7 /home/thewitt/domains/takeahike.at/public_html/libraries/vendor/joomla/event/src/Dispatcher.php(486): Joomla\CMS\Plugin\CMSPlugin->Joomla\CMS\Plugin\{closure}() #8 /home/thewitt/domains/takeahike.at/public_html/libraries/src/Application/EventAware.php(107): Joomla\Event\Dispatcher->dispatch() #9 /home/thewitt/domains/takeahike.at/public_html/libraries/src/Application/CMSApplication.php(739): Joomla\CMS\Application\WebApplication->triggerEvent() #10 /home/thewitt/domains/takeahike.at/public_html/libraries/src/Application/SiteApplication.php(625): Joomla\CMS\Application\CMSApplication->initialiseApp() #11 /home/thewitt/domains/takeahike.at/public_html/libraries/src/Application/SiteApplication.php(218): Joomla\CMS\Application\SiteApplication->initialiseApp() #12 /home/thewitt/domains/takeahike.at/public_html/libraries/src/Application/CMSApplication.php(294): Joomla\CMS\Application\SiteApplication->doExecute() #13 /home/thewitt/domains/takeahike.at/public_html/includes/app.php(61): Joomla\CMS\Application\CMSApplication->execute() #14 /home/thewitt/domains/takeahike.at/public_html/index.php(32): require_once('...') #15 {main} Unknown column 'm.publish_up' in 'where clause' (500 Whoops, looks like something went wrong.)

mysqli_sql_exception

HTTP 500 Whoops, looks like something went wrong.

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

Exception

mysqli_sql_exception

  1.         $this->connection   $connection;
  2.         $this->query        $query;
  3.         $query $this->prepareParameterKeyMapping($query);
  4.         $this->statement  $connection->prepare($query);
  5.         if (!$this->statement)
  6.         {
  7.             throw new PrepareStatementFailureException($this->connection->error$this->connection->errno);
  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.         {
  7.             throw new PrepareStatementFailureException($this->connection->error$this->connection->errno);
  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.                 )
  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.         }
  2.         // Just execute the callback if caching is disabled.
  3.         if (empty($this->options['caching']))
  4.         {
  5.             return \call_user_func_array($callback$referenceArgs);
  6.         }
  7.         if (!$id)
  8.         {
  9.             // Generate an ID
  1.         try {
  2.             /** @var CallbackController $cache */
  3.             $cache $this->getCacheControllerFactory()->createCacheController('callback', ['defaultgroup' => 'com_menus']);
  4.             $this->items $cache->get($loader, array(), 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('/home/thewitt/domains/takeahike.at/public_html/includes/app.php') in /home/thewitt/domains/takeahike.at/public_html/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

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

  at /home/thewitt/domains/takeahike.at/public_html/libraries/vendor/joomla/database/src/Mysqli/MysqliStatement.php:137
  at mysqli->prepare()
     (/home/thewitt/domains/takeahike.at/public_html/libraries/vendor/joomla/database/src/Mysqli/MysqliStatement.php:137)
  at Joomla\Database\Mysqli\MysqliStatement->__construct()
     (/home/thewitt/domains/takeahike.at/public_html/libraries/vendor/joomla/database/src/Mysqli/MysqliDriver.php:1048)
  at Joomla\Database\Mysqli\MysqliDriver->prepareStatement()
     (/home/thewitt/domains/takeahike.at/public_html/libraries/vendor/joomla/database/src/DatabaseDriver.php:1900)
  at Joomla\Database\DatabaseDriver->setQuery()
     (/home/thewitt/domains/takeahike.at/public_html/libraries/src/Menu/SiteMenu.php:166)
  at Joomla\CMS\Menu\SiteMenu->Joomla\CMS\Menu\{closure}()
     (/home/thewitt/domains/takeahike.at/public_html/libraries/src/Cache/Controller/CallbackController.php:52)
  at Joomla\CMS\Cache\Controller\CallbackController->get()
     (/home/thewitt/domains/takeahike.at/public_html/libraries/src/Menu/SiteMenu.php:179)
  at Joomla\CMS\Menu\SiteMenu->load()
     (/home/thewitt/domains/takeahike.at/public_html/libraries/src/Menu/AbstractMenu.php:323)
  at Joomla\CMS\Menu\AbstractMenu->getMenu()
     (/home/thewitt/domains/takeahike.at/public_html/libraries/src/Menu/AbstractMenu.php:160)
  at Joomla\CMS\Menu\AbstractMenu->getItem()
     (/home/thewitt/domains/takeahike.at/public_html/libraries/src/Application/SiteApplication.php:412)
  at Joomla\CMS\Application\SiteApplication->getTemplate()
     (/home/thewitt/domains/takeahike.at/public_html/plugins/system/debug/src/DataCollector/InfoCollector.php:135)
  at Joomla\Plugin\System\Debug\DataCollector\InfoCollector->collect()
     (/home/thewitt/domains/takeahike.at/public_html/libraries/vendor/maximebf/debugbar/src/DebugBar/DebugBar.php:238)
  at DebugBar\DebugBar->collect()
     (/home/thewitt/domains/takeahike.at/public_html/libraries/vendor/maximebf/debugbar/src/DebugBar/DebugBar.php:265)
  at DebugBar\DebugBar->getData()
     (/home/thewitt/domains/takeahike.at/public_html/libraries/vendor/maximebf/debugbar/src/DebugBar/DebugBar.php:340)
  at DebugBar\DebugBar->stackData()
     (/home/thewitt/domains/takeahike.at/public_html/plugins/system/debug/debug.php:333)
  at PlgSystemDebug->onAfterRespond()
     (/home/thewitt/domains/takeahike.at/public_html/libraries/vendor/joomla/event/src/Dispatcher.php:486)
  at Joomla\Event\Dispatcher->dispatch()
     (/home/thewitt/domains/takeahike.at/public_html/libraries/src/Application/CMSApplication.php:333)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/home/thewitt/domains/takeahike.at/public_html/includes/app.php:61)
  at require_once('/home/thewitt/domains/takeahike.at/public_html/includes/app.php')
     (/home/thewitt/domains/takeahike.at/public_html/index.php:32)