• Resolved mbaierl

    (@mbaierl)


    About once a day I receive this error message:

    Error Details

    An error of type E_ERROR was caused in line 174 of the file /var/www/vhosts/…/wp-content/plugins/guest-author/guest-author.php. Error message: Uncaught Error: Call to undefined function remove_meta_box() in /var/www/vhosts/…/wp-content/plugins/guest-author/guest-author.php:174
    Stack trace: 0 /var/www/vhosts/…/wp-includes/class-wp-hook.php(324): BS_Guest_Author->remove_default_author_meta_box(Object(WP_Screen)) 1 /var/www/vhosts/…/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) 2 /var/www/vhosts/…/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 3 /var/www/vhosts/…/wp-admin/includes/class-wp-screen.php(424): do_action(‘current_screen’, Object(WP_Screen)) 4 /var/www/vhosts/…/wp-content/plugins/wp-health/src/Services/RequestSettings.php(143): WP_Screen->set_current_screen() 5 /var/www/vhosts/…/wp-content/plugins/wp-health/src/Core/Kernel.php(409): WPUmbrella\Services\RequestSettings->adminLoaded() 6 /var/www/vhosts/…/wp-includes/class-wp-hook.php(324): WPUmbrella\Core\Kernel::WPUmbrella\Core{closure}(”) 7 /var/www/vhosts/…/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) 8 /var/www/vhosts/…/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 9 /var/www/vhosts/…/wp-settings.php(722): do_action(‘wp_loaded’) 10 /var/www/vhosts/…/wp-config.php(180): require_once(‘/var/www/vhosts…’) 11 /var/www/vhosts/…/wp-load.php(50): require_once(‘/var/www/vhosts…’) 12 /var/www/vhosts/…/wp-blog-header.php(13): require_once(‘/var/www/vhosts…’) 13 /var/www/vhosts/…/index.php(17): require(‘/var/www/vhosts…’) 14 {main}

    thrown

    I know the function remove_meta_box is a core function and should exist, however it’s still called in a way where it does not.

    Please fix or advise.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Alexandru Tapuleasa

    (@talextech)

    No one reported this so far so it has to be something specific to your setup.

    I don’t have any ideas though, as you already mentioned remove_meta_box() is a core WordPress function but something could be loading just part of the WordPress files and somehow triggering Guest Author plugin but without having wp-admin/includes/template.php loaded. I see something about a WPUmbrella class. Maybe one of their scans or features does that somehow, I don’t know 🙁

    Hello, The same thing is happening to me. I think the issue may lie with WP Umbrella.

    Error Details

    An error of type E_ERROR was caused in line 174 of the file /home/customer/www/xxx/public_html/wp-content/plugins/guest-author/guest-author.php. Error message: Uncaught Error: Call to undefined function remove_meta_box() in /home/customer/www/xxx/public_html/wp-content/plugins/guest-author/guest-author.php:174

    Stack trace: 0

    /home/customer/www/xxx/public_html/wp-includes/class-wp-hook.php(324): BS_Guest_Author->remove_default_author_meta_box(Object(WP_Screen))
    1
    /home/customer/www/xxx/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
    2
    /home/customer/www/xxx/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    3
    /home/customer/www/xxx/public_html/wp-admin/includes/class-wp-screen.php(424): do_action('current_screen', Object(WP_Screen))
    4
    /home/customer/www/xxx/public_html/wp-content/plugins/wp-health/src/Services/RequestSettings.php(143): WP_Screen->set_current_screen()
    5
    /home/customer/www/xxx/public_html/wp-content/plugins/wp-health/src/Core/Kernel.php(409): WPUmbrella\Services\RequestSettings->adminLoaded()
    6
    /home/customer/www/xxx/public_html/wp-includes/class-wp-hook.php(324): WPUmbrella\Core\Kernel::WPUmbrella\Core{closure}('')
    7
    /home/customer/www/xxx/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
    8
    /home/customer/www/xxx/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    9
    /home/customer/www/xxx/public_html/wp-settings.php(726): do_action('wp_loaded')
    10
    /home/customer/www/xxx/public_html/wp-config.php(99): require_once('/home/customer/…')
    11
    /home/customer/www/xxx/public_html/wp-load.php(50): require_once('/home/customer/…')
    12
    /home/customer/www/xxx/public_html/wp-blog-header.php(13): require_once('/home/customer/…') 13

    /home/customer/www/xxx/public_html/index.php(17): require('/home/customer/…') 14

    {main}
    thrown

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘undefined function remove_meta_box()’ is closed to new replies.