WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Just upgraded to 3.0.4 and...Fatal error? (3 posts)

  1. Max Sewell
    Member
    Posted 3 years ago #

    I get this error:

    Fatal error: Cannot redeclare is_rtl() (previously declared in /homepages/45/d94430377/htdocs/yodel/wp-includes/locale.php:347) in /homepages/45/d94430377/htdocs/yodel/wp-includes/locale.php on line 349

    The local.php scrap of code (lines 346-349) in question:

    function is_rtl() {
    global $wp_locale;
    return $wp_locale->is_rtl();
    }

    This page was replaced or revised with the update. Anybody got a clue as to what went wrong here?

    Thanks for any help you can give.

    Max

  2. esmi
    Theme Diva & Forum Moderator
    Posted 3 years ago #

    Try:
    - switching to the Twenty Ten theme by renaming your current theme's folder in wp-content/themes using FTP or whatever file management application your host provides.

    - resetting the plugins folder by FTP or phpMyAdmin.

    - re-running the upgrade manually using /wp-admin/upgrade.php.

  3. Max Sewell
    Member
    Posted 3 years ago #

    Thanks esme! In the end I took the "easy" way out and simply removed the calendar plugin:

    http://wordpress.org/support/topic/cannot-redeclare-is_rtl?replies=63

    Max

Topic Closed

This topic has been closed to new replies.

About this Topic