GKL Posted February 10, 2023 Share Posted February 10, 2023 Hi all! I have an error in one of my site's backend. The Orders page gives a 500 Internal Server Error. Did anyone have similar issues? Any ideas how to fix it? (Prestashop 8.0.1, PHP 7.4) Link to comment Share on other sites More sharing options...
GKL Posted February 23, 2023 Author Share Posted February 23, 2023 I'm not familiar with Symfony. What should I do with these? Quote CRITICAL request: Uncaught PHP Exception Twig\Error\LoaderError: "Template "PrestaShopBundle:Admin/Sell/Order/Order:index.html.twig" is not defined in "@PrestaShop/Admin/Sell/Order/Order/index.html.twig" at line 20." at /home/promotiongift/public_html/vendor/twig/twig/src/Loader/ChainLoader.php line 99 { "exception": {} } Quote CRITICAL php: Uncaught Exception: Template "PrestaShopBundle:Admin/Sell/Order/Order:index.html.twig" is not defined in "@PrestaShop/Admin/Sell/Order/Order/index.html.twig" at line 20. { "exception": {} } Thanks! Link to comment Share on other sites More sharing options...
JBW Posted February 23, 2023 Share Posted February 23, 2023 Do you have any module changing the order page? See the full error stack if there is an indication where the error is caused. The usage of "PrestaShopBundle:" does not work in PS8 anymore, so the module would need to be upgraded (use @bundlename/... instead) Link to comment Share on other sites More sharing options...
GKL Posted February 23, 2023 Author Share Posted February 23, 2023 Hi JBW! Thanks for the tip! I was already hunting down old and not native modules, and pretty much cleared out everything. However looking for "PrestaShopBundle:", I found it only in the Prestashop Metrics module. Kind of surprised here, since it's a constantly updated module. Anyway, it's solved. Thank you very much! 1 Link to comment Share on other sites More sharing options...
NicoMazeMetz Posted April 29, 2023 Share Posted April 29, 2023 I can confirm that it is Prestashop Metrics Module, which is disable after v8 migration, which cause this error. I don't understand why the module is declared 8.0.4 comptabile in the addons marketplace...Mystery. Link to comment Share on other sites More sharing options...
TiaNex Shopping Posted April 30, 2023 Share Posted April 30, 2023 so you need check Template "PrestaShopBundle:Admin/Sell/Order/Order:index.html.twig" is not defined is there or not first Link to comment Share on other sites More sharing options...
MKZ Industries Posted June 5, 2023 Share Posted June 5, 2023 Just writing to add another confirmation that Prestashop Metrics is causing the error. I have just updated to 8.0.4 from 1.7.8.8 and if I activate Prestashop Metrics, I get the next error when accessing the orders list: "The server returned a "500 Internal Server Error" I am using PHP 7.2, due to other integration problems with some modules when using PHP 8.1. Could be that? Link to comment Share on other sites More sharing options...
NicoMazeMetz Posted June 5, 2023 Share Posted June 5, 2023 Hi Mike I don't think so (about PHP 7.2 version) because my website is in PHP 8.1 and the error still here when PS Metrics is enabled. I thnink it's a bug to fix, to be honnest I didn't go very far when I realized that disable the module fix the issue... 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