WSOD class (ThemeConfig) not found - subtheme of at_core 8.x-5.1

Created on 24 July 2023, over 1 year ago
Updated 15 November 2023, about 1 year ago

Problem/Motivation

Visiting the site results in WSOD.

Steps to reproduce

Simply visit https://americanrtl.org

Info about the error & the site

The theme is a sub-theme of adaptivetheme, created with the AT Theme Generator. The sub-theme worked until recently. I don't visit this site daily or very often, so cannot say when the problem appeared; it was probably recently however.

The problem is a class not found:

Error: Class "Drupal\at_core\Theme\ThemeConfig" not found in at_core_preprocess() (line 27 of themes/contrib/adaptivetheme/at_core/includes/preprocess.inc).

Base: at_core (8.x-5.1)

$ drush status
Drupal version : 10.1.1
Site URI : http://default
DB driver : mysql
DB hostname : localhost
DB port : 3306
DB username : xxxxxxxxx
DB name : xxxxxxxxxxxx
Database : Connected
Drupal bootstrap : Successful
Default theme : artl
Admin theme : gin
PHP binary : /usr/bin/php8.1
PHP config : /etc/php/8.1/cli/php.ini
PHP OS : Linux
PHP version : 8.1.21
Drush script : /var/www/xxxxxxxxxx/web/drupal/vendor/drush/dr
ush/drush
Drush version : 11.6.0
Drush temp : /tmp
Drush configs : /var/www/xxxxxxxxxxxxxxx/web/drupal/vendor/drush/dr
ush/drush.yml
Install profile : standard
Drupal root : /var/www/xxxxxxxxxxxx/web/drupal/web
Site path : sites/default
Files, Public : sites/default/files
Files, Private : /var/www/xxxxxxxxx/priv
Files, Temp : /var/www/xxxxxxxxxx/tmp

The website encountered an unexpected error. Please try again later.

Error: Class "Drupal\at_core\Theme\ThemeConfig" not found in at_core_preprocess() (line 27 of themes/contrib/adaptivetheme/at_core/includes/preprocess.inc).
call_user_func_array() (Line: 285)
Drupal\Core\Theme\ThemeManager->render() (Line: 436)
Drupal\Core\Render\Renderer->doRender() (Line: 449)
Drupal\Core\Render\Renderer->doRender() (Line: 204)
Drupal\Core\Render\Renderer->render() (Line: 238)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 583)
Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 239)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare() (Line: 128)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse() (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray()
call_user_func() (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch() (Line: 171)
Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 74)
Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 58)
Drupal\Core\StackMiddleware\Session->handle() (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 191)
Drupal\page_cache\StackMiddleware\PageCache->fetch() (Line: 128)
Drupal\page_cache\StackMiddleware\PageCache->lookup() (Line: 82)
Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle() (Line: 704)
Drupal\Core\DrupalKernel->handle() (Line: 19)
πŸ› Bug report
Status

Closed: cannot reproduce

Version

5.1

Component

User Experience

Created by

πŸ‡ΊπŸ‡ΈUnited States snowmountain

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024