Settings form fails.

Created on 14 February 2023, over 1 year ago

Problem/Motivation

At config form i get:

InvalidArgumentException: Class "Drupal\timezone_detect\Form\TimezoneDetectSettings" does not exist. in Drupal\Core\DependencyInjection\ClassResolver->getInstanceFromDefinition() (line 24 of core\lib\Drupal\Core\DependencyInjection\ClassResolver.php).

Drupal\layout_builder_st\DependencyInjection\ClassResolver->getInstanceFromDefinition('Drupal\timezone_detect\Form\TimezoneDetectSettings') (Line: 48)
Drupal\Core\Controller\HtmlFormController->getFormObject(Object, 'Drupal\timezone_detect\Form\TimezoneDetectSettings') (Line: 58)
Drupal\Core\Controller\FormController->getContentResult(Object, Object)

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Closed: works as designed

Version

1.0

Component

Code

Created by

🇨🇦Canada liquidcms

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

Comments & Activities

  • Issue created by @liquidcms
  • 🇨🇦Canada liquidcms

    Hmm.. and now it works.

    I have seen a few times lately where drush cr doesn't rebuild class discovery. I manually emptied all the cache tables (my guess is that the cache_discovery table is the culprit) and then the form loads.

  • Status changed to Closed: works as designed over 1 year ago
Production build 0.71.5 2024