WordPress.org

Ready to get started?Download WordPress

Forums

Oops! I broke it! (Widget Admin Page!) (6 posts)

  1. Barfly
    Member
    Posted 6 years ago #

    Hello,

    I was trying to customise my widget page (as in the one in wp-includes),and I over wrote my wp-admin/widget.php page with the wp-includes/widget.php page, accidentaly... Then uploaded the 2.1 wp-admin/widget.php wordpress version to wp-admin/widget.php.. Now - I just realised and uploaded the 2.5 version to the wp-admin folder from my upgrade package.

    And now on my widget admin page, I get the following error:

    Fatal error: Call to undefined function: wp_widget_description() in /home/twisted/public_html/wp-admin/includes/widgets.php on line 127

    This is after the 'sideblog' plug in.

    Nothing else displays after this error.

    Any one got a clue?

  2. Barfly
    Member
    Posted 6 years ago #

    If I disable sideblog plug in, I get this error:

    Warning: array_search() [function.array-search]: Wrong datatype for second argument in /home/twisted/public_html/wp-admin/includes/widgets.php on line 85

    Then the heading 'pages'

    Then this error again:

    atal error: Call to undefined function: wp_widget_description() in /home/twisted/public_html/wp-admin/includes/widgets.php on line 127

  3. Samuel Wood (Otto)
    Tech Ninja
    Posted 6 years ago #

    Delete the wp-admin and wp-includes directories and reupload them from a fresh copy of 2.5.

    It's the only way to be sure.

  4. Barfly
    Member
    Posted 6 years ago #

    I dunno why I didn't think of doing that.

    Thank you.

  5. JohnPeal1
    Member
    Posted 6 years ago #

    Excuse me joining this thread - I asked an acquaintance to set up a website (www.yellingvillage.co.uk) for me using WordPress. It has been live for a couple of months and content has been added successfully. Last night it was still working perfectly OK, but tonight it has crashed. Nothing. How do I get it 'reset'?!! Any help welcome!

  6. Barfly
    Member
    Posted 6 years ago #

    The only thing I can think of is firstly disabling all of your plugins, then backing up your database, and then upgrading your wordpress to the latest version, which might fix any bugs and kinks...

    Perhaps someone else could help if you were more specific... for example what exactly isn't working, the admin panel? no posts displaying? a php error on your homepage?

Topic Closed

This topic has been closed to new replies.

About this Topic