WP Squared üzerinden yapılan güncelleme sonrası WordPress site açılmayabilir, 500 hatası verebilir veya tamamen “site down” durumuna geçebilir. Bu genellikle plugin/theme uyumsuzluğu, PHP sürüm çakışması, bozuk update dosyaları veya cache sorunlarından kaynaklanır.
Sorun şu:
Update sonrası site erişilemiyor (500 error / blank page / down).
Aşağıdaki adımlarla sorunu çözebilirsin.
Çözüm Adımları
1. Hata loglarını kontrol et
Önce gerçek hatayı gör.
tail -f /var/log/httpd/error_log
Nginx:
tail -f /var/log/nginx/error.log
PHP-FPM:
tail -f /var/log/php-fpm/error.log
2. WP Squared servis durumunu kontrol et
systemctl status wpsquared
Gerekirse restart:
systemctl restart wpsquared
3. Plugin kaynaklı crash kontrolü
Update sonrası en sık sebep plugin’dir.
Tüm pluginleri kapat:
wp plugin deactivate --all --allow-root
Site açılırsa sorun plugin’dedir.
4. Theme değiştir (default theme)
wp theme activate twentytwentyfour --allow-root
5. PHP version uyumluluğunu kontrol et
php -v
WP Squared ile WordPress sürümü uyumlu olmalı.
6. Cache temizle
rm -rf /usr/local/wpsquared/cache/*
rm -rf /home/user/public_html/wp-content/cache/*
7. .maintenance dosyasını kontrol et
Update sonrası takılı kalabilir.
rm -f /home/user/public_html/.maintenance
8. Database repair
wp db repair --allow-root
9. File permission düzelt
chown -R user:user /home/user/public_html
chmod -R 755 /home/user/public_html
10. WP config kontrolü
cat /home/user/public_html/wp-config.php
Debug aç:
define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
11. PHP-FPM restart
systemctl restart php-fpm
12. Web server restart
Apache:
systemctl restart httpd
Nginx:
systemctl restart nginx
13. WP Squared update rollback (gerekirse)
wpsquared rollback last-update
14. Cron ve queue temizle
rm -rf /usr/local/wpsquared/queue/*
systemctl restart crond
15. Final test
curl -I https://domain.com
Eğer update sonrası site hala down ise genelde PHP fatal error veya bozuk core file vardır ve rollback şarttır.