Moqume / Background-Manager-WP

Background Manager is a powerful replacement for the default WordPress background manager.
http://j.mp/bgmwp
GNU General Public License v3.0
6 stars 3 forks source link

call to undefined function #4

Closed Moqume closed 12 years ago

Moqume commented 12 years ago

From http://wordpress.org/support/topic/plugin-background-manager-call-to-undefined-function

A really great background image plugin. But I get this error.

context: trying to import images in with NextGen uploader. selecting to only show background images for home page.

Here's my php error trace.

Fatal error: Call to undefined function Pf4wp\Menu\add_theme_page() in I:\xampp\htdocs\meredith\wp-content\plugins\background-manager\vendor\pf4wp\lib\Pf4wp\Menu\MenuEntry.php on line 255
Call Stack
# Time Memory Function Location
1 0.0009 334096 {main}( ) ..\index.php:0
2 0.0015 337896 require( 'I:\xampp\htdocs\meredith\wp-blog-header.php' ) ..\index.php:17
3 0.6173 22452496 require_once( 'I:\xampp\htdocs\meredith\wp-includes\template-loader.php' ) ..\wp-blog-header.php:16
4 0.6202 22461808 include( 'I:\xampp\htdocs\meredith\wp-content\themes\bdangtheme\page-about.php' ) ..\template-loader.php:43
5 0.6476 22537376 get_footer( ) ..\page-about.php:39
6 0.6476 22537752 locate_template( ) ..\general-template.php:63
7 0.6479 22537896 load_template( ) ..\theme.php:1091
8 0.6485 22546688 require_once( 'I:\xampp\htdocs\meredith\wp-content\themes\bdangtheme\footer.php' ) ..\theme.php:1115
9 0.6485 22546688 wp_footer( ) ..\footer.php:16
10 0.6485 22546744 do_action( ) ..\general-template.php:1587
11 0.6493 22548248 call_user_func_array ( ) ..\plugin.php:405
12 0.6493 22548264 wp_admin_bar_render( ) ..\plugin.php:405
13 0.6493 22548488 do_action_ref_array( ) ..\admin-bar.php:58
14 0.6620 22546048 call_user_func_array ( ) ..\plugin.php:486
15 0.6621 22546064 Myatu\WordPress\BackgroundManager\Main->onAdminBarMenu( ) ..\plugin.php:486
16 0.6668 22810872 Pf4wp\Menu\StandardMenu->display( ) ..\Main.php:860
17 0.6668 22810872 Pf4wp\Menu\MenuEntry->display( ) ..\StandardMenu.php:330
Moqume commented 12 years ago

This error is located where it creates a "fake" menu entry to update the front-end admin menu bar