Jump to content

Can't access modules get "[PrestaShopException] Module productsCarousel is not a valid module name"


Recommended Posts

Hello everyone,

 

I am having trouble accessing my modules. I haven't installed any new ones for a while and this error has popped up which doesn't allow me to access any of my modules.

 

[PrestaShopException]

Module productsCarousel is not a valid module name
at line 1461 in file classes/module/Module.php

1456.             if (is_file(_PS_MODULE_DIR_.$name))
1457.                 continue;
1458.             elseif (is_dir(_PS_MODULE_DIR_.$name.DIRECTORY_SEPARATOR) && Tools::file_exists_cache(_PS_MODULE_DIR_.$name.'/'.$name.'.php'))
1459.             {
1460.                 if (!Validate::isModuleName($name))
1461.                     throw new PrestaShopException(sprintf('Module %s is not a valid module name', $name));
1462.                 $module_list[] = $name;
1463.             }
1464.         }
1465.
1466.         return $module_list;

 

How would I fix this? Thanks in advance. 

 

Nevermind. Solved. Went to website's FTP and removed the module. Please delete. 

Edited by dynamicfitness (see edit history)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...