WordPress.org

Ready to get started?Download WordPress

Forums

doGeoUrlHeader problem (8 posts)

  1. scifiacid
    Member
    Posted 9 years ago #

    I used 1.2 for some time now and am upgrading to 1.5. Got most of it working just fine but I get the following error at the top of my page:

    Warning: call_user_func_array(): First argumented is expected to be a valid callback, 'doGeoUrlHeader' was given in /home/virtual/site36/fst/var/www/html/wp-includes/functions.php on line 929

    You can see it on the site - http://www.archaius.com

    Any ideas?
    Thanks.

  2. BuffyVS
    Member
    Posted 9 years ago #

    Did you delete the functions.php and try to reupload it just to ensure the error isnt duplicated?

    And when you upgraded, did you ensure to follow the directions by removing ALL prior folders prior to uploading new ones?

  3. scifiacid
    Member
    Posted 9 years ago #

    I didn't try deleting and uploading the file. I just tried it and no go. I followed podz instructions to the letter, so yes, I did delete all files. :\

  4. lokrin
    Member
    Posted 9 years ago #

    I just upgraded about an hour ago. Everything was working fine then I got that same error:

    Warning: call_user_func_array(): First argumented is expected to be a valid callback, 'doGeoUrlHeader' was given in /home/lokrin/www/weblog/wp-includes/functions.php on line 929

    http://weblog.lokrin.net

    Searching functions.php says that the string "Geo" does not exist.

    Now, everything was ok until I started trying to add themes. Could it be something theme related?

  5. lokrin
    Member
    Posted 9 years ago #

    line 929 on my copy is:

    $postdata = array (

    below is the section it's in:

    // Setup global post data.
    function setup_postdata($post) {
    global $id, $postdata, $authordata, $day, $preview, $page, $pages, $multipage, $more, $numpages, $wp_query;
    global $pagenow;

    if (!$preview) {
    $id = $post->ID;
    } else {
    $id = 0;
    $postdata = array (
    "ID" => 0,
    "Author_ID" => $_GET["preview_userid"],
    "Date" => $_GET["preview_date"],
    "Content" => $_GET["preview_content"],
    "Excerpt" => $_GET["preview_excerpt"],
    "Title" => $_GET["preview_title"],
    "Category" => $_GET["preview_category"],
    "Notify" => 1
    );
    }

  6. Mark (podz)
    Support Maven
    Posted 9 years ago #

    Did you use the new file vars.php ?

    If you have modified your smilies, you can change JUST those in the new file

  7. scifiacid
    Member
    Posted 9 years ago #

    Yes, that was the problem. I just loaded my old vars in its entirety instead of just coping over the smilies. All fixed. Thanks.

  8. lokrin
    Member
    Posted 9 years ago #

    yeah, did the same here. thanks. :-*

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.