Troubleshooting WP-PageNavi: ERR_EMPTY_RESPONSE and Deletion Errors
Content
Users of the popular WP-PageNavi plugin occasionally encounter two specific and disruptive errors: an ERR_EMPTY_RESPONSE that breaks the site's admin area or a failure to delete the plugin, often on multisite installations. This guide will help you diagnose and resolve these issues.
Understanding the ERR_EMPTY_RESPONSE Error
This error typically manifests as a blank, non-loading screen in the browser, particularly affecting the WordPress admin area (like the Media Library). The error is often isolated to the WP-PageNavi plugin, as it can be consistently reproduced by activating and deactivating it. This suggests a fundamental conflict, often at the server level, triggered by the plugin's operation.
Fixing the ERR_EMPTY_RESPONSE Error
The most effective solution is to disable WP-PageNavi. Since you cannot access the WordPress admin dashboard, you must do this manually.
- Access your site via FTP/SFTP or your hosting provider's file manager.
- Navigate to the
/wp-content/plugins/directory. - Find the
wp-pagenavifolder. - Rename this folder to something like
wp-pagenavi_OFF. This will automatically deactivate the plugin and should restore access to your site immediately.
Understanding the "Deletion Failed" Error
This problem, frequently reported on WordPress multisite networks, prevents the plugin from being uninstalled through the standard admin interface. The error "Deletion failed: The site is experiencing technical difficulties" or "Internal Server Error" indicates that the server itself is blocking the automatic deletion process, not necessarily a fault of the plugin's code.
Fixing the "Deletion Failed" Error
The solution is to manually remove the plugin's files, which bypasses the problematic WordPress deletion routine.
- Access your server using an FTP/SFTP client or SSH.
- Navigate to the WordPress plugins directory at
/wp-content/plugins/. - Locate and delete the
wp-pagenavifolder entirely. This will remove the plugin and all its files from your system.
Note for Multisite: Manually deleting the files is the recommended method for completely removing a plugin from a multisite network, especially when it is not activated.
Next Steps
After resolving the immediate issue by disabling or deleting the plugin, it is highly recommended to check your server's PHP error logs. These logs can provide specific details about what caused the initial conflict or deletion failure, which can be invaluable for preventing similar issues with other plugins in the future. Your web hosting provider can typically assist you in locating these logs.
Related Support Threads Support
-
Causes numerous ERR_EMPTY_RESPONSEhttps://wordpress.org/support/topic/causes-numerous-err_empty_response/
-
Can’t Remove Pluginhttps://wordpress.org/support/topic/cant-remove-plugin-6/
-
To be deletehttps://wordpress.org/support/topic/pb-with-categories-display/
-
Remove plugin error multisitehttps://wordpress.org/support/topic/remove-plugin-error-multisite/