• Resolved timmelody

    (@timmelody)


    Hi there,

    I am in the process of transferring a WordPress site from a Godaddy VPN to a regular Godaddy shared hosting account.

    WordPress version is 4.1.1

    After the migration I am currently getting this error:

    Fatal error: Call to undefined function wp_embed_register_handler() in /home/. . . . wp-includes/media.php on line 2235

    I have looked at other threads on the issue and they refer to older versions of WordPress and so far have not helped find the issue, and none that I can find describe it in relation to a migration. So I am wondering if the issue might be there – something not transferred or “hooked up” correctly.

    Here are the steps I followed:

    FROM VPN site:
    1.Using FTP I backed up all the files to my computer. These were all the files in my “public_html” directory. Nothing outside of it seemed needed, but could I possible be wrong about this?
    2.Using PHPMyAdmin I also backed up the Database

    Shared Hosting Acct
    This was already set up for the site from years previously.
    3.Cleared the entire directory entirely.
    4.Performed fresh install of WordPress 4.1.1.
    5.Uploaded all the backed up files from the VPN, overwriting everything from the fresh install.
    6. Imported the database backup via PHPMyAdmin
    7. Edited wp-config.php to properly connect with the database.

    Any ideas why I could be getting this error and how to fix it?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator James Huff

    (@macmanx)

    Try manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, access your server via FTP or SFTP, navigate to /wp-content/themes/ and rename the directory of your currently active theme. This will force the default theme to activate and hopefully rule-out a theme-specific issue (theme functions can interfere like plugins).

    Thread Starter timmelody

    (@timmelody)

    Hi there and thanks for the tips.

    I have tried all of these and to no avail. I have also gone ahead, two times, and tried to manually reset/rule-out plugins one by one, but still to no avail.

    Moderator James Huff

    (@macmanx)

    Ok, try downloading WordPress again and delete then replace your copies of everything except the wp-config.php file and the /wp-content/ directory with fresh copies from the download. This will effectively replace all of your core files without damaging your content and settings. Some uploaders tend to be unreliable when overwriting files, so don’t forget to delete the original files before replacing them.

    Thread Starter timmelody

    (@timmelody)

    IT WORKED!!!

    One tip, perhaps for future readers with similar issues . .

    I deleted then replaced with fresh and new wp-admin, wp-includes and all the other files that go in the root, but was still getting an error, this time from the wp-includes/formatting.php . . . so I simply deleted that file alone and then replaced in afresh. That’s what brought the site back. So for future reference, perhaps just start with the file where the error is coming from – delete and then replace afresh.

    That said, I am fairly certain I did do just exactly that when the error was coming from media.php originally and it didn’t work. So try your luck. But ultimately following the above path of action worked for me.

    Thank you James Huff!

    Thread Starter timmelody

    (@timmelody)

    PS – Your tip about upload/overwriting being sometimes unreliable I think is significant. I am using FileZilla and normally haven’t had a problem. But I did just get this feeling, during this procedure of

    – overwriting a fresh install with
    – all the old, backed up, migrated site files

    that somewhere, somehow maybe everything didn’t quite go off without a hitch in this regard.

    Who knows, but for future readers of this thread, consider the above advice when encountering possible errors.

    Moderator James Huff

    (@macmanx)

    You’re welcome!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Error: Call to undefined function wp_embed_register_handler()’ is closed to new replies.