Divi AI Stuck on the Loading Animation: Causes and Fixes
Documented fixes for the endless spinner in Divi AI and the Divi 5 AI Agent, listed in order of likelihood.
Quick Answer
Clear the Divi CSS cache and every other cache layer, then enable Safe Mode in Divi → Support Center and test Divi AI again. These two steps isolate the most common causes of an endless spinner. If the spinner remains, confirm that the Elegant Themes username and API key are saved under Divi → Theme Options → Updates and that the Divi AI subscription is active.
Figures come from the Elegant Themes Help Center articles cited in this guide.
Divi AI covers two separate features. The first is the generator that appears as an icon inside Divi Builder fields and produces text, images, code and layouts. Elegant Themes states that it works in Divi 4.22 and later and in Divi 5. The second is the Divi AI Agent, a chat panel that exists only in the Divi 5 Visual Builder.
A spinner can stall in either feature, and the cause differs. The first task is to identify which feature fails. The table below maps each symptom to its most likely cause and to the matching fix.
| Symptom | Most likely cause | Where to go |
|---|---|---|
| Spinner never ends after a click on the Divi AI icon | Stale cache or a plugin conflict | Fix 1, Fix 2 |
| Builder loads slowly or shows a timeout message | Low PHP limits or a conflict | Fix 5, Fix 2 |
| Other builder actions, such as saving, also fail | Security plugin or server firewall | Fix 3 |
| Divi AI asks for authentication or returns nothing | Missing credentials or an inactive subscription | Fix 4 |
| Agent icon is missing | Divi 4 in use, or no Divi AI subscription | Agent section |
| Agent panel waits and nothing changes | Approval request or Ask mode | Agent section |
| Agent sign-in window does not open | Pop-up blocker | Agent section |
Five Layers Where the Spinner Can Stall
Each fix in this guide acts on one layer. The order below begins with the cheapest explanation and ends with the most technical one.
How These Fixes Were Verified
Every step below was matched against Elegant Themes Help Center articles, which are linked where they apply. Server values come from the official Divi Builder timeout guide. A step supported only by community reports carries the label community-reported.
Elegant Themes does not publish a memory value that is specific to Divi AI, so this guide does not claim one.
Fix 1: Clear Every Cache Layer
Elegant Themes advises clearing all caches after any update to a plugin, a theme or WordPress core, because scripts from different versions can conflict. Begin here. The step is quick and fully reversible.
| Layer | How to clear it |
|---|---|
| Browser | Open a private window, or clear cached images and files and reload the builder. |
| Divi static CSS in Divi 4 | Open Divi → Theme Options → Builder → Advanced. Clear the Static CSS File Generation files, or disable the option for the test. |
| Divi static CSS in Divi 5 | Open Divi → Theme Options and select Clear CSS Cache at the top right. |
| Caching plugin | Use Clear cache or Purge all. Clear the separate CSS and JavaScript caches if the plugin lists them. |
| Server cache | Use the Flush or Purge control in the hosting panel, or ask the host to do it. |
| CDN | Purge the cache from the CDN dashboard. |
Divi 5 writes much of the design into static CSS files, and a stale file can persist after an update. The Clear CSS Cache button removes those files so that Divi regenerates them. Elegant Themes describes the full sequence in its Divi 5 display issues guide.
Fix 2: Use Safe Mode to Find a Conflict
Safe Mode disables third-party plugins, child themes and custom code in the Theme Options integration areas. The change applies only to your current session, so visitors see the site as usual.
- Open Divi → Support Center and enable Safe Mode.
- Open a page in the builder and trigger Divi AI.
- If Divi AI responds, one of the disabled items is the cause. Disable Safe Mode and continue with the tests below.
- If the spinner still stalls, the cause lies elsewhere, so move to Fix 3.
Narrow the Cause
Elegant Themes lists three tests, and each one isolates a different item. Run them one at a time.
- Plugins: deactivate all plugins, confirm that the builder works, then activate them one by one and test after each.
- Child theme: open Appearance → Themes and activate the Divi parent theme.
- Custom code: remove the code placed in the Integration tab of Divi → Theme Options, then add it back in sections.
Community-reported: minification and script-combining options in optimization plugins are frequent sources of builder script errors. Test those options first when the plugin list is long.
Fix 3: Review Security Plugins and Firewalls
Security software sometimes blocks a valid builder request. Elegant Themes documents this for Wordfence, where the firewall can stop actions such as saving. The documented remedy is Learning Mode.
- Open Wordfence → Firewall and select Manage Firewall.
- Under Web Application Firewall Status, choose Learning Mode and save the changes.
- Repeat the Divi AI action. Return the firewall to its protecting state after the test.
The browser developer tools give a second signal. Open the Network tab, repeat the action and inspect any failed request. A 403 status indicates that a firewall rejected the request, while a 5xx status points to a server error.
Server-level rules such as ModSecurity are outside the WordPress dashboard, and only the host can review them. The same pattern, a security layer that rejects a legitimate request, also causes failed webhook payments, which our guide to the Contact Form 7 Stripe webhook failure explains.
Builder Timeout Instead of a Spinner?
Elegant Themes maintains a separate guide for the Divi Builder timeout error, including the server directives used in Fix 5.
Read the Divi Builder timeout guideFix 4: Check Credentials, Subscription and Roles
Divi AI is linked to an Elegant Themes account. A missing key or an inactive plan can leave the generator without a result.
- Username and API key: open Divi → Theme Options → Updates and compare both fields with the Elegant Themes account page under Account → Username and API Key. Remove any extra spaces. Elegant Themes advises that one API key exists and is enabled, and the account page can generate a new one. The steps appear in its API key guide.
- Subscription: Divi AI is sold as a monthly or yearly subscription, or it is included in Divi Pro, which is billed yearly. The free trial allows 100 uses and is tied to the Elegant Themes username.
- Roles: open the Divi Role Editor. A toggle there disables Divi AI for individual WordPress roles, so a missing icon for one user may be a role setting.
A copy of Divi that is not linked to a valid Elegant Themes account has no credentials to send. Our note on cracked AI tools describes the wider security risk of unlicensed software.
Free Trial Uses Consumed per Divi AI Action
Bar length shows the share of the 100 free uses. Source: Elegant Themes Help Center, “How to use Divi AI in Divi 5”. Once the trial ends, Divi asks for a Divi AI purchase.
Fix 5: Compare PHP Limits With the Official Minimums
A server that answers too slowly can end a request before it completes. Open Divi → Support Center → System Status and select Show Full Report. Yellow and red lights mark values that need attention.
| PHP directive | Elegant Themes minimum |
|---|---|
memory_limit | 128M |
post_max_size | 64M |
max_execution_time | 120 |
upload_max_filesize | 64M |
max_input_time | 60 |
max_input_vars | 1000 |
| PHP version | 8.0 or later |
Elegant Themes states that higher values improve performance. Most hosts change these directives from a control panel or a php.ini file.
memory_limit = 128M
post_max_size = 64M
max_execution_time = 120
upload_max_filesize = 64M
max_input_time = 60
max_input_vars = 1000
Some hosts block these overrides, and in that case a support request to the host is the only route. Elegant Themes notes that the PHP limits on its own Divi Hosting already meet these minimums.
Fix 6: Update Divi and Match the Feature to the Version
Elegant Themes recommends running the latest version of Divi. Divi AI text, image and code generation requires Divi 4.22 or later. The Agent requires Divi 5, so an older version cannot show it.
Create a backup before the update. Divi also keeps a version rollback option on the Updates tab of Theme Options, which restores an earlier release if a new one causes a fault.
Divi 5 AI Agent: Problems That Resemble Loading Errors
The Agent has its own troubleshooting page, and several of its states look like a frozen spinner. Elegant Themes documents each one.
| What you see | Documented cause | Action |
|---|---|---|
| No Agent icon in the toolbar | Divi 4 is active, or no Divi AI subscription exists | Update to Divi 5 and check the subscription |
| Message: “Divi AI sign-in could not be opened.” | The sign-in window did not open cleanly | Retry, and allow pop-ups for the site |
| Wallet balance shows $0 | The monthly balance arrives at the first Agent sign-in | Sign in once from the chat window |
| Agent answers but changes nothing | Ask mode cannot edit a page | Switch the mode toggle to Build |
| Agent waits and does nothing | An Approval Required message needs a reply | Select Approve or Reject |
| Attachment rejected | Unsupported type, or a size limit was exceeded | Use JPEG, PNG, TXT, HTML, CSV or font files within 15 attachments, 10MB per file and 5MB for text |
| Slow or weak answers | Model choice and reasoning effort | Change the model or the effort setting |
The Agent sends its requests to external AI models, which charge per request. For that reason a long conversation costs more than a short one, because the Agent pays again for everything already in the chat. Elegant Themes advises starting a fresh chat for each new job. For wider background on how assistants take actions through connected tools, and why approval prompts matter, see our guide to MCP with marketing tools.
What Divi AI Includes and What Is Metered
Elegant Themes describes Divi AI as one subscription with two billing models. The distinction explains why the Agent can run out of balance while the generator keeps working.
| Item | Billing |
|---|---|
| Text, image, code and layout generation in the builder, including Quick Sites | Unlimited, subject to the fair use policy |
| Divi AI Agent | Metered. A $5 balance resets on the renewal date, and unused funds do not roll over |
| Extra Agent usage | Funds added to the AI Wallet, shared across all sites on one Elegant Themes account |
| How to buy | Monthly or yearly, or inside Divi Pro (yearly only). No lifetime option |
Prices change, so the current figure belongs on the Elegant Themes pricing overview.
Strengths
- Generates text, images, code and layouts inside the builder
- Uses the site title, tagline and page content as context
- Saves generated images to the WordPress media library
- Covers unlimited sites under one Elegant Themes account
Limits
- Needs a paid plan after the 100 free uses
- Agent usage is metered after the $5 monthly balance
- Image prompts must be written in English
- Divi AI cannot be bought as a lifetime plan
Keep Work Moving During Troubleshooting
A deadline does not wait for a diagnosis. A page layout built elsewhere can be imported into Divi, and our ClonewebX review covers a cloning tool whose paid plans export to Divi. Readers who consider a different builder can compare options in the Framer review and in the roundup of the best vibe coding tools.
Image work can continue in an external generator while the fault is open. If that generator stalls as well, the Midjourney troubleshooting guide lists the usual causes.
When None of the Fixes Work
- Open the Elegant Themes status page to see whether an incident is active.
- Enable WordPress debug logging and read the log from the Divi Support Center. Elegant Themes provides a debug mode guide for the setup.
- Copy the System Status report from Divi → Support Center → System Status → Copy Full Report.
- Send the report to Elegant Themes support with a list of the tests already completed.
The Support Center also contains a Remote Access toggle. It gives the support team secure access to the site for up to four days, and only a WordPress administrator can enable it.
Still Stuck After Every Fix?
Send the System Status report and your test notes to Elegant Themes support.
Contact Elegant Themes SupportFAQ
Why is Divi AI stuck on the loading animation?
The most common causes are a stale cache, a plugin or child theme conflict, a security rule that blocks a request, a missing API key or inactive subscription, and PHP limits below the Elegant Themes minimums.
Does Safe Mode affect site visitors?
No. Safe Mode applies only to the current user session, so visitors see the normal site.
Does Divi AI work in Divi 4?
Text, image and code generation works in Divi 4.22 and later. The Divi AI Agent requires Divi 5.
Is Divi AI included with a Divi membership?
No. Divi AI is a separate monthly or yearly subscription, or it is part of Divi Pro. A free trial of 100 uses is available, and it does not apply to the Agent.
What are the minimum PHP values for Divi?
Elegant Themes lists memory_limit 128M, post_max_size 64M, max_execution_time 120, upload_max_filesize 64M, max_input_time 60 and max_input_vars 1000, with PHP 8.0 or later.
Why does my Agent balance show $0?
The monthly balance is credited the first time you sign in to the Agent inside the Divi 5 builder. Sign in once and the balance should appear.
Can I buy Divi AI as a lifetime plan?
No. Elegant Themes offers Divi AI only as a monthly or yearly subscription, or inside Divi Pro.
Conclusion
An endless Divi AI spinner has a short list of causes, and the order of the tests matters. Clear the caches first, then use Safe Mode to find a conflict. After that, review the firewall, the API key and subscription, the PHP limits and the Divi version.
For the Divi 5 Agent, read the symptom first. An approval prompt, Ask mode or a blocked pop-up accounts for many cases that resemble a freeze. If the fault remains, the System Status report gives Elegant Themes support the data it needs.