Skip to content

Invalid module name: “.Modules.info” after update from 3.0.210 to 3.0.227 #1867

@teppokoivula

Description

@teppokoivula

Short description of the issue

After updating a site from 3.0.210 to 3.0.227 I started seeing this issue. It remained at the top of the modules screen.

Tried clearing caches, logging out and in again, etc. but that didn't seem to make any difference. Only thing that seems to have helped was removing all .Module% rows directly from the modules table.

I noticed that there was an earlier issue where this error was displaying apparently due to upgrading and then downgrading the site. In this case that was not the case — the site was upgraded from 3.0.210 to 3.0.227.

This site is running on load balanced environment, and each deploy takes a bit of time. It's possible that some requests hit the site while some servers were still running older version of ProcessWire. Is this an issue?

Expected behavior

Not seeing errors, I guess :)

Or, in case simply having those rows in the database is an issue and it can happen due to issues during update (such as the ones mentioned here) or due to the site being upgraded/downgraded, perhaps current versions of ProcessWire could identify this situation and fix it automatically, removing those rows?

At least in my case I couldn't find any way to fix the issue without going directly in the database.

Actual behavior

Errors show up and stick around, apparently indefinitely.

Setup/Environment

  • ProcessWire version: 3.0.227

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions