romulossp 0 Posted April 9, 2019 Posted April 9, 2019 Hello everybody, I'm having a problem with my prestashop, after migrating from server when I'm going to disable or delete a module following message is returned: "Error! Could not perform action disable for module undefined" I already tried everything but nothing solve What should I do =/? Share this post Link to post Share on other sites
romulossp 0 Posted April 10, 2019 Posted April 10, 2019 In debug mode I found this error (attached image), I think the POST request is not correct, does anyone know what I can do? How to fix this? = / Thx. Share this post Link to post Share on other sites
tdsoft 90 Posted April 10, 2019 Posted April 10, 2019 I think you removed a module in Core of Prestashop You can do: restore each module for check Share this post Link to post Share on other sites
romulossp 0 Posted April 10, 2019 Posted April 10, 2019 I have already tried ... I reinstalled the entire system countless times, the problem is specific when I try to disable or uninstall the modules I have no more idea what to do =/ Share this post Link to post Share on other sites
Janett 187 Posted April 10, 2019 Posted April 10, 2019 In your screenshot, the request as a missing / in url. http://zugbox.commanage/action/disable/ps_banner?_token=blabla instead of http://zugbox.com/manage/action/disable/ps_banner?_token=blabla Can you go in Advanced Parameters -> Information and take a screenshot ? Share this post Link to post Share on other sites
romulossp 0 Posted April 10, 2019 Posted April 10, 2019 2 hours ago, Janett said: In your screenshot, the request as a missing / in url. http://zugbox.commanage/action/disable/ps_banner?_token=blabla instead of http://zugbox.com/manage/action/disable/ps_banner?_token=blabla Can you go in Advanced Parameters -> Information and take a screenshot ? Of course my friend .... Share this post Link to post Share on other sites
romulossp 0 Posted April 10, 2019 Posted April 10, 2019 if you want see the url format: Share this post Link to post Share on other sites
romulossp 0 Posted April 10, 2019 Posted April 10, 2019 I see the possible problem ..... I intercepted the methods (old host and new) and saw this problem: (for some reason, prestashop is not completing the url ... which file is responsible for completing it? what can it be? Share this post Link to post Share on other sites
Stickybit 2 Posted August 19, 2019 Posted August 19, 2019 Did you ever manage to fix this problem? I get kinda the same error, when trying to upgrade a module. 😢 Error! Could not perform action update for module undefined Share this post Link to post Share on other sites
leozhang84 0 Posted November 6, 2019 Posted November 6, 2019 hello friend. How is it now? I meet the same problem. When I try to disable/enable/uninstall a moudel. it says "could not performance action disable moudel undefined" Share this post Link to post Share on other sites
dan__niel__ 0 Posted November 12, 2019 Posted November 12, 2019 I have the same problem, but in my case this message does not even appear. Nothing just happens when I click to; update, configure, uninstall, etc. Share this post Link to post Share on other sites
pmates 5 Posted January 19, 2020 Posted January 19, 2020 (edited) Not sure, if my issue was the same as this, but I also had Could not perform action update for module undefined error when trying to update modules after upgrade of my shop from 1.6 to 1.7. In my case the issue was inconsistency between the real version of modules and versions recorded in database. The store keeps the list of all modules and their versions in table ps_module. I'm guessing that modules were updated during upgrade process, but correct values were not updated in the database. In my case the store would tell that I need to update 40 modules. For example it says that the module Best Suppliers should be upgraded from version 1.4.1 to version 2.0.0. But when I looked to the module folder itself, the module was already on version 2.0.0. Updating line for statsbestsuppliers (which is the folder name of this module) in ps_module from 1.4.1 to 2.0.0 fixed the issue. Going through all modules one by one can be a long work, plus guessing names of modules on top of it, but it seems to work. UPDATE 1: After many attempts to upgrade I came across another error, which seems to have solved the "module undefined" issue. As one of the comments suggested, the module Advanced EU Compliance (modules/advancedeucompliance) was causing some similar issues with updates of modules. After uninstalling this module before upgrade to 1.7, modules can now be properly updated. If you already upgraded to 1.7, deleting folder modules/advancedeucompliance may help the same way. The module should be completely uninstalled. Disabling does not seem to be enough. Don't ask me about explanation. This is pure try/fail experience. Edited January 21, 2020 by pmates (see edit history) Share this post Link to post Share on other sites
eugenata 191 Posted July 9, 2020 Posted July 9, 2020 HI guys I've had the same problem. It seems to be due to a wrong cache. Solved in this way: 1) Clear the cache using the appropriate command in Advanced parameters> Performance 2) enable debugging (Advanced parameters> Performance) 3) Reload or open the Modules section (Modules> Module Manager) 4) Clear the contents of the / var / cache / folder IMPORTANT: you must delete both / dev and / prod folders 5) Remove the debug mode That's all. 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: /config/defines.inc.php From: define('_PS_MODE_DEV_', true); to: define('_PS_MODE_DEV_', false); Tested on Prestashop 1.7.6.4 1 1 Share this post Link to post Share on other sites
Joaquin1982 0 Posted August 31, 2020 Posted August 31, 2020 (edited) Eugenata, your solution worked like a charm. Thank you for sharing. Edited August 31, 2020 by Joaquin1982 (see edit history) Share this post Link to post Share on other sites
edigcrea 1 Posted November 13, 2020 Posted November 13, 2020 Thank you Eugenata!!! your solution worked perfectly 😀 in my prestashop 1.7.5.2 Share this post Link to post Share on other sites
cudiah 0 Posted November 21, 2020 Posted November 21, 2020 On 7/9/2020 at 2:08 PM, eugenata said: HI guys I've had the same problem. It seems to be due to a wrong cache. Solved in this way: 1) Clear the cache using the appropriate command in Advanced parameters> Performance 2) enable debugging (Advanced parameters> Performance) 3) Reload or open the Modules section (Modules> Module Manager) 4) Clear the contents of the / var / cache / folder IMPORTANT: you must delete both / dev and / prod folders 5) Remove the debug mode That's all. 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: /config/defines.inc.php From: define('_PS_MODE_DEV_', true); to: define('_PS_MODE_DEV_', false); Tested on Prestashop 1.7.6.4 Thank you. Your solution worked. Share this post Link to post Share on other sites
airjohn 1 Posted January 6 Posted January 6 Worked for me too! Share this post Link to post Share on other sites
maxantuan 0 Posted January 19 Posted January 19 On 7/9/2020 at 1:08 PM, eugenata said: HI guys I've had the same problem. It seems to be due to a wrong cache. Solved in this way: 1) Clear the cache using the appropriate command in Advanced parameters> Performance 2) enable debugging (Advanced parameters> Performance) 3) Reload or open the Modules section (Modules> Module Manager) 4) Clear the contents of the / var / cache / folder IMPORTANT: you must delete both / dev and / prod folders 5) Remove the debug mode That's all. 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: /config/defines.inc.php From: define('_PS_MODE_DEV_', true); to: define('_PS_MODE_DEV_', false); Tested on Prestashop 1.7.6.4 Thanks, It works Share this post Link to post Share on other sites
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now