• Default avatar
    mat411    
     a month ago
    0

    I know it is just warning, but it fills me error logPHP Warning: Undefined array key "VAT 22%" in xxx/administrator/components/com_awocoupon/helper/estore/hikashop/class-awocoupon-helper-estore-hikashop-discount.php on line 375
  • Your avatar
    seyi    
     a month ago
    0

    Hello,

    Will be fixed on the next update.  But if you want to do it now, in the file, right above that line, you can add this and that should get rid of the warning:
    <?php
                        
    if ( ! isset( $coupon_tax_amount$shipping->shippings[0]->tax_namekey ] ) ) {
                            $coupon_tax_amount$shipping->shippings[0]->tax_namekey ] = 0;
                        }
    ?>

  • Default avatar
    mat411    
     a month ago
    0


    In what line should I put that code?

  • Your avatar
    seyi    
     a month ago
    0

    Right before line 375.
  • Default avatar
    mat411    
     27 days ago
    0

    I have another onePHP Warning: Undefined property: stdClass::$order_status in xxx/administrator/components/com_awocoupon/helper/estore/hikashop/class-awocoupon-helper-estore-hikashop-giftcert.php on line 238
  • Your avatar
    seyi    
     24 days ago
    0

    Not sure how you are producing that error because I cannot produce it.  What action are you taking when it happens?
    Also what versions of Awocoupon, hikashop are you using?
  • Default avatar
    mat411    
     23 days ago
    0

    I found it in error log. Hard to say when it hapens.
    Latest Awo, Hika 5.0.3 latest, Joomla 4.4.3 latest, PHP 8.2.

    Maybe this helps https://www.hikashop.com/forum/install-update/907696-some-php-warnings.html#359928