JS Injector contains invalid update number

Created on 2 March 2016, about 9 years ago
Updated 10 September 2024, 7 months ago

On the update.php page on our Drupal 8 site, I get the following message:

js_injector module cannot be updated. It contains an update numbered as 8000 which is reserved for the earliest installation of a module in Drupal 8.x, before any updates. In order to update js_injector module, you will need to install a version of the module with valid updates.

The install I have includes several modules. I upgraded a Drupal 7 site, was informed that I have updates that I need to do, and this message showed up. Unfortunately, this prevents me from completing the update script, resulting in the following:

An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /update.php/start?id=9&op=do_nojs&op=do
StatusText: OK
ResponseText:
Fatal error: Class 'Uuid' not found in [path]/js_injector/js_injector.install on line 32

After going to the review log, the following message shows:

The update process was aborted prematurely while running update #8000 in js_injector.module. All errors have been logged. You may need to check the watchdog database table manually.

I looked in my error log, but I couldn't find anything. Is there another module that I need, since the UUID class is undefined? There are no missing dependencies, according to the extend page.

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Miscellaneous

Created by

πŸ‡ΊπŸ‡ΈUnited States Greenstack

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

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024