You could get an error like that if, for example, you had the Modules page open, then changed out for the new module, and tried to click the “Activate” button on that page. But that would be resolved by just reloading the Modules page after putting the new copy of the module in place.
I deactivated module CSSEditor, which always says it needs updating even when it doesn’t.
I deactivated module Advanced Search v. 3.4.14
I removed folder Advanced Search from my modules directory on the server
I uploaded and unzipped AdvancedSearch-3.4.20.zip into the modules directory
Per your instructions, I refreshed the Modules page in the admin interface. Now the only button I see for Advanced Search is Upgrade. There is no Activate button
I clicked Upgrade and got the error message above.
There is no Common directory in my modules directory.
The procedure to upgrade you did where you refresh the Modules page and see the Upgrade button is the right procedure. I’m going to update our instructions on upgrading modules to clarify that.
The error you got, I did some looking into that. It looks like Daniel has updated that module to now require the module Common. So before upgrading, you’d need to install Common (it’s available here) first.
Then to upgrade, you want to refresh the Modules page after you put the new copy of AdvancedSearch in place, and you want to hit the Upgrade button.
Thanks for the link to Common module on Github. I respectfully request that you put it on the Modules download page (Omeka S - Modules) .
Success! I installed Common module then updated Advanced Search per your instructions. Now Advanced Search is installed properly.
I see that the documentation page for Advanced Search contains one line that says " This module is dependent of module Common, that should be installed first." Since this is a new requirement (prior versions of Advanced Search worked with out Common), please suggest to the author of that document to put a prominent notice at the top telling the user to install Common first.
You can suggest that directly on the plugin repository, since it’s created by a community developer. Also we can’t add modules to the directory until the developer registers them, so you could suggest that too.
No, I mean the actual repository for the module code, so here: Daniel-KM / Omeka-S-module-Common · GitLab You might need to make user account to do that, but those repositories are the best way to communicate with community developers if those folks haven’t noticed your issues on this forum.
Please put it on the Modules download page (Omeka S - Modules . I tried to update Advanced Search from an earlier version and was baffled by (a) the error message and (b) the absence of Common module on the download page. Not friendly to user.