You write a brief, select Generate, and watch the spinner. Thirty seconds pass. Then sixty. Then you get an error, or a blank result, or half an article. You try again with a shorter brief and it works. You try a long one and it fails again.
It is tempting to blame the AI provider. Usually the provider is fine. The request was cut off by your own server before the provider had a chance to answer.
This guide walks through why that happens with AI features in WordPress, how to tell a server limit from a provider problem in a couple of minutes, and the specific fixes that Generatify, the DaftPlug AI plugin, supports. The goal is simple: stop a WordPress AI generation timeout from eating long drafts.
Why long AI requests fail on shared hosting
Every time Generatify writes a post, a meta description, or a copilot answer, WordPress sends a request to your AI provider and waits for the reply. A short reply comes back in seconds. A long article on a slow model can take a minute or more.
Two separate clocks are running while WordPress waits:
- How long WordPress is willing to wait for the provider. Generatify allows up to three minutes, which its documentation says covers long generations on a slow model.
- How long your host lets any PHP request run at all. This is the PHP execution limit, and on shared hosting it is often 30 or 60 seconds.
If the second clock is shorter than the first, the host wins. The PHP process is stopped while it is still waiting for the provider, and you get a failure that looks like the AI broke.
The Generatify troubleshooting guide is specific about this: when generation starts and then fails partway, it is almost always your host’s PHP execution limit rather than the provider.
Rule out the other causes first
Before changing any limits, take two minutes to confirm it really is a timeout. The Generatify docs group most problems into three kinds: a feature that needs a provider and does not have one, a request that takes longer than your host allows, or a free feature behaving differently because it runs in the browser. Check them in that order.
1. Does the feature need a provider?
The copilot, content generation, meta descriptions, and helpdesk conversation mode all call an AI provider. Everything else in Generatify does not. If you are troubleshooting alt text, toxic comment checks, smart compose, or the page agent, none of this guide applies, because those run in the visitor’s browser. Their errors show up in the browser console, not in PHP.
2. Check the model selector
Go to Generatify > Chatbot and open the model selector at the bottom of the prompt box.
| What you see | What it means |
|---|---|
| Your provider listed | The key was accepted |
| No AI Model Available | No connector is enabled, or no key is saved |
| The model listed but requests fail | The key is saved but rejected, out of credit, or rate limited |
A common trap: the docs note that the connector toggle itself has to be on, not just the key filled in. If you see No AI Model Available after saving a key, check the toggle above the key field on Settings > Connectors and save again.
3. Check the provider dashboard
Out of credit, rate limited, and revoked key all look identical from inside WordPress. Generatify passes the provider’s error back, and the provider’s dashboard will tell you which of the three it is.
The tell-tale pattern of a timeout
If the model selector shows your provider, short requests succeed, and only long ones fail after roughly the same number of seconds every time, you are looking at an execution limit. A provider problem fails fast and fails on short requests too. A timeout fails slowly, and only on big jobs.
Fix 1: raise the limit at your host
The cleanest fix is the one the troubleshooting guide lists first: raise the limit at the host if you can.
How you do that depends on the host. Some expose a PHP settings screen in their control panel where you can raise max_execution_time. Others let you set it in a .user.ini or php.ini file. Some shared plans do not let you change it at all. If you cannot find the setting, ask support what the maximum execution time is on your plan and whether it can be raised.
Raising it to comfortably more than three minutes means the host no longer cuts off a request that Generatify is still willing to wait for.
Fix 2: tell Generatify how long to wait
Generatify exposes both clocks as filters, documented in its hooks reference.
generatify_ai_request_timeout
How many seconds to wait for a provider response. The default is 180.0, which is the three minutes mentioned above. You might lower it if you would rather fail fast than wait, or raise it for a very slow model.
generatify_ai_time_limit
The PHP execution limit Generatify sets for a copilot request. The docs explain that a copilot request needs headroom for the whole tool loop, not just a single call, so it defaults to four times the request timeout. The documented example:
add_filter( 'generatify_ai_time_limit', function ( $seconds ) {
return 300;
} );
Put filters like this in a small site-specific plugin or a code snippets plugin rather than your theme, so a theme update does not remove them.
There is an important limit to this, and the docs state it clearly: raising this does nothing if your host caps execution time above WordPress. A plugin can ask PHP for more time. It cannot override a hard limit enforced by the web server or the hosting platform. That is why Fix 1 comes first. If long generations are cut short, check the host limit before changing filters.
Fix 3: generate in parts
If you cannot raise the host limit, you can make each request smaller. This is the workaround the Generatify docs recommend for hosts that will not budge: generate content in parts.
In the block editor, AI content generation treats the title, the content, the featured image, tags, and categories as independent parts. Rather than asking for everything in one go, split the job:
- Title and body first. This is the biggest request, so give it a run on its own.
- Tags and categories next, from the body that now exists.
- The featured image last. Image generation is a separate request, and the slowest one to wait on.
Each request now has a much better chance of finishing inside the host’s limit. You also get to review the draft before spending a request on tags and an image, which is a better workflow anyway.
The same thinking applies to briefs. A brief asking for a 3,000 word guide with ten sections takes far longer to generate than one asking for a focused 1,000 word article. If your host is tight, write two focused posts rather than one enormous one.
Image generation has its own rules
Featured image generation fails for a different reason more often than a timeout. If the featured image control says no image model is available, the cause is the provider, not the clock. The docs are clear that image generation needs ChatGPT or Gemini. Claude and Kimi do not provide an image model. Connect one of those two on Settings > Connectors.
When image requests do run long, the separate generatify_image_request_timeout filter controls how long Generatify waits for them. Image generation is also, by a wide margin, the most expensive thing you can ask a provider to do, so it is worth generating one image deliberately rather than retrying in a loop.
Copilot conversations get slower and more expensive as they grow
The copilot has one more behaviour that looks like a timeout problem but is really a length problem. The troubleshooting guide explains that every message resends the whole conversation. A long chat means each new request is bigger than the last, takes longer to answer, and costs more.
When you change subject, start a new chat. It keeps requests short, keeps you inside the execution limit, and keeps provider bills predictable. Chat history is kept in your browser’s local storage, so starting fresh does not delete anything from your database.
Browser features fail differently
If the feature that is failing is one of Generatify’s free, browser-side tools, server timeouts are not the issue. Alt text generation, comment toxicity checks, smart compose, and the page agent run client-side.
The troubleshooting guide points at two things to check:
- The browser console. The error lives there, not in PHP logs.
- A strict content security policy. Browser-side models fail to load when a CSP blocks their script sources. Allow those sources in your policy.
Keep your key and your costs under control while you test
Troubleshooting means sending requests, and each one is billed by your provider, not by DaftPlug. The Generatify docs make a few points worth repeating:
- A license unlocks the connectors. It does not include AI usage. Your provider bills you for what you send.
- DaftPlug cannot see or cap your provider usage.
- Set a spending limit in the provider dashboard. It is the only hard ceiling that exists.
- Give each site its own key, so a compromised site can be cut off without disturbing the others.
We covered connecting and securing provider keys in more depth in Connect Your Own ChatGPT Claude Gemini or Kimi Key to WordPress AI.
Free and Pro
The connectors are Pro, which is why every Generatify feature that calls an AI provider is also Pro. That includes the copilot, AI content generation in the editor, and AI meta descriptions. The browser-side features, such as AI alt images and comment moderation, are free and do not need a key.
Pro is sold as the DaftPlug membership rather than as a single-plugin upgrade. One license unlocks Generatify together with Progressify, Lightify, Rankify, and Snapshotify, and plans differ only in how many sites you can activate. You can compare plans on the pricing page, which also covers the 14-day money-back guarantee.
Quick diagnostic checklist
- Confirm the failing feature actually calls a provider.
- Open Generatify > Chatbot and read the model selector.
- Check the provider dashboard for credit, rate limits, or a revoked key.
- If only long requests fail after the same number of seconds, it is the PHP execution limit.
- Raise
max_execution_timeat your host if you can. - Adjust
generatify_ai_request_timeoutandgeneratify_ai_time_limitonly after the host limit allows it. - Otherwise generate in parts: title and body, then tags and categories, then the featured image.
- Start a new copilot chat when you change subject.
Shared hosting and long AI generations can work together. You just need the server to wait as long as the provider needs, or ask for smaller pieces at a time.


