I have a few custom pages in 3.0.x where i was utilizing vb's pager function. i am trying to port my old scripts/pages to 3.5 but now i am getting this error Warning: Missing argument 4 for construct_page_nav() in /includes/functions.php on line 1789 at this line:
// #############################################################################
/**
* Returns the HTML for multi-page navigation - based on code from 3dfrontier.com
*
* @param integer Total number of items found
* @param string Base address for links eg: showthread.php?t=99{&page=4}
* @param string Ending portion of address for links
*
* @return string Page navigation HTML
*/
function construct_page_nav($pagenumber, $perpage, $results, $address, $address2 = '')
If you check it out properly (as I had to) you will find that two arguments have been added to the beginning of the parameters, the old function only expected $results, $address & $address2 to be passed (with $address2 being optional).