This post has UPDATES, below. For the super impatient, just go here http://smithsrus.com/downloads/wordpress-upgrade-preflight-check/ before you upgrade to 2.3.
wordpress 2.3 is now available for upgrade under one-click installs. as usual, exercising the patience of a few short days for the dreamhost dreamcrew to update the one-clicks is well worth the convenience gained, imho. :-)
alas, for the first time ever at dreamhost (well, for me anyway), this upgrade gave me a bit of a problem on blogs that had Ultra Tag Warrior installed. blogs w/o UTW upgraded flawlessly as usual, but two blogs with UTW resulted in the same error when attempting to complete the upgrade as directed by email. Namely, clicking on:
Important! Please visit http://domain.com/wp-admin/upgrade.php
to update your database tables! Otherwise, you may see database errors or missing entries.
Results in:
Fatal error: Cannot redeclare is_tag() (previously declared in /home/.server/username/domain.com/wp-includes/query.php:94) in /home/.server/username/domain.com/wp-content/plugins/UltimateTagWarrior/ultimate-tag-warrior.php on line 129
has anyone else seen this glitch?
as a quick guess, i tried renaming the incriminated plugin directory, but no joy just yet. of course, if i beat the forum to an answer, i'll be sure to post it.
i just went ahead and renamed the new directories to *.new grabbed the *.old directories to keep the old 2.2.3 version live for now; but i'd be very happy for any hints on how to fix this.
in the meantime, i'm guessing it might be wise to advise one-click-install fans to disable or remove UTW prior to this upgrade.
tia!
=== UPDATE ===
Okay, the super quick and super *ugly* fix got 'er done ... just commented out the offending line 129 and related dupe function.
/*
function is_tag() {
global $utw;
return (count($utw->GetCurrentTagSet()) > 0);
}
/*
Re-ran the upgrade.php and all went swimmingly. Next, I visited the Dashboard and selected Manage | Import and found Ultimate Tag Warrior in the list to Import Ultimate Tag Warrior tags into the new native tagging structure. Four clicks later, my UTW tags were all located and converted to the new native format -- dreamy! :-)
=== UPDATE #2 ===
If I'd read the blog first, I'd have seen the PRE-FLIGHT CHECK!
http://smithsrus.com/downloads/wordpress-upgrade-preflight-check/
Of course, not guarantees, but the site explains "Upgrade Preflight Check is a plugin that will attempt to check your other plugins and themes for problems that may cause errors when upgrading to WordPress 2.3. Run this before upgrading and it may save some headaches. It works in version 2.3 too and may be useful to help identify the cause of errors."Edited by silverton on 09/28/07 08:02 PM (server time).