• Warning: Missing argument 2 for zeroise() in C:\xampp\htdocs\wordpress\wp-includes\functions-formatting.php on line 241
    I’m running current CVS

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Anonymous

    This happens when you hit achieves with on the current month…with no posts but the one that came with word press

    I’ve the same Error-Message (also version 2004-03-08).
    I putted in some test-entries for february and march – but after I hit archive-month, then comes again the error-messages:
    “Warning: Missing argument 2 for zeroise() in /home/h12663/htdocs/content/wp-includes/functions-formatting.php on line 241”

    Same here, after upgrading from 1.0.1 to March 8 nightly. Ver 1.0.1 didn’t have the error. The page displays the proper archive posts for each month, but the calendar doesn’t change to the proper month.

    I don’t know much PHP, but I found the following, moved the errant paren, and the error went away for me.
    template-functions-general.php lines 342-343 read:
    } else {
    $thismonth = ”.zeroise(intval(substr($m, 4, 2), 2));
    should be:
    } else {
    $thismonth = ”.zeroise(intval(substr($m, 4, 2)), 2);

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Error code’ is closed to new replies.