Warning in Installation Check


  • Default avatar
    peaces    
     2 years ago
    0

    When I look at my Installation check page. Across above the list of installations it says:

    Warning: call_user_func(AwocouponredshopInstallation::getDBUpdates) [function.call-user-func]: First argument is expected to be a valid callback in /home/content/62/8459762/html/administrator/components/com_awocoupon/models/installation.php on line 28

    Can you guide me please?
    Should I reinstall or???
  • Your avatar
    seyi    
     2 years ago
    0

    Hello,

    No, there is no need. The warning does not affect anything but you can fix it by updating the code:

    in www/administrator/components/com_awocoupon/helpers/estore/redshop/installation.php, after the class initialization:
    <?php
    class AwocouponRedshopInstallation {
    ?>


    add this function:
    <?php
        
    static function getDBUpdates() { return null; }
    ?>


    That should fix the warning.