Issue with Rank math

nemon

Newbie
Joined
Feb 2, 2026
Messages
8
Reaction score
1
I'm receiving these emails from WordPress saying Rank Math SEO PRO caused a fatal error. The issue is that I removed Rank Math weeks ago, but I still keep getting these emails. Can someone help me understand why this is happening and how to stop it?



WordPress has a built-in feature that detects when a plugin or theme causes a fatal error on your site.


In this case, WordPress reports an error with:


Plugin: Rank Math SEO PRO
Version: (was installed previously; now removed)


It also references a temporary file created by WordPress:




/deleteme.wpXXXXXXXXXXXX.php


WordPress also generates a recovery-mode link, but I’m not including it here for security reasons.



Details WordPress provided:


  • WordPress version: (same as my site)
  • Active theme: Twenty Twenty-Four
  • Plugin involved: Rank Math SEO PRO (even though it's uninstalled)
  • PHP version: (from the email)


My problem:


I removed Rank Math completely from:


  • Plugins list
  • wp-content/plugins
  • Database (cleanup plugin used)

But these fatal error emails still appear every few days.
 
Last edited:
We can't tell until we see the actual error details. BTW you can put that in ChatGPT and it will help you resolve it
 
We can't tell until we see the actual error details. Besides you can put that in ChatGPT and it will help you resolve it
Here are the error details:
Error Details
=============
An error of type E_ERROR was caused in the file:
wp-content/plugins/seo-by-rank-math-pro/includes/class-modules.php on line 31

Error message: Uncaught Error: Class "MyThemeShop\Helpers\Conditional" not found

Stack trace:
#0 wp-content/plugins/seo-by-rank-math-pro/rank-math-pro.php(238): RankMathPro\Modules->__construct()
#1 wp-content/plugins/seo-by-rank-math-pro/rank-math-pro.php(121): RankMathPro->instantiate()
#2 wp-includes/class-wp-hook.php(341): RankMathPro->setup()
#3 wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters()
#4 wp-includes/plugin.php(522): WP_Hook->do_action()
#5 wp-content/plugins/seo-by-rank-math/rank-math.php(188): do_action()
#6 wp-content/plugins/seo-by-rank-math/rank-math.php(164): RankMath->setup()
#7 wp-content/plugins/seo-by-rank-math/rank-math.php(542): RankMath::get()
#8 wp-content/plugins/seo-by-rank-math/rank-math.php(546): rank_math()
#9 wp-settings.php(560): include_once()
#10 wp-config.php(104): require_once()
#11 deleteme.wpXXXXXXX.php(32): include_once()
#12 {main} thrown

I have tried with GPT ho nelp there.
 
This file should not exists
wp-content/plugins/seo-by-rank-math-pro/includes/class-modules.php

infact this folder should not exist
wp-content/plugins/seo-by-rank-math-pro/
If they dont then some where the error log exists and the emailer reads the error log and sends the email.
delete the error log file or rename it
delete the debug log file or rename it
find and rename deleteme.wpXXXXXXX.php or delete it
delete the .maintenance if it exists
 
This file should not exists
wp-content/plugins/seo-by-rank-math-pro/includes/class-modules.php

infact this folder should not exist
wp-content/plugins/seo-by-rank-math-pro/
If they dont then some where the error log exists and the emailer reads the error log and sends the email.
delete the error log file or rename it
delete the debug log file or rename it
find and rename deleteme.wpXXXXXXX.php or delete it
delete the .maintenance if it exists
I have checked no such files exist, that advice i got from GPT so i tought maybe someone had the same issue.
 
Happens when cron jobs or leftover hooks still call the old plugin code even if files are gone wordpress keeps scheduled tasks till you clear them.
 
It looks like a plugin file or dependency might be missing or corrupted, so you may want to double-check that the Rank Math Pro plugin is properly installed and fully updated. Try disabling and re-enabling the plugin, or reinstalling it from a trusted source to restore the missing class file. If the issue continues, reaching out to the plugin support or reviewing your server file integrity could help resolve the error.
 
Back
Top