Viewing 7 replies - 1 through 7 (of 7 total)
  • try deleting your .htaccess file and your wp cache

    I am upgrading from 2.02 to 2.04 and getting this error when trying to upgrade:

    Fatal error: Call to undefined function: wp_get_referer() in wp-admin/upgrade.php on line 70

    Line 70 is: $goback = wp_specialchars(wp_get_referer());

    I tried reinstalling the wp-admin and the wp cache is deleted but I am still getting this error. Anyone know why? I am totally stumped.

    Thread Starter newsaga

    (@newsaga)

    joshuagatcke – thanks for the suggestion, I tried deleting both and it still doesn’t work.

    I have this problem too. My site displays OK (https://alllanwood.co.uk) but I get the error you describe plus:

    Fatal error: Call to undefined function: wp_get_referer() in /homepages/45/d119121075/htdocs/allanwood/gawp/wp-admin/edit-form-advanced.php on line 214

    at the bottom of wp-admin/post.php

    HELP!

    I’m running WordPress and receive the same error when I go to ../php-admin/upgrade.php:
    Fatal error: Call to undefined function: wp_get_referer() in www\jonathan\wp-admin\upgrade.php on line 70

    I installed a clean 2.0.4 in another place on my shared-hosted server (with different database tables) and that install worked fine.

    Now I see the “Fatal error: Call to undefined function: wp_get_referer()” message all over the admin portion of my site (the one I upgraded), just referring to different line numbers.

    Does anyone know what the wp_get_referer() does? I searched through all the files on my site and could not find any text of ‘wp_get_referer’, though I may be looking for the wrong thing.

    I had the same problem. This is what I did. Removed the cache. Downloaded the latest version (I had it allready from a few weeks back, but downloaded it again). Then I just copied all the files over the files that were there and it worked.

    An update to my previous post: I had to delete everything and then re-upload the 2.0.4 version and it then let me do the upgrade page, so I think I’m good to go.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Upgraded to 2.0.4 and get fatal error’ is closed to new replies.