WordPress.org

Ready to get started?Download WordPress

Forums

Theme My Login
[resolved] V6.0 wdbj_tml_get_option() error killed site (2 posts)

  1. TomBrien
    Member
    Posted 3 years ago #

    Immediatley after installing version 6 My whole site has gone down all pages now produce an error stating:

    Fatal error: Call to undefined function wdbj_tml_get_option() in /homepages/44/d215074018/htdocs/fencing/wp-content/themes/piano-black/functions.php on line 49

    website is http://www.cardiffunifencing.co.uk

    Thanks very much appreciated
    Tom

    http://wordpress.org/extend/plugins/theme-my-login/

  2. Jeff Farthing
    Member
    Plugin Author

    Posted 3 years ago #

    That is because wdbj_tml_get_option() is no longer a function, like the error says.

    Apparently, you have some custom code in your theme's functions.php file that used the function. You would need to replace the function with a call to the global TML object, like so:

    global $Theme_My_Login;
    
    $Theme_My_Login->get_option( 'whatever_option_you_want' );

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic