PredatorAquaticsLTD Posted January 25, 2020 Share Posted January 25, 2020 hey guys, Recently we have come across a problem in our admin area, When trying to view recent orders in the back office we can only partially see the order and then we get an error 500 i have been scratching my head with were to look to fix this one. I have attached a screenshot below Link to comment Share on other sites More sharing options...
MarlexLadag Posted January 26, 2020 Share Posted January 26, 2020 Can you . please turn on debug mode. Let's see what's happening. Thanks Link to comment Share on other sites More sharing options...
PredatorAquaticsLTD Posted January 26, 2020 Author Share Posted January 26, 2020 6 hours ago, ML Software Services said: Can you . please turn on debug mode. Let's see what's happening. Thanks Hey there, thanks for your reply. Link to comment Share on other sites More sharing options...
PredatorAquaticsLTD Posted January 26, 2020 Author Share Posted January 26, 2020 Maybe worth re-uploading the files listed or is it not ? Link to comment Share on other sites More sharing options...
JBW Posted January 26, 2020 Share Posted January 26, 2020 Whats you Shop and PHP Version, looks incompatible Link to comment Share on other sites More sharing options...
PredatorAquaticsLTD Posted January 26, 2020 Author Share Posted January 26, 2020 shop version 1.7.6.3 (updated from 1.7.6.2 to see if that fixed the issue which didn't) PHP version: 7.3.13 (updated to 7.4 no change, dropped down to 7.2 no change to went back to 7.3.13) Link to comment Share on other sites More sharing options...
JBW Posted January 26, 2020 Share Posted January 26, 2020 Presta is not compatible to 7.3 yet, you need to change to 7.2 The error message will at least change after that Link to comment Share on other sites More sharing options...
PredatorAquaticsLTD Posted January 26, 2020 Author Share Posted January 26, 2020 40 minutes ago, JBW said: Presta is not compatible to 7.3 yet, you need to change to 7.2 The error message will at least change after that Thank you that cleared that mess up, now down to the actual issue, i have this new error which i assume is causing the error 500 on viewing orders. I've looked in the database and can't seem to see the co.id_connections Link to comment Share on other sites More sharing options...
JBW Posted January 27, 2020 Share Posted January 27, 2020 Check your connections table - id_connections should be there, if not try to re-create it Link to comment Share on other sites More sharing options...
PredatorAquaticsLTD Posted January 27, 2020 Author Share Posted January 27, 2020 36 minutes ago, JBW said: Check your connections table - id_connections should be there, if not try to re-create it We're making progress, what a nightmare this is... So the database was missing that from the table, now i have added that we face another! problem but i have no idea what this module is Link to comment Share on other sites More sharing options...
MarlexLadag Posted January 27, 2020 Share Posted January 27, 2020 4 minutes ago, PredatorAquaticsLTD said: We're making progress, what a nightmare this is... So the database was missing that from the table, now i have added that we face another! problem but i have no idea what this module is try to disable the module Link to comment Share on other sites More sharing options...
PredatorAquaticsLTD Posted January 27, 2020 Author Share Posted January 27, 2020 I've disabled all none prestashop modules same error exists, what a nightmare haha sorry guys and thank you for your help Link to comment Share on other sites More sharing options...
PredatorAquaticsLTD Posted January 27, 2020 Author Share Posted January 27, 2020 issue is i don't even see a ba_prestashop_invoice module ? Link to comment Share on other sites More sharing options...
PredatorAquaticsLTD Posted January 27, 2020 Author Share Posted January 27, 2020 i have no idea what the under lying issue is i will have to investigate further but for now commenting out this entire statement has temporarily remedied the issue Quote public function getInvoiceNumberFormatted($id_lang, $id_shop = null) { require_once(_PS_MODULE_DIR_ . "ba_prestashop_invoice/includes/helper.php"); $helper = new BAInvoiceHelper(); $setting = Configuration::get("invoice_customnumber_setting", null, null, $id_shop); $setting = Tools::jsonDecode($setting, true); if ($helper->isEnabledCustomNumber('INVOICE') == true) { return $helper->formatInvoicebyNumber($this->number, $this->date_add, $id_lang, $id_shop); } else { return '#'.Configuration::get('PS_INVOICE_PREFIX', $id_lang, null, $id_shop).sprintf('%06d', $this->number); } } Link to comment Share on other sites More sharing options...
JBW Posted January 27, 2020 Share Posted January 27, 2020 If you don't know the module you can deactive it by renaming it's folder on your server: /modules/ba_prestashop_invoice to e.g. /modules/ba_prestashop_invoice_old Link to comment Share on other sites More sharing options...
PredatorAquaticsLTD Posted January 27, 2020 Author Share Posted January 27, 2020 Issue is, Thereis no such folder, that's the confusing thing, Searching the internet isn't bringing much up on the module either just other people with similair issues. Very odd indeed. Link to comment Share on other sites More sharing options...
JBW Posted January 27, 2020 Share Posted January 27, 2020 Ah ok I see - seems the module is deleted but it's overrride is still there. Rename the file /override/classes/order/OrderInvoice.php to /override/classes/order/OrderInvoice.php.old If you have PHP skills check if there is any other logic inside that does not belong to the old module. Link to comment Share on other sites More sharing options...
PredatorAquaticsLTD Posted January 28, 2020 Author Share Posted January 28, 2020 On 1/27/2020 at 8:16 AM, JBW said: Ah ok I see - seems the module is deleted but it's overrride is still there. Rename the file /override/classes/order/OrderInvoice.php to /override/classes/order/OrderInvoice.php.old If you have PHP skills check if there is any other logic inside that does not belong to the old module. renamed all three of those files, unsure were they have come from but seems to be issue free again, thanks so much for your help on this one much appreciated guys. Link to comment Share on other sites More sharing options...
ProgDaniel Posted January 28, 2020 Share Posted January 28, 2020 (edited) A mi me aparece estos errores, soy un usuario nuevo apenas estoy comenzando a crear la página, comencé a modificar la plantilla agregar unas cuantas categorías más y que me saltara este error These errors appear to me, I am a new user as soon as I am starting to create the page, beginning to modify the template, add a few more categories and that this error appears to me Versión de PrestaShop: 1.7.6.3 Versión PHP: 7.2.24 Edited January 28, 2020 by ProgDaniel (see edit history) Link to comment Share on other sites More sharing options...
JBW Posted January 29, 2020 Share Posted January 29, 2020 Look for a module "Storeggmap" (Google maps??) and disable it/contact the developer for solving it 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