AwoRewards Variable by reference.


  • Default avatar
    damian2    
     10 years ago
    0

    Hi
    I am getting this error message on my site.

    Strict Standards: Only variables should be passed by reference in .../plugins/system/aworewards/aworewards.php on line 27 Strict Standards: Declaration of AwoRewardsView::display() should be compatible with that of JView::display() in .../administrator/components/com_aworewards/helpers/view.php on line 68
  • Your avatar
    seyi    
     10 years ago
    0

    Hello,

    Missed this post sorry.

    for your question, in the file:
    .../administrator/components/com_aworewards/helpers/view.php on line 68

    you can change

    <?php
            
    function display($tpl) {
    ?>


    to
    <?php
            
    function display($tpl null) {
    ?>



    That should get rid of the error