Fix Class ModuleInstallerFactory not found when updating

Created on 29 November 2023, about 1 year ago
Updated 12 December 2023, about 1 year ago

Problem/Motivation

I'm facing this error after running drush updb with Drupal core 10.1.6:

// Do you wish to run the specified pending updates?: yes.                                                             
>  [notice] Update started: varbase_security_update_90004
>  [error]  Class "ModuleInstallerFactory" not found 
>  [error]  Update failed: varbase_security_update_90004 
 [error]  Update aborted by: varbase_security_update_90004 
 [error]  Finished performing updates.

Follow up issue after 📌 Refactor updates for Varbase Core by moving hook updates to include/updates with load Include based on major branches Fixed

Proposed resolution

Add use Vardot\Installer\ModuleInstallerFactory;

Remaining tasks

  • ✅ File an issue about this project
  • ✅ Addition/Change/Update/Fix to this project
  • ✅ Testing to ensure no regression
  • ➖ Automated unit/functional testing coverage
  • ➖ Developer Documentation support on feature change/addition
  • ➖ User Guide Documentation support on feature change/addition
  • ➖ UX/UI designer responsibilities
  • ➖ Accessibility and Readability
  • ✅ Code review from 1 Varbase core team member
  • ✅ Full testing and approval
  • ✅ Credit contributors
  • ✅ Review with the product owner
  • ✅ Update Release Notes and Update Helper on new feature change/addition
  • ✅ Release varbase-9.0.17 , varbase_core-9.0.79 , varbase-9.1.0 , varbase_core-9.1.14 , varbase-10.0.0-rc1 , varbase_core-10.0.3

Varbase update type

  • ✅ No Update
  • ➖ Optional Update
  • ➖ Forced Update
  • ➖ Forced Update if Unchanged

User interface changes

  • N/A

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

🐛 Bug report
Status

Fixed

Version

9.1

Component

Code

Created by

🇯🇴Jordan RaniaMashaqbeh

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024