Colinee Posted December 2, 2020 Share Posted December 2, 2020 (edited) screen-capture (9).webm Hi everyone I'm facing an issue I've never seen before. I tried to look for it on google but the truth is I can't find ANYTHING. I hope you'll be able to help me with that. Everytime I try to edit or add a groupe or a section in the AdminPanel, I have a error showing up which unable me to edit or add group section of my Panel. I joined the video of the issue, with the error showing in the inspector. My prestashop version is 1.7.6.8. Does someone know where this issue come from and how to solve it? Thank you very much for your help 😘 Edited December 2, 2020 by Colinee (see edit history) Link to comment Share on other sites More sharing options...
razaro Posted December 2, 2020 Share Posted December 2, 2020 Hi @Colinee Welcome to the forum. I have seen similar issues with some Leo Themes and AP builder. When you see 500 (Internal Server Error) that is sign to turn debug mode on to see real error message. Go to Advanced Parameters > Performance and turn debug mode and try same steps as before. You should see some error in inspector but if not, instead of Console tab got to Network tab and maybe filter by XHR and check response tab of failed (red) line. An example: In most cases that error was connected to folder permissions but see first what you got. Link to comment Share on other sites More sharing options...
Colinee Posted December 2, 2020 Author Share Posted December 2, 2020 Hi @razaro, Thank you so much for your quick and very clear answer! I am also using a Leo Theme I went where you said, but I don't see any useful info, maybe you will : Link to comment Share on other sites More sharing options...
razaro Posted December 2, 2020 Share Posted December 2, 2020 hmm You did enable debug mode ? Alternatively there should be some errors in /app/logs folder in your root PrestaShop installation. Files prod.log and if debug enabled in file debug.log. Also maybe if you have access to some server logs. But they could be harder to find. Link to comment Share on other sites More sharing options...
Colinee Posted December 2, 2020 Author Share Posted December 2, 2020 (edited) @razaro After activating debug mode, I was able to see the error in the Console > Network. Apparently this is the error : Compile Error: Cannot declare class WishList, because the name is already in use (500 Internal Server Error) And more in details : Uncaught PHP Exception Symfony\Component\Debug\Exception\FatalErrorException: "Compile Error: Cannot declare class WishList, because the name is already in use" at /var/www/vhosts/web22.sebweb.fr/httpdocs/lits-magination.eu/modules/leofeature/classes/WishList.php line 566 What I am supposed to do when this error occurs? Edited December 2, 2020 by Colinee (see edit history) 1 Link to comment Share on other sites More sharing options...
razaro Posted December 2, 2020 Share Posted December 2, 2020 Yes think I saw that issue once. Leo feature module is one that have add to cart button, compare and add to wish list feature defined in one module. But not sure where is second class WishList.php coming from. Could be in Leo Theme modules or some other module that you have. See in module list if you have anything similar. Next step could be contacting Leo Theme support about issue. 1 Link to comment Share on other sites More sharing options...
Colinee Posted December 2, 2020 Author Share Posted December 2, 2020 Ok! Will do! Thank you for your help! 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