WordPress Center
Diagnose common WordPress incidents and find useful checks, commands and settings without directly modifying your site.
Analyse locale de wp-config.php
Le contenu est analysé uniquement dans votre navigateur. Les valeurs de DB_PASSWORD, clés et salts ne sont jamais affichées dans le rapport.
Diagnostic express
wp core version
wp core verify-checksums
wp plugin list
wp plugin list --status=active
wp plugin update --all --dry-run
wp theme list
wp theme update --all --dry-run
wp db check
wp db size
wp option get siteurl
wp option get home
wp rewrite list
wp rewrite flush --hard
wp cron event list
wp cron test
wp config get WP_DEBUG
wp config get DISABLE_WP_CRON
wp cache flush
wp user list --role=administrator
wp core verify-checksums
wp media regenerate --only-missing --yes
wp search-replace 'http://ancien-domaine' 'https://nouveau-domaine' --dry-run
php -v
df -h
tail -f wp-content/debug.log
Backupr avant
Avant une mise à jour majeure, un search-replace ou une réparation de base.
Logs avant intuition
Une erreur PHP exacte vaut mieux qu’une désactivation aléatoire de plugins.
WP-CLI
Très utile lorsque wp-admin ne répond plus.
Permaliens
Vérifiez aussi la configuration Apache/Nginx, pas seulement WordPress.
SMTP
From, enveloppe Sender, SPF/DKIM/DMARC et authentification doivent être cohérents.
Malware
Préservez les preuves et identifiez le vecteur avant de seulement supprimer les fichiers visibles.
--dry-run lorsqu’elles existent, et conservez une backup récente.
Center mission
8 playbooksTroubleshoot WordPress by layers — HTTP/PHP, plugins/theme, database, cache, cron, mail and permissions — keeping a backup and avoiding multiple simultaneous changes.
Quick triage
- Record exact URL, HTTP code, message and latest change.
- Check frontend, wp-admin and PHP/DB health separately.
- Collect error_log/debug.log before broad disabling.
- Confirm disk space and database availability.
- Back up files/database before structural change.
Decision tree
Start with PHP logs and latest plugin/theme/change.
Test MySQL, credentials, host and saturation.
Measure TTFB, queries, cron, cache and resources.
Separate WordPress generation from SMTP delivery.
Intervention playbooks
Start read-only, collect evidence, then change one variable at a time.
01WordPress critical errorControlled change
“There has been a critical error” screen or wp-admin unavailable after a change.
Checks
- Read PHP fatal with exact file/line.
- Identify latest plugin/theme/update.
- Check PHP version and compatibility.
Commands / evidence
wp plugin listwp theme listtail -n 100 wp-content/debug.logExpected result
Fatal points to a specific component or incompatibility.
Corrective actions
- Disable only failing component then retest.
- Keep logs and version before update/rollback.
Escalate when
Fatal in core, corruption or critical business plugin with no alternative.
02HTTP 500 errorControlled change
Server returns 500 on whole site or specific routes.
Checks
- Read PHP/Apache/Nginx error log at timestamp.
- Check .htaccess/rewrite and PHP memory.
- Compare frontend and direct endpoint.
Commands / evidence
wp core verify-checksumsphp -vwp option get siteurlExpected result
500 is tied to identifiable fatal, rewrite, permission or resource issue.
Corrective actions
- Fix identified layer without blindly rewriting all .htaccess.
- Retest exact route after each change.
Escalate when
500 comes from server/host or multiple vhosts are affected.
03White screen / empty outputRead-only
Blank page with no message while server responds.
Checks
- Enable logging without displaying errors in production.
- Look for fatal, memory exhausted or output buffering.
- Test theme/plugin in controlled environment.
Commands / evidence
wp config get WP_DEBUGwp plugin list --status=activewp theme listExpected result
A log explains why rendering stops.
Corrective actions
- Fix responsible component or limit.
- Do not leave WP_DEBUG_DISPLAY enabled in production.
Escalate when
No log despite PHP request or FPM/server crash.
04Database connection errorIntrusive / escalation
“Error establishing a database connection” or SQL queries impossible.
Checks
- Test MySQL host/port and database service.
- Check DB_NAME/USER/HOST without exposing password.
- Check connections, space and DB health.
Commands / evidence
wp db checkwp config get DB_HOSTmysqladmin ping -h <dbhost>Expected result
WordPress authenticates and wp db check accesses tables.
Corrective actions
- Fix availability/credentials with backup before any table repair.
- Do not run repair without evidence of corruption.
Escalate when
InnoDB corruption, saturated SQL server or critical data affected.
05Plugin or theme conflictControlled change
Feature breaks after activation/update or only with component combination.
Checks
- Reproduce with latest identified change.
- Check versions and PHP/WordPress dependencies.
- Compare staging environment if available.
Commands / evidence
wp plugin listwp theme listwp core versionExpected result
Conflict is reproducible with a specific component or version.
Corrective actions
- Targeted rollback/update and test before production.
- Avoid mass disabling on live site.
Escalate when
Essential business plugin or conflict requires code change.
06Slow WordPress siteRead-only
High TTFB, slow wp-admin or CPU/SQL spikes.
Checks
- Measure frontend, admin and static request separately.
- Check cron, slow queries, autoload and heavy plugins.
- Check cache and hosting resources.
Commands / evidence
wp cron event list --due-nowwp option list --autoload=on --format=total_byteswp plugin listExpected result
Slowness is attributed to PHP, SQL, cron, plugin or external layer.
Corrective actions
- Optimize measured cause, not only add cache.
- Test before/after with same URL and conditions.
Escalate when
Hosting SQL/CPU budget reached, slow business query or infrastructure incident.
07WordPress forms / email not receivedControlled change
Form submits but notification is missing or lands in spam.
Checks
- Check whether WordPress actually generates email.
- Check SMTP/plugin, sender and domain authentication.
- Test an external mailbox and inspect SMTP logs.
Commands / evidence
wp plugin list | grep -i smtpwp option get admin_emailnslookup -type=txt <domaine>Expected result
Message is generated, accepted by SMTP and traceable to recipient.
Corrective actions
- Configure authenticated SMTP and coherent domain From.
- Treat SPF/DKIM/DMARC deliverability separately from form logic.
Escalate when
Third-party mail service rejects, domain authentication is wrong or form plugin does not trigger hook.
08Permissions / update failureControlled change
WordPress cannot write plugins, uploads or perform an update.
Checks
- Read owner/group/mode on affected paths.
- Identify PHP-FPM/Apache user.
- Check disk space and FS_METHOD.
Commands / evidence
ls -ld wp-content wp-content/uploads wp-content/pluginswp core verify-checksumsdf -hExpected result
Web process has only required rights on expected paths.
Corrective actions
- Fix minimum ownership/mode, never chmod -R 777.
- Back up before core/plugin update.
Escalate when
Hosting requires special permissions, filesystem is read-only or compromise is suspected.
End-of-intervention checklist
- Retest frontend, wp-admin and initially affected feature.
- Check logs for no new fatal.
- Confirm backup after change where appropriate.
- Document changed plugin/theme/configuration.
- Remove any temporary displayed debug mode.