WP Squared üzerinde bildirimler (notification) gelmeyebilir. Bu durum genellikle mail servisi hatası, SMTP yanlış yapılandırma, queue tıkanması, API bağlantı sorunları veya cron job problemleri nedeniyle oluşur.
Sorun şu:
WP Squared bildirimleri (mail, panel alert, system notification) kullanıcıya ulaşmıyor.
Aşağıdaki adımlarla sorunu çözebilirsin.
Çözüm Adımları
1. Notification servis durumunu kontrol et
systemctl status wpsquared
Eğer ayrı notification servisi varsa:
systemctl status wpsquared-notify
2. Notification queue temizle
Takılan bildirimler gönderimi engeller.
rm -rf /usr/local/wpsquared/notifications/queue/*
3. Cron job çalışıyor mu kontrol et
Notification çoğunlukla cron ile gönderilir.
crontab -l
Cron servisini yeniden başlat:
systemctl restart crond
4. Mail (SMTP) ayarlarını kontrol et
SMTP yanlışsa bildirim gitmez.
WordPress tarafı kontrol:
wp config get WP_MAIL --allow-root
SMTP plugin varsa test mail gönder:
wp mail test --allow-root
5. Postfix / mail server kontrolü
systemctl status postfix
Çalışmıyorsa başlat:
systemctl start postfix
systemctl enable postfix
6. Mail queue kontrol et
mailq
Temizlemek için:
postsuper -d ALL
7. API bağlantı kontrolü
WP Squared notification API kullanıyorsa:
curl -I https://api.wpsquared.com
8. Firewall port kontrolü
firewall-cmd --list-all
SMTP için port aç:
firewall-cmd --add-service=smtp --permanent
firewall-cmd --reload
9. PHP mail fonksiyonu test et
php -r "mail('[email protected]','test','test');"
10. WP Squared cache temizle
rm -rf /usr/local/wpsquared/cache/*
11. DNS ve mail deliverability kontrolü
nslookup domain.com
12. PHP-FPM restart
systemctl restart php-fpm
13. Web server restart
Apache:
systemctl restart httpd
Nginx:
systemctl restart nginx
14. WP Squared servis reset
systemctl restart wpsquared
systemctl restart wpsquared-notify
systemctl restart crond
15. Test notification gönder
wpsquared notify test
Eğer bu adımlardan sonra notification hâlâ gelmiyorsa genelde SMTP provider bloklaması veya queue database bozulması vardır.