1. Sidebar Not Showing #
If the Davix AI Writer sidebar doesn’t appear:
- Pro License
- Confirm you have a Pro license active. Without Pro,
aiWriter.phpreturns early and the module is disabled.
- Confirm you have a Pro license active. Without Pro,
- Role Access
- Go to Davix AI Engine → AI Writer and confirm your role is allowed in
davix_aiwriter_settings.
- Go to Davix AI Engine → AI Writer and confirm your role is allowed in
- Capability
- Ensure you can edit the post.
- Caches
- Docs explicitly say:
- “Clear editor and browser caches after enabling AI Writer to ensure assets load.”
- Docs explicitly say:
2. Requests Failing or Returning Errors #
Docs recommend:
- Turn on Debug Logs for AI Writer:
Step-by-step:
- Go to Davix AI Engine → Debug Logs.
- Enable debug_aiwriter_enabled.
- Save.
- Reproduce the issue:
- Open editor, trigger a draft/rewrite.
- Return to Debug Logs and click View log.
- Inspect the AI Writer log for:
- REST errors.
- OpenAI API errors.
- Permission issues.
3. Insert Behavior Not Doing What You Expect #
If AI-generated text is appearing in unexpected places:
- Check the post’s per-post overrides:
_davix_aiwriter_overrides.insert_behavior.
- Adjust the insert behavior in the AI Writer sidebar’s post settings panel, if exposed.
- Save the post and try again.
4. Tokens, Length, and Cost Control #
Docs define both global token limits and per-post max_tokens + target_length.
Good practice:
- Use a reasonable global max tokens.
- For large posts where you need more detail:
- Increase only that post’s
max_tokens.
- Increase only that post’s
- For short snippets:
- Lower
max_tokensandtarget_lengthper post to avoid over-generation.
- Lower
5. Security & Role Restrictions #
Docs advise:
- “Restrict AI Writer to necessary roles only (e.g., editors & admins).”
This prevents:
- Overuse by many contributors.
- Inconsistent AI content produced by users who may not understand brand/tone.
6. Media Helper Issues #
If image/alt-text helpers are not visible:
- In Davix AI Engine → AI Writer:
- Ensure media helper flags are enabled.
- Confirm that:
class-davix-image-controller.phpis loaded (Pro active).
- Use Debug Logs if requests to image endpoints fail.
image IMAGE PLACEHOLDER: Screenshot of Debug Logs with the AI Writer channel enabled, showing example entries for AI Writer requests. IMAGE image

