Find what broke your site from the error log
When a page shows an error or looks broken, let the AI read the PHP error log, find the plugin or theme behind it and suggest the smallest fix.
- Difficulty
- Advanced
- Time
- about 20 min
My WordPress site has a problem: [what you see, e.g. the checkout page shows a critical error since this morning]. Check whether the home page and wp-admin load, read the end of the error log and tell me which plugin or theme file is behind it. Look at what changed on the site recently. Explain the cause in plain words and suggest the smallest fix. If the fix is turning a plugin off, ask me first and wait for my approval.
Already connected?
If SAR is already in your AI app, this is enough:
[Page] shows an error: read the error log, find the cause and suggest the smallest fix.
What happens
- The AI app checks whether the home page and wp-admin load or show an error.
- It reads the end of the PHP error log, with secrets and emails hidden.
- It looks at recent changes SAR made, in case one of them is the cause.
- It reads the plugin or theme file named in the error to understand it; it never edits code.
- If turning a plugin off is the fix, that is approved in SAR with your password and can be undone.
Approvals involved
Worked out from the tools this recipe uses.
wordpress_site_healthSite healthNonewordpress_read_site_logRead the error logNonewordpress_list_changesRecent changesNonewordpress_read_code_fileRead plugin or theme codeNonewordpress_deactivate_pluginTurn a plugin offApproval and password
What you get
The cause in plain words and the site working again, or a clear note to send to the plugin's developer or your host. If the whole site is down, call your host first: the error log is still worth reading once WordPress answers.
Related recipes
- Maintenance · about 10 minA monthly maintenance log of what was done and what is still openOne page for your records: the changes made on the site this month, updates still waiting, backups, overdue tasks, health and speed.
- Maintenance · about 30 minFind which plugin causes a problem, without an error message to go onWhen something misbehaves but nothing shows in the error log, switch suspect plugins off one at a time, check the page after each, and switch them back on.
- Maintenance · about 10 minRun a weekly check-up of your WordPress siteOnce a week, ask for one short list: what is wrong on the site, which updates are waiting, which tasks are overdue and how fast the home page loads.
Try it on your own site
Install the plugin, add SAR to your AI app and paste the prompt. Free to start.