WordPress.org

Ready to get started?Download WordPress

Forums

Google Sitemap Generator 3.0b1: Warning: mktime() expects parameter 1 to be long (7 posts)

  1. digitaltoast
    Member
    Posted 8 years ago #

    Warning: mktime() expects parameter 1 to be long, string given in /home/xxxx/public_html/xxxx/trek/wp-content/plugins/sitemap.php on line 1885

    is what 3.0b1 running on WordPress 2.02 says, although it says sitemaps is generated OK, the times in the sitemap look like this:
    2006-04-14T20:36:32+00:00
    Is that correct and OK?

  2. Not much we can do. I'd contact the plugin's author. And remember, it is called a beta for a reason. ;)

  3. digitaltoast
    Member
    Posted 8 years ago #

    Ur, OK, but the plugin points to this forum, thread and tags as being the place to ask for help with the plugin!

  4. Michael Bishop

    Posted 8 years ago #

    then give it a little time. The author may check in occasionally to check for threads regarding the plugin.

  5. digitaltoast
    Member
    Posted 8 years ago #

    I just discovered that this is when running php5.

    With php4 it is OK.

    And yet my other blog on the same server is OK with php5. Weird...

  6. Samuel Wood (Otto)
    Tech Ninja
    Posted 8 years ago #

    FWIW, those generated times are the correct format. Standard ISO 8601 times.

  7. arnee
    Member
    Posted 8 years ago #

    Hi,

    will be fixed in next release, until then you can put a "@" sign on the given line which prevents the warning.

    Arne

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags