WordPress.org

Support

Support » How-To and Troubleshooting » doGeoUrlHeader problem

doGeoUrlHeader problem

  • 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.

Viewing 7 replies - 1 through 7 (of 7 total)
  • 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?

    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. :\

    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?

    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
    );
    }

    Did you use the new file vars.php ?

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

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

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘doGeoUrlHeader problem’ is closed to new replies.
Skip to toolbar