Fatal Error occurred when upgrading to 3.7.1 (3 posts)

  1. berries
    Posted 2 years ago #


    My friend set up my website for me & then showed me how to maintain it - i.e. add pictures & change wording or layout. And I went in today to make some updates and noticed that the new version of Word Press was available, so I clicked on the link to upgrade it & the installation failed. And then I got the error below & my site is down

    Fatal error: Call to a member function register_handler() on a non-object in /home/mosberry/public_html/wp-includes/media.php on line 1304

    Can someone let me know what I need to do now? Or how I can revert back to the previous version? I've never set up a website on Word Press before, so I'm not sure what to do or what goes into it. Are there files on my friend's computer that are needed for the upgrade?

  2. berries
    Posted 2 years ago #


  3. grozniy
    Posted 2 years ago #

    this problem aslo actual for 3.8.1
    I solved it:
    add few lines to wp-settings.php

    require( ABSPATH . WPINC . '/date.php' ); // to 114 line
    require( ABSPATH . WPINC . '/revision.php' ); // to 125
    require( ABSPATH . WPINC . '/post-formats.php' ); // to 126
    require( ABSPATH . WPINC . '/class-wp-embed.php' ); // to 144

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.