“Offer already accepted” error
Problem: Client tries to accept but sees error message
Cause: Offer was already accepted (either by them or someone else)
Solution:
- Check Quotes → All Quotes for acceptance status
- If correctly accepted → Inform client offer is already confirmed
- If incorrectly accepted → Manually reset acceptance:
- Go to offer edit page
- Custom Fields → Delete
_offer_acceptedmeta - Save offer
- Client can now accept again
Acceptance not saving
Problem: Client clicks Accept, sees success, but status remains Pending in admin
Diagnosis:
- Check JavaScript console (F12 → Console tab)
- Look for REST API errors
- Check network tab for failed requests
- Verify REST API working:
- Visit
yoursite.com/wp-json/oferty/v1/ - Should show JSON (not 404 error)
- Visit
- Check permalink structure:
- Settings → Permalinks → Save Changes
- Flushes rewrite rules
Common causes:
- Permalink structure not configured (use “Post name”)
- REST API disabled by security plugin
- JavaScript error preventing AJAX request
- Server blocking POST requests to REST API
Email notification not received
Problem: Client accepts offer but you don’t get email
Solutions:
1. Check notification email setting:
- Quotes → Company Data
- “Notification Email” field – is it correct?
- Test: Send test email to this address
2. Check spam/junk folder:
- Search for sender:
wordpress@yoursite.com - Add to safe senders if found
3. Test WordPress email:
- Install “Email Log” plugin
- Accept test offer
- Check Email Log for sent message
- If not in log → WordPress email broken
4. Fix WordPress email:
- Install “WP Mail SMTP” plugin
- Configure Gmail/SendGrid SMTP
- Re-test acceptance notification
Client comment not appearing (Premium)
Problem: Client added comment but it doesn’t show
Check:
- Is Premium active? Comment field only shows for Premium
- Check database: Look for
_offer_accepted_commentmeta - Check template: Ensure
public-offer-view.phpdisplays comments - Cache issue: Clear browser cache, reload page
Debug:
- View page source → Search for “client-comment” textarea
- If not found → Premium not active or template outdated
- If found but not saving → Check REST API payload in Network tab
Geolocation shows “Unknown”
Problem: Location shows as “Unknown, Unknown” instead of city/country
Causes:
- Client IP is local/private (127.0.0.1, 192.168.x.x)
- IP geolocation API (ip-api.com) unavailable
- Server firewall blocking outbound requests
- API rate limit exceeded (150 requests/minute)
Solution:
- Local IPs: Displays “Local / Localhost” (expected behavior)
- Public IPs: Check if ip-api.com is accessible from server
- Rate limits: Results are cached 24h, usually not an issue
- Firewall: Whitelist ip-api.com in server firewall
