when I'm going to disable or delete a module following message is returned:
"Error! Could not perform action disable for module undefined"
Solved in this way:
- Clear the cache using the appropriate command in Advanced parameters > Performance
- Enable debugging (Advanced parameters > Performance)
- Reload or open the Modules section (Modules > Module Manager)
- Delete the contents of the / var / cache / folder (from FTP)
IMPORTANT: you must delete both / dev and / prod folders
- Remove the debug mode
Go back to the Modules section and try to deactivate or uninstall a module, it should work.
Note: sometimes enabling the debug mode we may receive an error page with the list of exceptions. This makes it impossible to see the back office. In this case it is necessary to edit manually the configuration file al line 29:
Tested on Prestashop 18.104.22.168 and Prestashop 22.214.171.124