[Prestashop]Is AwoCoupon compatible with Prestashop 8.1 and php 8.2?


  • Default avatar
    riga75    
     18 days ago  last edited 18 days ago
    0

    Can you tell me if it is compatible or has the version yet to come out?
    because I did a quick test and it seems to give me problems but maybe I'm wrong
    thanks a lot

    stefano
  • Your avatar
    seyi    
     15 days ago
    0

    Hello,

    It is compatible.  What version are you upgrading from?  It may be you need to manually update the overrides.
  • Default avatar
    riga75    
     7 days ago
    0

    i have this error:

    Unknown error alla linea 186 nel file ......../modules/awocoupon/helper/class-awocoupon-helper-helper.php
    [8192] str_replace(): Passing null to parameter #1 ($search) of type array|string is deprecated

    Unknown error alla linea 186 nel file ......./modules/awocoupon/helper/class-awocoupon-helper-helper.php
    [8192] str_replace(): Passing null to parameter #1 ($search) of type array|string is deprecated

    Unknown error alla linea 186 nel file ......../modules/awocoupon/helper/class-awocoupon-helper-helper.php
    [8192] str_replace(): Passing null to parameter #1 ($search) of type array|string is deprecated

    Unknown error alla linea 186 nel file ......../modules/awocoupon/helper/class-awocoupon-helper-helper.php
    [8192] str_replace(): Passing null to parameter #1 ($search) of type array|string is deprecated

    Unknown error alla linea 186 nel file ./modules/awocoupon/helper/class-awocoupon-helper-helper.php
    [8192] str_replace(): Passing null to parameter #1 ($search) of type array|string is deprecated
  • Your avatar
    seyi    
     7 days ago
    0

    This might be a store_id issue.  Look in the db, do you see a value for this?

    SELECT * from #__awocoupon_config WHERE name="estore";

    If you do not receive anything try adding this:
    INSERT INTO #__awoocoupon_config SET name="estore", value="prestashop-1";



  • Default avatar
    riga75    
     7 days ago
    0

    I attach screenshots, what can I do?

    hgJxsPx.png
  • Your avatar
    seyi    
     7 days ago
    0

    Hmm, not sure.  Possible to get access to have a look?
  • Default avatar
    riga75    
     7 days ago
    0

    ok send it

  • Your avatar
    seyi    
     6 days ago
    0

    Hello,

    I am able to access, but cannot find where you see that error.

    Also you did not have the CartRule.php override.  So I added that, updated the Cart.php to the 8.x override and cleared cache, now coupons work on front end.
  • Default avatar
    riga75    
     4 days ago
    0

    in fact it does this from time to time, now I went into the translations of the review module and it came out, see attachment.
    Can you fix those messages for me?
    thanks68dOWHO.png
  • Default avatar
    riga75    
     4 days ago
    0

    I found that if you try to log in, you get this error message (I now have the awocoupon module deactivated)
    Fatal error: Uncaught PrestaShopException: No template found for module in /var/www/vhosts/biotex.it/8.biotex.it/shop/classes/Tools.php:1124 Stack trace: #0 /var/www/vhosts/biotex.it/8.biotex.it/shop/modules/aworewards/aworewards.php(592): ToolsCore::displayError() #1 /var/www/vhosts/biotex.it/8.biotex.it/shop/modules/aworewards/aworewards.php(357): AwoRewards->displayawo() #2 /var/www/vhosts/biotex.it/8.biotex.it/shop/classes/Hook.php(1043): AwoRewards->hookDisplayCustomerAccount() #3 /var/www/vhosts/biotex.it/8.biotex.it/shop/classes/Hook.php(418): HookCore::coreCallHook() #4 /var/www/vhosts/biotex.it/8.biotex.it/shop/classes/Hook.php(981): HookCore::callHookOn() #5 /var/www/vhosts/biotex.it/8.biotex.it/shop/config/smarty.config.inc.php(198): HookCore::exec() #6 /var/www/vhosts/biotex.it/8.biotex.it/shop/classes/Smarty/SmartyLazyRegister.php(81): smartyHook() #7 /var/www/vhosts/biotex.it/8.bi...t.tpl.php(70): SmartyLazyRegister->__call() #8 /var/www/vhosts/biotex.it/8.bi...ance.php(248): Block_14126388786650933d9d6938_20781721->callBlock() #9 /var/www/vhosts/biotex.it/8.bi...ance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock() #10 /var/www/vhosts/biotex.it/8.bi...ance.php(156): Smarty_Internal_Runtime_Inheritance->process() #11 /var/www/vhosts/biotex.it/8.bi....tpl.php(168): Smarty_Internal_Runtime_Inheritance->instanceBlock() #12 /var/www/vhosts/biotex.it/8.bi...ance.php(248): Block_17681290986650933d9cee91_14556843->callBlock() #13 /var/www/vhosts/biotex.it/8.bi...ance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock() #14 /var/www/vhosts/biotex.it/8.bi...ance.php(186): Smarty_Internal_Runtime_Inheritance->process() #15 /var/www/vhosts/biotex.it/8.bi...ance.php(156): Smarty_Internal_Runtime_Inheritance->process() #16
  • Your avatar
    seyi    
     a day ago
    0

    Hello,
    Fixed the issue with logging into the front end.  For the translation error where exactly do I go to find that?
  • Default avatar
    riga75    
     a day ago  last edited a day ago
    0

    I have just logged into admin and I get the warning message.
    did you then see the login problem in the front end and the errrre message that comes up?
  • Your avatar
    seyi    
     a day ago
    0

    Hello,

    No, I don't see any warnings when logging into admin.
    For login into the frontend, I don't see any issues any more.
  • Default avatar
    riga75    
     a day ago
    0

    you have to activate debugging and then it comes out
  • Your avatar
    seyi    
     a day ago
    0

    I saw the error logging into admin which is fixed.  But did not see any issues with front end login.
  • Default avatar
    riga75    
     16 hours ago
    0

    most likely with what you did you also solved the other problem.
    I have another problem. If you try to put for example two products:
    canotta aria
    T-shirt seamless
    and then put in the coupon: test8X
    the amount is below the free shipping threshold but he always gives free shipping