JustJohn Posted November 14, 2022 Share Posted November 14, 2022 Has it been released yet? I see that the final version is on Github, but there appears to be no official mention of it. What's the deal? Link to comment Share on other sites More sharing options...
razaro Posted November 14, 2022 Share Posted November 14, 2022 Yes released for some time https://build.prestashop-project.org/news/prestashop-8-0-0-available/ https://www.prestashop-project.org/releases/prestashop80/ But I think too early to move store production version to that. Especially when auto-upgrade module not working yet. Good for test though, and some next release could be with more fixes, so wait for it bit more. 1 Link to comment Share on other sites More sharing options...
JustJohn Posted November 14, 2022 Author Share Posted November 14, 2022 When you try to download it from the main page, 1.7 still downloads instead of 8. It's kinda strange that it did get released but then it didn't. Link to comment Share on other sites More sharing options...
JustJohn Posted November 14, 2022 Author Share Posted November 14, 2022 (edited) For me it's more of a question when themes start to support 8, and when envato adds 8 to their compatibility filter. It seems that the new release caught our vietnamese friends by surprise. I mean, who'd have known that there'd be a new release, really. When starting a new store it's prudent to go with the new version to avoid all the update cruft very soon. Edited November 14, 2022 by JustJohn (see edit history) Link to comment Share on other sites More sharing options...
coeos.pro Posted November 14, 2022 Share Posted November 14, 2022 almost all VAT rates are wrong on PS8 (in fact since the Italians bought prestashop) all VAT rates are those of Italy, suddenly in France instead of having 20% there is 22%. .. Link to comment Share on other sites More sharing options...
razaro Posted November 14, 2022 Share Posted November 14, 2022 Think like every new version it will need to pass some time to get some major things ironed out. Would that be version 8.1 or 8.2 or 9.0 time will tell. So think that is one of reasons it is not in full focus and announced everywhere. So this is more for theme and module developers to jump on testing train and make updates. Also, if you have time, do report bugs if they are not reported already. Link to comment Share on other sites More sharing options...
JustJohn Posted November 14, 2022 Author Share Posted November 14, 2022 Well, I can imagine 22 to 20% is an easy band-aid fix. What's harder to fix is things like this: [PHP Unknown error #16384] The hook "updateproduct" is deprecated, please use "actionProductUpdate" instead in module "blocktags". (/var/www/prestashop/classes/Hook.php, line 850) that happens with some of those themes. Link to comment Share on other sites More sharing options...
coeos.pro Posted November 14, 2022 Share Posted November 14, 2022 il y a une heure, JustJohn a dit : Well, I can imagine 22 to 20% is an easy band-aid fix. in fact there are dozens of VAT rates that need to be updated, for each country and for full rates, reduced rates... these rates were registered and good for more than 10 years, now there is no only the Italian rates are good, all the VAT rates of the other countries have to be re-entered manually Il y a 2 heures, razaro a dit : testing train and make updates. for the validator (https://validator.prestashop.com/) before we had an error message and it displayed the line that was causing the problem, it was easy to correct the problem, now it displays 50 errors and then 80 lines of code concerned, you have to find for each line of code what the error could be... For the main changes : _PS_BASE_URL_SSL_ disappears on PS8, you can replace it with Tools::getShopDomainSsl(true); before the json_encode and json_decode PHP functions were prohibited, it was necessary to go through Tools::jsonEncode and Tools::jsonDecode but these functions no longer exist on PS8, we can use json_encode and json_decode array(...) by [...] ($a == 1)? true : false; by $a == 1 ? true : false; -> avoid parentheses and put a space before the ? $a.$b becomes $a . $b one space before and one after the "." (int)$a becomes (int) $a you have to add a space after (int) $i++ becomes +$i++ in all cases the superfluous parentheses must be removed, otherwise it is an error message, example: include_once('classes/ME.php'); becomes include_once 'classes/ME.php'; 1 Link to comment Share on other sites More sharing options...
joseantgv Posted November 16, 2022 Share Posted November 16, 2022 On 11/14/2022 at 2:55 PM, coeos.pro said: almost all VAT rates are wrong on PS8 (in fact since the Italians bought prestashop) all VAT rates are those of Italy, suddenly in France instead of having 20% there is 22%. .. Is it already reported in GitHub? Link to comment Share on other sites More sharing options...
joseantgv Posted November 16, 2022 Share Posted November 16, 2022 On 11/14/2022 at 2:37 PM, JustJohn said: When you try to download it from the main page, 1.7 still downloads instead of 8. It's kinda strange that it did get released but then it didn't. Casually I asked it two days ago, and this is the "official" answer: 2 Link to comment Share on other sites More sharing options...
JustJohn Posted November 16, 2022 Author Share Posted November 16, 2022 I wonder if all those "The hook "updateproduct" is deprecated, please use "actionProductUpdate" instead in module..." are what they mean there. Link to comment Share on other sites More sharing options...
joseantgv Posted November 17, 2022 Share Posted November 17, 2022 13 hours ago, JustJohn said: I wonder if all those "The hook "updateproduct" is deprecated, please use "actionProductUpdate" instead in module..." are what they mean there. Sorry, I don't understand what you mean. Link to comment Share on other sites More sharing options...
JustJohn Posted November 17, 2022 Author Share Posted November 17, 2022 It's a long story, some theme authors bundle some modules that give this error when using Webservice to make POST requests. Some of those are custom but at least "blocktags" module appears to be a legacy one that hasn't been updated in a while, so... Link to comment Share on other sites More sharing options...
BrunoAzevedo2023 Posted March 2, 2023 Share Posted March 2, 2023 Hi, I installed the last PS version and the customer report me that have one error: This error: [PHP Unknown error #16384] The hook "updateproduct" is deprecated, please use "actionProductUpdate" instead in module "fieldproductcates". (/home/ourives5/loja.ourivesariafigueira.com/classes/Hook.php, line 850) I need to change anything? Can anyone help me about this error? Thanks bruno Azevedo Link to comment Share on other sites More sharing options...
idnovate.com Posted March 3, 2023 Share Posted March 3, 2023 (edited) 16 hours ago, BrunoAzevedo2023 said: Hi, I installed the last PS version and the customer report me that have one error: This error: [PHP Unknown error #16384] The hook "updateproduct" is deprecated, please use "actionProductUpdate" instead in module "fieldproductcates". (/home/ourives5/loja.ourivesariafigueira.com/classes/Hook.php, line 850) I need to change anything? Can anyone help me about this error? Thanks bruno Azevedo The module version that you are using for fieldproductcates has not been adapted to PS 8. You can fix this error by replacing updateproduct for actionProductUpdate in /modules/fieldproductcates/fieldproductcates.php, but maybe there are other errors. Edited March 3, 2023 by idnovate.com (see edit history) 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