www.you-sport.com Posted September 27, 2024 Share Posted September 27, 2024 (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, 2024 by thebanker (see edit history) Link to comment Share on other sites More sharing options...
Divine Posted September 27, 2024 Share Posted September 27, 2024 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, 2024 Author Share Posted September 27, 2024 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, 2024 Author Share Posted September 27, 2024 On 9/27/2024 at 2:43 PM, Divine said: Hello, Did you try to contact the developers of those modules ? Expand 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, 2024 Author Share Posted September 27, 2024 On 9/27/2024 at 3:53 PM, 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 Expand author PrestaShop SA <contact@prestashop.com> 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, 2024 Author Share Posted September 28, 2024 (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, 2024 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, 2024 Author Share Posted September 28, 2024 (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, 2024 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, 2024 Author Share Posted September 28, 2024 On 9/27/2024 at 3:53 PM, 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 Expand 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, 2024 Share Posted September 28, 2024 On 9/27/2024 at 1:47 PM, 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. Expand 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, 2024 Author Share Posted September 28, 2024 (edited) On 9/28/2024 at 1:38 PM, Nickz said: it is pretty obvious that your modules did not like the update. What error did you try to correct? Expand 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, 2024 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, 2024 Author Share Posted September 28, 2024 On 9/28/2024 at 1:38 PM, Nickz said: it is pretty obvious that your modules did not like the update. What error did you try to correct? Expand 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, 2024 Share Posted September 28, 2024 On 9/28/2024 at 2:05 PM, www.you-sport.com said: i had the same errors even when i was on version 8.1.5 Expand 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, 2024 Author Share Posted September 28, 2024 On 9/28/2024 at 2:08 PM, Nickz said: what was the last version you did not have errors? Expand 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, 2024 Author Share Posted September 28, 2024 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, 2024 Author Share Posted September 28, 2024 On 9/28/2024 at 2:08 PM, Nickz said: what was the last version you did not have errors? Expand please check my last message Link to comment Share on other sites More sharing options...
www.you-sport.com Posted September 28, 2024 Author Share Posted September 28, 2024 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, 2024 Share Posted September 28, 2024 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, 2024 Author Share Posted September 28, 2024 (edited) On 9/28/2024 at 7:14 PM, Nickz said: i'd try to use 1.7.8 which is a likely candidate, also the PHP version should be lowered. Expand i had problems with 1.x.x so i upgraded... Edited September 28, 2024 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