We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 12379
    • 460 Posts
    <?php
    
    global $modx;
    
    function paginate ($total_pages,$page_number,$search,$page_range,$this_url,&$output)
      {
       //etc
      }
    
    //etc
    
    paginate($total_pages,$page_number,$search,$page_range,$this_url,$output);
    
    //etc
    
    return $output;
    
    ?>


    Fixed - thanks!
      Mostly harmless.