Support » Fixing WordPress » wp-includes errors in 3.5.1 upgrade

  • Resolved ecass7


    I’ve just downloaded the 3.5.1 zip file and followed the instructions ( for the manual upgrade (automatic upgrade wouldn’t work for me, even with php5). When I upload the wp-includes directory I get the following message from net2ftp:

    Warning: ftp_mkdir() [function.ftp-mkdir]: 5745 Kbytes used (0%) – authorized: 1536000 Kb in /home/mainhost/public_html/file-manager/includes/ on line 986

    For reference, I have replaced wp-admin and wp-includes directories and manually replaced the necessary files in wp-content. I have also renamed my current theme to include “-old” as per esmi’s instructions in various other posts addressing users with similar problems. Unfortunately, none of those resolutions seem to work for me. I have tried reuploading multiple times, but when I try to access the login for my site I get this message:

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

    When I look to the media.php file lines 951-954 it reads:
    function wp_embed_register_handler( $id, $regex, $callback, $priority = 10 ) {
    global $wp_embed;
    $wp_embed->register_handler( $id, $regex, $callback, $priority );

    I’m fairly new to php so I really have no clue at all what is going wrong. My site is:

    I’d really appreciate any help provided, thanks!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • esmi


    Forum Moderator

    You seem to have a corrupt or faulty upload. Try re-uploading all files & folders – except the wp-content folder – from a fresh download of WordPress. Make sure that you delete the old copies of files & folder before uploading the new ones.

    After a fresh download of 3.5.1, deleting all files and folders (except wp-content) and then uploading the new copies I still get this error message:

    Warning: ftp_mkdir() [function.ftp-mkdir]: 5772 Kbytes used (0%) – authorized: 1536000 Kb in /home/mainhost/public_html/file-manager/includes/ on line 986

    BUT! The upgrade still worked! Thanks a bunch for the help and quick reply 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘wp-includes errors in 3.5.1 upgrade’ is closed to new replies.