• I just activated Metacaster from Semiologic and I get this:

    Fatal error: Call to undefined function add_meta_box() in /home3/healthi3/public_html/wp-content/plugins/mediacaster/mediacaster-admin.php on line 35

    I looked up add_meta-box() and it’s supposed to be built-in to WordPress.
    Why is this happening?

    Any help would be greatly appreciated.

Viewing 1 replies (of 1 total)
  • I don’t know anything about Metacaster but add_meta_box() is defined in wp-admin/includes/template.php so the first thing that comes to mind is that Metacaster is calling the add_meta_box() function before WordPress includes template.php. You might be able to solve (probably more like brute-force) this by inserting something like the following before line 35 in mediacaster-admin.php:

    if (!function_exists('add_meta_box')) include('wp-admin/includes/template.php');

    On the other hand, you could conceivably trigger some other errors by doing this so watch out. If you do just delete the change.

    You are ultimately probably better served by taking a deeper look at Metacaster. What is Metacaster trying to do on line 35?

Viewing 1 replies (of 1 total)
  • The topic ‘Metacaster can’t find Add_Meta_Box()’ is closed to new replies.