New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ClassNotFoundException ; Attempted to load class LegacyLayout from the global namespace #42
Comments
Same issue here. I'm also trying to create my own module using demodoctrine as a model, and I get the same error. This is the stack trace for my module:
|
I have same problem and error. I have clean new install Prestashop 1.7.7.1 on php 7.3.27. I try to correct entity tablang, but without success (Fix tab entity tabLangs variable mapping #21218) |
Hi @dvyvoj @dlabarta and @darioscattolini I'm sorry but I just tried, and demodoctrine works well for me. If you can send a ZIP of your module I could try to see what is the issue, but for me it works good What I do
|
I have mysql 8. Installation also failed, i need corect sql script - add semicolon at end of statement. After this, install ok. Can be problem in mysql version? |
Hello, Version 1.7.7.4 Is anyone find solution please or please help me to understand where come from the problem ? probably my dev environment ? EDITthere is a probably problem when I installed Symfony 3.4 ( Which I understood the version needed ) , the command line isn't available EDIT 2I install a linux dev environment , ubuntu/docker ...
|
@dlabarta , @darioscattolini , do you solve your problem please ? |
Same problem here, on Windows, clean PrestaShop 1.7.7.4 installation. |
Same problem on Mac :) , with mamp ( test on 1.7.7.4, 1.7.7.1, 1.7.7.0 ) I don't understand ... please help ? |
Next step ... I think I found a bot of solution when I Generate Quotes ( part of module which run directly ) There is a diderot's quote which says : "On n'est point toujours une bête pour l'avoir été quelquefois...." Ce fut une révélation ... In routes.yml , some routes add a default : _legacy_controller AdminDemodoctrineQuote which not exists so probably LegacyLaout class Cry when she not founds legacy controller ... I don't know for the moment why quote_index road runs directly (like delete) enough commenting legacy_controller road ... |
I dont think the install and this error are related :/ |
I got the same problem ...
|
Hello, I'm facing the same issue and I've fixed that one by changing the PHP version on my webserver. Hope this helps. |
Hello, Please help! |
After a wild ride in the Prestashop/Symfony core I finally found a solution to make the demodoctrine module work :
|
In case someone has this issue, it's a cookie trouble. Clear all cookies and data from domain fixe it. |
Thanks for the tips @kvnbra & @ComonSoft ! I'm closing this ticket :) |
When I try to create a new quote in demodoctrine I get the following error:
Thanks a lot.
The text was updated successfully, but these errors were encountered: