Update from 1.07 to 1.08 failed and breaks test site

Created on 11 July 2025, 26 days ago

Steps to reproduce:

Used update function (in Extend) within Drupal to update from Drupal LMS 1.07 to 1.08.
Result: The website encountered an unexpected error. Try again later.
Error: Class "Drupal\lms\Access\ClassPermissionCalculator" not found in Drupal\Component\DependencyInjection\Container->createService() (line 259 of core/lib/Drupal/Component/DependencyInjection/Container.php).

How can we fix this without re-installing please?

🐛 Bug report
Status

Active

Version

1.0

Component

Other backend

Created by

🇬🇧United Kingdom buzzbee

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

Comments & Activities

  • Issue created by @buzzbee
  • 🇬🇧United Kingdom buzzbee

    We have been able to restore the site by doing the following:
    removed all LMS modules from contrib, re-installed latest version of Drupal LMS and flushed all caches with drush.

    It is not really resolved but found a workaround!

  • 🇬🇧United Kingdom catch

    used update function (in Extend)

    This is not recommended in Drupal 10 and has been completely removed in Drupal 11, see https://www.drupal.org/node/3511861 for details. For installing and updating modules it's best to use composer - either directly via the command line, or via the contributed automatic_updates and project_browser modules.

  • 🇬🇧United Kingdom buzzbee

    I closed this issue as there is no need to reproduce this (newer version already available). Thanks for your support!

Production build 0.71.5 2024