undefined function remove_meta_box()
-
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.
- You must be logged in to reply to this topic.