GoBuildWP

Troubleshooting use case

Diagnose WordPress errors with AI, from the log to the cause.

AI WordPress troubleshooting starts with evidence, not guesses. GoBuildWP Free lets an AI client read the PHP fatal errors WordPress recorded, with the plugin or theme each one came from, plus Site Health results and overdue scheduled events. The client names the likely cause and proposes one fix; anything that changes the site waits for your confirmation and lands in the change ledger.

GoBuildWP Free, Works in Claude Code, Runs under Production Safe, Pricing

Illustrative ability sequence for GoBuildWP Free 1.21.0. IDs, results and recovery outcomes are examples, not a recorded client or WordPress test. Select Read Only explicitly for the initial reads; Production Safe is the default. Connection management requires manage_options on a single site or superadmin on multisite.

The problem

"A critical error" tells you nothing. The log tells you which plugin

When a WordPress request hits a PHP fatal error, visitors get a one-line apology and the details go elsewhere: an email to the admin address, a debug log that may be switched off, or nowhere you can easily read. Finding the plugin responsible usually means FTP, a file manager and a lot of guessing.

WordPress already records those fatal errors through its fatal error handler. GoBuildWP's site-issues ability returns them deduplicated, each with the file, line, the plugin or theme it belongs to, the request path and how often it happened. An AI client can read that alongside Site Health and the cron queue, explain what it sees in plain language and propose the smallest fix, which you approve before anything changes.

What Claude Code can do here

  • Read recent PHP fatal errors with the plugin or theme they belong to, the cause (error, memory or timeout), the request path and first and last seen
  • List plugins and themes WordPress paused in recovery mode, and updates a safe update rolled back
  • Run WordPress's direct Site Health tests and explain each critical or recommended result
  • Find overdue scheduled events and events whose hook has no callback left, usually from a removed plugin
  • Deactivate a suspect plugin after your confirmation, recorded in the ledger with rollback available
  • Fetch the served page afterwards to check that PHP errors no longer reach visitors

What it cannot do

  • Connect to a site whose error stops every request, the MCP endpoint included. Use WordPress's recovery-mode email, your host's file manager or FTP
  • Return stack traces, cookies or query strings: site-issues leaves them out on purpose
  • Edit plugin or theme code to patch the bug itself. It can switch the plugin off; the fix belongs to its developer
  • Change server or PHP settings, memory limits or the host's configuration
  • Deactivate GoBuildWP itself, since that would cut the connection carrying the call

The prompt

The prompt to paste into Claude Code

Paste this into Claude Code with the site connected. It keeps the agent on evidence and stops it before it changes anything.

  • Seven days keeps the list to what is happening now; site-issues accepts up to 90.
  • Step 5 makes the agent name the side effects first: deactivating a plugin also removes its shortcodes, blocks and integrations.
  • On Production Safe the deactivation still needs confirm=true, so the site itself holds the change until you agree.
Paste into Claude CodeEdit the URLs and brackets
Diagnose what is going wrong on this WordPress site. Do not change anything yet.
1. Run site-issues for the last 7 days and list each fatal error with its plugin or theme, cause, path and count.
2. Run site-health-tests and list only critical and recommended results.
3. Run cron-list with due_only and point out overdue events and hooks with no callbacks.
4. Tell me the single most likely cause and the evidence for it.
5. Propose one fix. If it is deactivating a plugin, say what that plugin provides that will stop working, then wait for my yes.

Under the prompt

The abilities Claude Code will call

Registered GoBuildWP abilities, each with its own schema and permission check. The live ability list on your site is the final word; the tool map lists every group.

  • site-issues

    Recorded PHP fatal errors with plugin or theme attribution, recovery-mode pauses, rolled-back updates and failed backups

    ReadFree
  • site-health-tests

    WordPress's direct Site Health tests with status and actions; asynchronous tests are listed as not run

    ReadFree
  • cron-list

    Scheduled events soonest first, overdue ones flagged, hooks with no callbacks marked

    ReadFree
  • system-status

    WordPress, PHP, database, cron, cache and GoBuildWP runtime summary

    ReadFree
  • get-extension

    One plugin's installed copy, plus its WordPress.org record when there is one

    ReadFree
  • deactivate-plugin

    Switches off one plugin; destructive, so it needs explicit confirmation

    Needs confirmationFree
  • verify-rendered-page

    Fetches the page as a visitor gets it and reports PHP errors reaching them

    ReadFree
  • rollback-change

    Reactivates the plugin by undoing the recorded change

    Needs confirmationFree

Safety and recovery

Reading is free; switching off a plugin waits for you

Safety profile
site-issues, site-health-tests and cron-list are read-only abilities, so the diagnosis runs under the Read Only profile while you only want an answer. Deactivating a plugin stays available on Production Safe because no code is fetched or written, but it is classed as destructive, so it never runs without confirm=true.
Change ledger
A deactivation is written to the change ledger with the agent that asked for it, so you can see later why a plugin is off.
Rollback
rollback-change reactivates the plugin from its ledger entry. Do that once the plugin's developer has shipped a fixed version, or after you update it yourself.
Change ledgerExample entries
  • #5120Plugin deactivated after a repeated fatal error on /shop/Rollback available

Where diagnosis stops

  • Only errors WordPress's fatal error handler recorded are returned; warnings and notices that never stop a request are not.
  • Asynchronous Site Health tests, such as loopback and background updates, are listed as not run rather than guessed.
  • The rendered-page check executes no JavaScript, so an error painted by a script is not seen.
  • Recovering a site that is down for every request is Site Rescue, a feature of the paid GoBuildWP Cloud plans from 1 December 2026. It is not available yet.

How profiles, confirmations and rollback fit together: safety profiles and the change ledger.

Setup

Connect Claude Code

Everything on this page runs on GoBuildWP Free.

Free

GoBuildWP Free includes every ability on this page: the error, Site Health and cron reads, plugin deactivation with confirmation, the rendered-page check and rollback.

Pro

Pro adds safe updates, which update one plugin with page checks around it and roll it back automatically when a check fails, naming the fatal error the site recorded. It also adds an integration health report for Pro integrations that are not answering.

  1. Install GoBuildWP Free

    Add it from the WordPress plugin screen, then open GoBuildWP's Connect screen.

  2. Add the server to Claude Code

    Run the claude mcp add command from the Connect screen, then run /mcp and approve the sign-in in WordPress as an administrator.

  3. Start on Read Only

    Run the diagnosis on Read Only. Nothing can change, so you can read the evidence first.

  4. Switch to Production Safe for the fix

    Only when you agree with the proposed fix, and the deactivation still asks for confirmation.

FAQ

Questions about how to AI WordPress troubleshooting

Can AI fix a WordPress critical error?

It can find the cause and apply the usual first fix. The client reads the recorded fatal error, names the plugin or theme it came from and, after your confirmation, deactivates that plugin. It cannot patch the plugin's code, and it cannot connect when the error stops every request, including the MCP endpoint.

Does it need WP_DEBUG switched on?

No. site-issues reads the fatal errors WordPress's own fatal error handler records, so you do not have to enable debug logging first. The trade-off is scope: it covers errors that stopped a request, not every warning or notice a debug log would collect.

Will the AI see my server paths or visitors' data?

Error locations are given relative to the WordPress root, and site-issues never returns server paths outside it, query strings, cookies or stack traces. The request path is kept so you can see which page failed, without the parameters a visitor sent.

Can I undo a plugin the AI deactivated?

Yes. The deactivation is recorded in the change ledger, and rollback-change reactivates the plugin from that entry. Reactivate it once a fixed version is out, or the same fatal error will come back on the next request that loads it.

Which AI clients work for this?

Any MCP client connected to GoBuildWP can run the same abilities. This page uses Claude Code because developers often debug from the terminal, but Claude Desktop, ChatGPT, Cursor and the other supported clients read the same site-issues data.

Try it on staging first.

Install the free plugin, connect Claude Code, and run the read-only half of this prompt before anything on the site changes.