• danrancan

    (@danrancan)


    I am trying to delete the Jetpack Boost plugin, but am having problems with query monitor blocking the deletion.

    When I go to the plugins panel, and select “Delete” underneath the Jetpack Boost plugin, I get the following error at the top of my admin panel:

    Deletion failed: {"success":true,"data":{"delete":"plugin","slug":"jetpack-boost","plugin":"jetpack-boost\/jetpack-boost.php","pluginName":"Jetpack Boost"}}

    Then the Jetpack Boost Plugin shows “Activate?|?Deleting…” options underneath it. So without refreshing, I hit the “Deleting…” link and get the following different error:

    Deletion failed: .wp-die-message { display: none; } Fatal error: Uncaught Error: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function "Automattic\Jetpack_Boost\jetpack_boost_uninstall" not found or invalid function namein /var/www/danran.rocks/wp-includes/class-wp-hook.php on line 324Call stack:WP_Hook::apply_filters()wp-includes/class-wp-hook.php:348WP_Hook::do_action()wp-includes/plugin.php:517do_action()wp-admin/includes/plugin.php:1340uninstall_plugin()wp-admin/includes/plugin.php:972delete_plugins()wp-admin/includes/ajax-actions.php:4766wp_ajax_delete_plugin()wp-includes/class-wp-hook.php:324WP_Hook::apply_filters()wp-includes/class-wp-hook.php:348WP_Hook::do_action()wp-includes/plugin.php:517do_action()wp-admin/admin-ajax.php:192Query MonitorThere has been a critical error on this website.Learn more about troubleshooting WordPress.

    The second to last line do_action()wp-admin/admin-ajax.php:192Query Monitor seems to indicate this is caused by Query monitor being active.

    When I deactivate Query Monitor and then try to delete the Plugin, it works and deletes perfectly. So the issue is definitely with Query Monitor.

    Below are my system Specs:

    • OS: Ubuntu 22.04 Server
    • Web Server: Nginx 1.25.5 Mainline
    • PHP: 8.1.2-1ubuntu2.15
    • WordPress Version: 6.5.2

    How can I fix this immediately, and can you implement a fix in an update that fixes this in the near future? Thanks.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    Thanks for the report. The underlying problem looks to be caused by Jetpack Boost which is attempting to call the jetpack_boost_uninstall() function which doesn’t exist. Without Query Monitor enabled, the error simply gets swallowed.

    Can you report the issue to Jetpack Boost? In the meantime I will take a look to see how to handle this better in Query Monitor.

Viewing 1 replies (of 1 total)
  • The topic ‘Query Monitor won’t let me delete plugins.’ is closed to new replies.