Troubleshooting
Widget never appears
Check in order:
ofb_widget_enabledis on under Settings.- The current page ID is not listed in
ofb_excluded_post_ids. - The browser console for JS errors that might block the inject script.
- The page isn't using a heavily cached HTML response that strips inline localized vars - clear cache.
Screenshot upload fails
The server validates JPEG/PNG magic bytes and a 2 MB size cap. Common causes:
- Hosting blocks file uploads to
wp-content/uploads/(rare). - PHP
upload_max_filesizeis below 2 MB. wp-content/uploads/ofb-screenshots/is not writable.
Check the server error log for an OFB_Screenshot line on upload.
Slack messages are not posting
Verify ofb_slack_webhook matches the URL Slack gave you (no trailing whitespace). Test the webhook with curl from your server - if curl posts succeed but OFeedback does not, your host may block outbound HTTPS, which also breaks wp_remote_post().
Email notifications go to spam
WordPress's default wp_mail() sends from the server's PHP mailer with whatever From: your site is configured for. Use an SMTP plugin or transactional service. The notification recipient list comes from ofb_notify_emails.
"Submit" button does nothing
The widget form submits via AJAX. Open the browser console: a 403 typically means the nonce expired (refresh the page). A 500 means the server-side OFB_Submission::ajax_submit() threw; check WP_DEBUG_LOG or the server error log.

