WordPress.org

Support

Support » How-To and Troubleshooting » Fatal error: Call to a member function register_handler(). Help?!

Fatal error: Call to a member function register_handler(). Help?!

  • Hi

    I just updated to the latest version of word press after having an outdated version for some time, i cannot access my site or wpadmin either now and just get the following error messege

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

    any help would be appreciated, thanks!

    1296-1305 is as follows

    /**
     * Register an embed handler. This function should probably only be used for sites that do not support oEmbed.
     *
     * @since 2.9.0
     * @see WP_Embed::register_handler()
     */
    function wp_embed_register_handler( $id, $regex, $callback, $priority = 10 ) {
    	global $wp_embed;
    	$wp_embed->register_handler( $id, $regex, $callback, $priority );
    }
Viewing 3 replies - 1 through 3 (of 3 total)
  • esmi

    @esmi

    Forum Moderator

    Try:
    – switching to the default theme by renaming your current theme’s folder inside wp-content/themes and adding “-old” to the end of the folder name using FTP or whatever file management application your host provides.

    resetting the plugins folder by FTP or phpMyAdmin.

    – re-uploading all files & folders – except the wp-content folder and the wp-config.php & root .htaccess files – from a fresh download of WordPress. Make sure that you delete the old copies of files & folder before uploading the new ones.

    – running the upgrade manually via wp-admin/upgrade.php

    thanks, have tried switching to default as i saw that in the previous topic. resetting plugins didnt seem to work either

    as for re-uploading all my files and folders, there is no option to upload folders only individual files one at a time through cpanel.

    i cant access wpadmin to upgrade manually.

    is there anything else i could try?

    WPyogi

    @wpyogi

    Forum Moderator

    as for re-uploading all my files and folders, there is no option to upload folders only individual files one at a time through cpanel.

    if Cpanel won’t work well, set up and use FTP to access your site files – ask your hosts for your FTP access info and see:

    http://codex.wordpress.org/FTP_Clients

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal error: Call to a member function register_handler(). Help?!’ is closed to new replies.