www.you-sport.com Posted September 27 Share Posted September 27 (edited) i use latest version 8.1.7 and i get this when trying to access Module Manager in the back end (even after upgrading from 8.1.5 to 8.1.7) Oops... looks like an unexpected error occurred. Compile Error: Cannot declare class blockHomeSlide, because the name is already in use [Symfony\Component\ErrorHandler\Error\FatalError 0] or Oops... looks like an unexpected error occurred. Compile Error: Cannot declare class productInfo, because the name is already in use [Symfony\Component\ErrorHandler\Error\FatalError 0] Enable debug mode or Oops... looks like an unexpected error occurred. Compile Error: Cannot declare class blogPost, because the name is already in use [Symfony\Component\ErrorHandler\Error\FatalError 0] Enable debug mode Edited September 27 by thebanker (see edit history) Link to comment Share on other sites More sharing options...
Divine Posted September 27 Share Posted September 27 Hello, Did you try to contact the developers of those modules ? Link to comment Share on other sites More sharing options...
www.you-sport.com Posted September 27 Author Share Posted September 27 no... i cannot locate who is the developer of those modules i am not a developer of prestashop yet, but just a user now i get Oops... looks like an unexpected error occurred. Compile Error: Cannot declare class blogPost, because the name is already in use [Symfony\Component\ErrorHandler\Error\FatalError 0] Enable debug mode Link to comment Share on other sites More sharing options...
www.you-sport.com Posted September 27 Author Share Posted September 27 1 hour ago, Divine said: Hello, Did you try to contact the developers of those modules ? no... i cannot locate who is the developer of those modules i am not a developer of prestashop yet, but just a user now i get Oops... looks like an unexpected error occurred. Compile Error: Cannot declare class blogPost, because the name is already in use [Symfony\Component\ErrorHandler\Error\FatalError 0] Enable debug mode Link to comment Share on other sites More sharing options...
www.you-sport.com Posted September 27 Author Share Posted September 27 9 minutes ago, thebanker said: no... i cannot locate who is the developer of those modules i am not a developer of prestashop yet, but just a user now i get Oops... looks like an unexpected error occurred. Compile Error: Cannot declare class blogPost, because the name is already in use [Symfony\Component\ErrorHandler\Error\FatalError 0] Enable debug mode author PrestaShop SA <[email protected]> it is the basic carousel slider on demo theme Link to comment Share on other sites More sharing options...
www.you-sport.com Posted September 28 Author Share Posted September 28 (edited) the errors happened with 5 modules but i fixed it !! i removed the permissions of the folders inside folder modules ! mpm_blog mpm_contactform mpm_homeslider mpm_productinfo mpm_topmenu you may delete or rename these folders... Kisses from Athens Greece ! Edited September 28 by www.you-sport.com (see edit history) Link to comment Share on other sites More sharing options...
www.you-sport.com Posted September 28 Author Share Posted September 28 (edited) the errors happened with 5 modules but i fixed it !! i removed the permissions of the folders inside folder modules ! mpm_blog mpm_contactform mpm_homeslider mpm_productinfo mpm_topmenu you may delete or rename these folders... Edited September 28 by www.you-sport.com (see edit history) Link to comment Share on other sites More sharing options...
www.you-sport.com Posted September 28 Author Share Posted September 28 20 hours ago, www.you-sport.com said: no... i cannot locate who is the developer of those modules i am not a developer of prestashop yet, but just a user now i get Oops... looks like an unexpected error occurred. Compile Error: Cannot declare class blogPost, because the name is already in use [Symfony\Component\ErrorHandler\Error\FatalError 0] Enable debug mode i just fixed the errors, you can see the topic Kisses ! Link to comment Share on other sites More sharing options...
Nickz Posted September 28 Share Posted September 28 23 hours ago, www.you-sport.com said: i get this when trying to access Module Manager in the back end (even after upgrading from 8.1.5 to 8.1. it is pretty obvious that your modules did not like the update. What error did you try to correct? Link to comment Share on other sites More sharing options...
www.you-sport.com Posted September 28 Author Share Posted September 28 (edited) 13 minutes ago, Nickz said: it is pretty obvious that your modules did not like the update. What error did you try to correct? errors like Oops... looks like an unexpected error occurred. Compile Error: Cannot declare class blockHomeSlide, because the name is already in use [Symfony\Component\ErrorHandler\Error\FatalError 0] or Oops... looks like an unexpected error occurred. Compile Error: Cannot declare class productInfo, because the name is already in use [Symfony\Component\ErrorHandler\Error\FatalError 0] Enable debug mode or Oops... looks like an unexpected error occurred. Compile Error: Cannot declare class blogPost, because the name is already in use [Symfony\Component\ErrorHandler\Error\FatalError 0] Enable debug mode and another 2 similar for the other modules Edited September 28 by www.you-sport.com (see edit history) Link to comment Share on other sites More sharing options...
www.you-sport.com Posted September 28 Author Share Posted September 28 25 minutes ago, Nickz said: it is pretty obvious that your modules did not like the update. What error did you try to correct? i had the same errors even when i was on version 8.1.5 Link to comment Share on other sites More sharing options...
Nickz Posted September 28 Share Posted September 28 3 minutes ago, www.you-sport.com said: i had the same errors even when i was on version 8.1.5 what was the last version you did not have errors? Link to comment Share on other sites More sharing options...
www.you-sport.com Posted September 28 Author Share Posted September 28 3 minutes ago, Nickz said: what was the last version you did not have errors? good question... probably a version before 8.1.5 but i do not know to tell you for sure Link to comment Share on other sites More sharing options...
www.you-sport.com Posted September 28 Author Share Posted September 28 also please check this file in modules blockhomeslider blockhomeslider.php how is your code ? i did some changes <?php if (!defined('_PS_VERSION_')) exit; require_once(dirname(__FILE__) . '/classes/blockHomeSlide.php'); //use PrestaShop\PrestaShop\Core\Module\WidgetInterface; class blockhomeslider extends Module //implements WidgetInterface { in short words i removed the WidgetInterface... Link to comment Share on other sites More sharing options...
www.you-sport.com Posted September 28 Author Share Posted September 28 20 minutes ago, Nickz said: what was the last version you did not have errors? please check my last message Link to comment Share on other sites More sharing options...
www.you-sport.com Posted September 28 Author Share Posted September 28 also another error i face is when trying to upgrade modules in module manager i get messages like Could not perform action update for module undefined Link to comment Share on other sites More sharing options...
Nickz Posted September 28 Share Posted September 28 i'd try to use 1.7.8 which is a likely candidate, also the PHP version should be lowered. Link to comment Share on other sites More sharing options...
www.you-sport.com Posted September 28 Author Share Posted September 28 (edited) 32 minutes ago, Nickz said: i'd try to use 1.7.8 which is a likely candidate, also the PHP version should be lowered. i had problems with 1.x.x so i upgraded... Edited September 28 by www.you-sport.com (see edit history) Link to comment Share on other sites More sharing options...
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