Hello,
Thank you for contacting Rank Math support. We’re sorry to hear that you are having trouble removing our plugin from your site.
There are a few possible reasons why you might encounter the “Failed deletion” error when trying to delete a WordPress plugin. To fix this error, you can try the following methods:
- Delete the plugin using FTP. Connect to your WordPress site via SFTP, browse to your /wp-content/plugins/ folder, and then delete the plugin folder from your server. This method bypasses the WordPress dashboard and allows you to manually remove the plugin files. You can find more details on how to do this in this article.
- Access your server with an SSH client and delete the affected folder and files. This method is similar to the FTP method, but it requires some technical skills and access to your server’s command line. You can find more details on how to do this in this article.
If for some reason, this does not work or you’d prefer to delete it from the WordPress dashboard – then to be able to help troubleshoot this, we’ll need to see your debug log to understand what is causing the error on your website. The debug log is a file that records any errors or warnings that occur on your site. It can help us identify and fix the problem faster.
To share your debug log with us, please follow these steps carefully:
- Open your wp-config.php file. You can find it in the root folder of your site, usually in /public_html/ or /www/.
- Before the line that says /* That’s all, stop editing! Happy blogging. */, add this code:
// Enable WP_DEBUG mode
define( 'WP_DEBUG', true );
// Enable Debug logging to the /wp-content/debug.log file
define( 'WP_DEBUG_LOG', true );
// Disable display of errors and warnings
define( 'WP_DEBUG_DISPLAY', false );
@ini_set( 'display_errors', 0 );
This code will enable the debug mode and create a debug.log file in the /wp-content/ folder of your site.
- Go to your website and try to perform the action that caused the error again, i.e. try deleting the plugin again. This will trigger the error and generate the debug.log file.
- Go to the /wp-content/ folder of your site and look for the debug.log file. It should contain some information about the error that occurred.
- Send us a copy of the debug.log file. You can use a service like wetransfer.com or pastebin.com to upload it and share the link with us.
We hope these instructions are clear and easy to follow. If you have any difficulty or questions, please let us know. We’re here to help you.
Thank you for using Rank Math. We hope to hear from you soon.
Hello,
Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.
If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.
Thank you.