Hello @rose18,
Thank you for contacting Rank Math support.
Please navigate to WP Dashboard > Rank Math SEO > Status & Tools > System Status > Copy System Info to Clipboard and share it with us so we can check this further.
Looking forward to helping you.
This does not look like a Rank Math setup failure first. The message says Elementor is enqueueing a script with missing registered dependencies:
elementor-ai-media-library
depends on:
elementor-v2-ui
elementor-v2-icons
Check in this order:
- Confirm whether
WP_DEBUG_DISPLAY is enabled. If yes, disable display on production so notices do not render in the admin UI.
- Update Elementor and Elementor Pro together, not one without the other.
- Temporarily disable Elementor AI-related features/addons and reload the Rank Math setup wizard.
- Check browser console/network tab to see whether the wizard actually fails or whether this is only a PHP notice being displayed above the page.
Do not change SEO settings yet. First isolate whether this is just debug output or a real JS dependency failure.
Thread Starter
rose18
(@rose18)
thank you @wpfixpath @jaideeprm
When I disabled Elementor Pro AI features (Users > Profile > scroll down to the “Elementor AI” section, and uncheck “Enable Elementor AI functionality”) and went to the wizard setup page, the error does not show up anymore.
Although I don’t use the AI features, but in the future if I need to enable it back, the error will show up.
Is there a way to fix it?
Thank you!
That confirms the issue is coming from the Elementor AI asset loading path, not from the Rank Math setup wizard itself.
The notice says this script is being enqueued:
elementor-ai-media-library
but its dependencies are not registered:
elementor-v2-ui
elementor-v2-icons
So there are two separate things here:
- Workaround
Keeping Elementor AI disabled is the safe workaround if you are not using those features.
- Actual fix
The real fix needs to happen in the Elementor/Elementor Pro side: the AI feature should not enqueue a script whose dependencies are missing, or it should only enqueue those assets on screens where the dependencies are available.
I would also check these before reporting it:
- Elementor and Elementor Pro are both updated together
- no mixed old/new Elementor versions
- no admin asset optimization/minification plugin is changing script loading
- no custom code is deregistering Elementor admin scripts
If all of that is clean, I would report it to Elementor/Elementor Pro support with the exact notice and mention that it appears when Elementor AI is enabled on the Rank Math setup wizard screen.
Separately, if this is a production site, make sure PHP notices are not displayed in the admin/browser output. That does not fix the missing dependency, but it prevents debug notices from being printed into admin screens.