ThemeConfig not found

Created on 26 September 2023, 9 months ago
Updated 5 January 2024, 6 months ago

I created a theme and it works - almost.
When I enable "Clear all caches" the theme doesn't load immediately. *)
The page is displayed in "raw" form without a theme.
When I refresh the browser (F5 on a PC) the theme loads.

*) I get the following error:
Class "Drupal\\at_core\\Theme\\ThemeConfig" not found" at /var/www/cbmsupport.dk/pkt10/pkt/themes/contrib/adaptivetheme/at_core/includes/alters.inc

ThemeConfig is found in the file ThemeConfig.php in the folder "themes\contrib\adaptivetheme\at_core\src\Theme\".

I am using Drupal 10.1.4

What is wrong?

🐛 Bug report
Status

Active

Version

5.1

Component

Miscellaneous

Created by

🇩🇰Denmark Uv516 Denmark

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

Comments & Activities

  • Issue created by @Uv516
  • 🇺🇸United States bobburns

    Same thing and it fills my log

  • If you turn off your sites Aggregate JavaScript files in Performance it shoudl go back to normal

  • 🇩🇰Denmark Uv516 Denmark

    When I disable "Aggregate JavaScript files",the problem persists.
    When I disable "Aggregate CSS files", the problem is gone!

    The "Aggregate JavaScript files" can be disabled or enabled: No effect on the problem.

    isn't that a pretty significant problem?

  • 🇮🇳India abhijeetsatpute

    I faced a similar issue today in different file while upgrading from Drupal 9.5.11 to Drupal 10.1.6

    Class "Drupal\\at_core\\Theme\\ThemeConfig" not found" at web/themes/contrib/adaptivetheme/at_core/includes/preprocess.inc at line 27

    I had uninstalled at_tool module
    For me it is resolved after installing the module.

  • 🇮🇳India abhijeetsatpute

    I faced this issue today after upgrading to Drupal 10.1.6

    Class "Drupal\\at_core\\Theme\\ThemeConfig" not found" at web/themes/contrib/adaptivetheme/at_core/includes/preprocess.inc on line no. 27.

    I had uninstalled at_tool module.
    For me it fixed after installing at_tool.

  • 🇺🇸United States srdtwc Skokie, IL

    I am having this same issue

  • First commit to issue fork.
  • 🇺🇸United States snowmountain

    I also encountered this same situation. The home page had WSOD.

    This happened after creating an example PayPal payment method.

    Disabling css and js aggregation, then clearing cache, did not fix.
    Disabling at_tool and at_theme_generator did fix.

    After re-enabling at_tool, the WSOD was still fixed. (AT theme generator was not re-enabled since it was no longer needed.)

    Drupal version ..... 10.2.6
    PHP version ............ 8.1.28
    at_tool ................... 3.1.2
    at_theme_generator 3.1.2
    commerce_paypal .. 8.x-1.7
    commerce ............. 8.x-2.39

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

Production build 0.69.0 2024