SnapChatScore Posted February 26, 2020 Share Posted February 26, 2020 hello I noticed after ordering my customers get this error: Order validation error : Notice: Undefined offset: 0; File: /home/leakedsp/domains/xxx.net/public_html/var/cache/dev/smarty/compile/14/60/43/146043907aef64b950ce6fcebeae5e9027463da0_0.file.invoice.product-tab.tpl.php; Line: 185; I have no experience on how to fix this, does any one have an idea for that? Link to comment Share on other sites More sharing options...
SnapChatScore Posted February 26, 2020 Author Share Posted February 26, 2020 (edited) Edited February 26, 2020 by SnapChatScore (see edit history) Link to comment Share on other sites More sharing options...
tomerg3 Posted February 26, 2020 Share Posted February 26, 2020 Looks like a theme issue. You can reach out to the theme creator, and in the meantime (and also as a best practice) turn off dev mode. Regards, Tomer. Link to comment Share on other sites More sharing options...
SnapChatScore Posted February 27, 2020 Author Share Posted February 27, 2020 19 hours ago, tomerg3 said: Looks like a theme issue. You can reach out to the theme creator, and in the meantime (and also as a best practice) turn off dev mode. Regards, Tomer. Thanks for your quick reply, I can't disable debug mode because it causes an even worse issue which I addressed here: I am using the default classic theme which was made by prestashop themselves Link to comment Share on other sites More sharing options...
PrestaServicePro Posted February 27, 2020 Share Posted February 27, 2020 (edited) Hello, i recommend you clear cache files manually: \app\cache\dev (with dev mode) and \app\cache\prod folder. I suggest you rename these folders. PrestaShop will regenerate them again. Then disable debug mode manually: config/defines.inc.php > debug_mode, false. Then try again to access your shop. Edited February 27, 2020 by HelperPro (see edit history) Link to comment Share on other sites More sharing options...
SnapChatScore Posted February 27, 2020 Author Share Posted February 27, 2020 1 hour ago, HelperPro said: Hello, i recommend you clear cache files manually: \app\cache\dev (with dev mode) and \app\cache\prod folder. I suggest you rename these folders. PrestaShop will regenerate them again. Then disable debug mode manually: config/defines.inc.php > debug_mode, false. Then try again to access your shop. The dir "/public_html/app/cache" doesn't contain any folders. I tried disabling debug mode manually and it had the same effect as disabling it via the interface. Link to comment Share on other sites More sharing options...
tomerg3 Posted February 27, 2020 Share Posted February 27, 2020 You should not run your site in debug mode, if disabling it break something, then you should address that issue... Link to comment Share on other sites More sharing options...
SnapChatScore Posted February 27, 2020 Author Share Posted February 27, 2020 17 minutes ago, tomerg3 said: You should not run your site in debug mode, if disabling it break something, then you should address that issue... Okay can you help me with addressing it? Link to comment Share on other sites More sharing options...
tomerg3 Posted February 27, 2020 Share Posted February 27, 2020 I'm happy to point you in the right direction, and help with any errors you encounter. I cannot debug your site for you, as some issues require taking a look at files / code... Link to comment Share on other sites More sharing options...
SnapChatScore Posted February 27, 2020 Author Share Posted February 27, 2020 7 minutes ago, tomerg3 said: I'm happy to point you in the right direction, and help with any errors you encounter. I cannot debug your site for you, as some issues require taking a look at files / code... I can give you access to the site if that would help, otherwise maybe you can have a look at my thread here about the debug issue: There is more detailed on the issue there Link to comment Share on other sites More sharing options...
tomerg3 Posted February 27, 2020 Share Posted February 27, 2020 If you want me to debug your site, that would have to be a paid job... Link to comment Share on other sites More sharing options...
SnapChatScore Posted February 27, 2020 Author Share Posted February 27, 2020 6 minutes ago, tomerg3 said: If you want me to debug your site, that would have to be a paid job... Okay then please just point me in the right direction like @HelperPro did Link to comment Share on other sites More sharing options...
SnapChatScore Posted March 2, 2020 Author Share Posted March 2, 2020 This is still an issue Link to comment Share on other sites More sharing options...
SnapChatScore Posted March 3, 2020 Author Share Posted March 3, 2020 Bump Link to comment Share on other sites More sharing options...
tomerg3 Posted March 3, 2020 Share Posted March 3, 2020 The issue in this topic is resolved, please don't bump it for help with another issue. Link to comment Share on other sites More sharing options...
SnapChatScore Posted March 3, 2020 Author Share Posted March 3, 2020 (edited) 1 hour ago, tomerg3 said: The issue in this topic is resolved, please don't bump it for help with another issue. It is not resolved? My customers still get the order validation error. Edited March 3, 2020 by SnapChatScore (see edit history) Link to comment Share on other sites More sharing options...
SnapChatScore Posted March 9, 2020 Author Share Posted March 9, 2020 This has been fixed by disabling invoice creating via shop parameters > order settings > statuses 1 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