• Dear all,

    I wanted to upgrade my 2.x version of WP via automatic upgrade, but somehow my whole installation got messed up. But it isn’t so bad, as I had like nothing important there.

    So I got rid of nearly all the files, moved the remaining ones into another folder and made a fresh install of WP 3.0.1. Then I just copied the values from wp-config.php

    But now I am at a dead end. No matter if I try to call up index.php or wp-admin/install.php I always get this message:

    Fatal error: Cannot redeclare is_admin() (previously declared in /var/www/[path-removed]/blog/wp-includes/load.php:566) in /var/www/[path-removed]/blog/wp-includes/query.php on line 99

    I cannot find what is wrong. Moreover, when I go to wp-includes and look up line 99 of query.php there is nothing but a comment and nothing about is_admin at all.

    I don’t get it. Do you have any suggestions?

Viewing 1 replies (of 1 total)
  • Download WordPress 3.0.1 files and reupload them via FTP. Also, if you are using theme, make sure that it is compatible with latest version of WordPress.

    – Kailash

Viewing 1 replies (of 1 total)
  • The topic ‘Problem with re-installation (declaration of is_admin function)’ is closed to new replies.