Hi, after updating the Domain Module i become this errormassage on my-domain/core/authorize.php?batch=1&id=26&op=finished:

Error: Class 'Drupal\domain\DomainLoader' not found in Drupal\Component\DependencyInjection\Container->createService() (line 266 of core/lib/Drupal/Component/DependencyInjection/Container.php).

and on the updatesite after Browser go back on my-domain/core/authorize.php?batch=1&id=26&op=start:

Ein AJAX-HTTP-Fehler ist aufgetreten.
HTTP-Rückgabe-Code: 500
Im Folgenden finden Sie Debugging-Informationen.
Pfad: /core/authorize.php/core/authorize.php?batch=1&id=26&op=do_nojs&op=do
Statustext: Internal Server Error
Antworttext: The website encountered an unexpected error. Please try again later.Error: Class 'Drupal\domain\DomainLoader' not found in Drupal\Component\DependencyInjection\Container->createService() (line 266 of core/lib/Drupal/Component/DependencyInjection/Container.php).

Can you help my please? this is the second site that was shot down with this fatal error.

Greeting from Hamburg-Germany

Comments

Frank HH-germany created an issue. See original summary.

frank hh-germany’s picture

Em, line 266 Code:

      // Optimize class instantiation for services with up to 10 parameters as
      // ReflectionClass is noticeably slow.
      switch ($length) {
        case 0:
          $service = new $class();
          break;

        case 1:
          $service = new $class($arguments[0]);
          break;

        case 2:


(Line 266) >>>

          $service = new $class($arguments[0], $arguments[1]);
          break;

        case 3:
          $service = new $class($arguments[0], $arguments[1], $arguments[2]);
          break;

        case 4:
          $service = new $class($arguments[0], $arguments[1], $arguments[2], $arguments[3]);
          break;

        case 5:
          $service = new $class($arguments[0], $arguments[1], $arguments[2], $arguments[3], $arguments[4]);
          break;

        case 6:
          $service = new $class($arguments[0], $arguments[1], $arguments[2], $arguments[3], $arguments[4], $arguments[5]);
          break;

        case 7:
          $service = new $class($arguments[0], $arguments[1], $arguments[2], $arguments[3], $arguments[4], $arguments[5], $arguments[6]);
frank hh-germany’s picture

OK, i found a solution for this Problem:

Go to your "My SQL Database" > Go to Saerch and write down "Domain" in the Searchfield > select all tables under tables > run Search > clear "ALL CACHE and BATCH FILES"

Go to "my-domain"/user/login

In some cases it is still necessary in the settings.php to turn on the update function without login to run update.php. Then the site runs there again.

Have Fun
Greetings from Hamburg-Germany

frank hh-germany’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.