Support » Fixing WordPress » "Fatal error: Call to undefined function get_option_tree()"

  • I recently updated my version of wordpress, and when loading the webpage ww.oifs.org with the theme ‘Conference’, I get the message:
    “Fatal error: Call to undefined function get_option_tree() in /home/ouifs/public_html/wp-content/themes/Conference/header.php on line 19”

    For the moment, I have reverted to an old theme (Twenty Ten) so that the site stays functional.

    When I edit ‘header.php’ in the Conference theme and remove the faulty code (shown below), the site works, but no header at all is shown. I am keen to get back to the Conference theme, but it is a choice between the site not working at all, or not having any header at all.

    The relevant code is:

    <?php if ( get_option_tree('theme_skin') ) { ?>
    	<link rel="stylesheet" type="text/css" href="<?php bloginfo('template_url'); ?>/skins/<?php get_option_tree('theme_skin', '', true); ?>/<?php get_option_tree('theme_skin', '', true); ?>.css" media="screen" />
    	<?php } else {} ?>

    Is there any way to edit this code (or ‘functions.php’) so that the website works, and retains the header?

  • The topic ‘"Fatal error: Call to undefined function get_option_tree()"’ is closed to new replies.