Fatal error with VM backen orders


  • Default avatar
    gingerweb    
     7 years ago
    0

    Hi.
    The AWO coupon Free works fine in the shopping cart for customers but in the backend when processing an order i add the product and then the coupon, which appears properly and is found but when applied i get :

    Fatal error: Call to undefined method JApplicationAdministrator::getParams() in /home/domain-name/public_html/components/com_awocoupon/views/coupondelete/view.html.php on line 23

    any suggestions to what might be causing this please?

    I am using Version: 2.0.22
    VirtueMart 3.0.16
    Joomla: 3.5.1
    SSL on throughout site


    thanks
  • Your avatar
    seyi    
     7 years ago
    0

    Hello,

    You can delete that line.

    In

    www/components/com_awocoupon/views/coupondelete/view.html.php, line 23 is the line:

    <?php
            $params 
    JFactory::getApplication()->getParams();
    ?>


    You can delete it or comment it out like so
    <?php
            
    //$params = JFactory::getApplication()->getParams();
    ?>

  • Default avatar
    gingerweb    
     7 years ago
    0

    Awesome thanks it works. sorry for delay i didnt get notification of the reply.
    cheers