HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Fatal Error: Theme not found

The error occurred on or near: /var/www/php/library/Vanilla/Models/FsThemeProvider.php

125:         if (!($theme instanceof AddonInterface)) {
126:             $theme = $this->addonManager->lookupTheme(ThemeModel::FALLBACK_THEME_KEY);
127:             if (!($theme instanceof AddonInterface)) {
128:                 // Uh-oh, even the default theme doesn't exist.
129:                 throw new NotFoundException("Theme");
130:             }
131:         }
132: 
133:         return $theme;

Backtrace:

[/var/www/php/library/Vanilla/Models/FsThemeProvider.php:96] Vanilla\Models\FsThemeProvider->getThemeAddon();
[/var/www/php/library/Vanilla/Models/FsThemeProvider.php:81] Vanilla\Models\FsThemeProvider->getThemeByName();
[/var/www/php/library/Vanilla/Models/ThemeModel.php:433] Vanilla\Models\FsThemeProvider->getThemeWithAssets();
[/var/www/php/library/Vanilla/Models/ThemeModel.php:343] Vanilla\Models\ThemeModel->getCurrentTheme();
[/var/www/php/library/core/functions.framework.php:1892] Vanilla\Models\ThemeModel->getCurrentThemeAddon();
[/var/www/php/library/core/class.controller.php:254] PHP::theme();
[/var/www/php/applications/dashboard/controllers/class.dashboardcontroller.php:26] Gdn_Controller->__construct();
[/var/www/php/vendor/vanilla/garden-container/src/Container.php:461] DashboardController->__construct();
[/var/www/php/vendor/vanilla/garden-container/src/Container.php:479] Garden\Container\Container->Garden\Container\{closure}();
[/var/www/php/vendor/vanilla/garden-container/src/Container.php:735] Garden\Container\Container->Garden\Container\{closure}();
[/var/www/php/vendor/vanilla/garden-container/src/Container.php:356] Garden\Container\Container->createInstance();
[/var/www/php/vendor/vanilla/garden-container/src/Container.php:817] Garden\Container\Container->getArgs();
[/var/www/php/library/core/class.dispatcher.php:1065] Garden\Container\Container->get();
[/var/www/php/library/core/class.dispatcher.php:844] Gdn_Dispatcher->createController();
[/var/www/php/library/core/class.dispatcher.php:312] Gdn_Dispatcher->dispatchController();
[/var/www/php/index.php:29] Gdn_Dispatcher->dispatch();

ls -la webroot/

total 88
drwxrwxr-x 14 root www-data 4096 May 13 00:26 .
drwxr-xr-x 4 root root   4096 May 12 23:26 ..
drwxr-xr-x 5 zoe www-data 4096 May 11 20:40 applications
-rw-r--r-- 1 zoe www-data 19004 May 11 20:40 bootstrap.php
drwxrwxr-x 4 zoe www-data 4096 May 13 00:33 cache
drwxrwxr-x 2 zoe www-data 4096 May 12 23:57 conf
drwxr-xr-x 5 zoe www-data 4096 May 11 20:40 dist
-rw-r--r-- 1 zoe www-data 2436 May 11 20:40 environment.php
-rw-r--r-- 1 zoe www-data 2204 May 11 20:40 .htaccess
-rw-r--r-- 1 zoe www-data  719 May 11 20:40 index.php
drwxr-xr-x 4 zoe www-data 4096 May 11 20:40 js
drwxr-xr-x 10 zoe www-data 4096 May 11 20:40 library
drwxr-xr-x 2 zoe www-data 4096 May 11 20:40 locales
drwxr-xr-x 29 zoe www-data 4096 May 11 20:40 plugins
drwxr-xr-x 8 zoe www-data 4096 May 11 20:40 resources
drwxr-xr-x 7 zoe www-data 4096 May 11 20:40 themes
drwxrwxr-x 2 zoe www-data 4096 May 11 20:40 uploads
drwxr-xr-x 22 zoe www-data 4096 May 11 20:40 vendor
  • Application: Vanilla
  • Application Version: 4.0-2020.009-SNAPSHOT
  • PHP Version: 7.3.15-3
  • Operating System: Linux
  • Server Software: Apache/2.4.43 (Debian)
  • User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36
  • Request Uri: /index.php?p=/dashboard/setup
  • Controller: Vanilla\Models\FsThemeProvider
  • Method: getThemeAddon

I'm a the confused. Any ideas?

Answers

Sign In or Register to comment.