Skip to main content
Version: 1.x

SYNC151: Store response malformed

What this means

Your store sent a malformed response that WCPOS had to repair before reading.

This usually means a plugin or PHP notice is printing extra output into store responses. WCPOS recovered this one, but repairs are not guaranteed — ask the site administrator to check the site's error log.

Your data

The malformed response was repaired for reading. If the underlying request itself failed (see Troubleshoot step 1), follow that request's guidance; otherwise no order or product data is affected. If this persists, ask the person who manages your WordPress site.

Troubleshoot

  1. Check whether the related request ultimately succeeded. If it did, WCPOS repaired this occurrence; if it failed, follow that request's error and retry guidance instead.
  2. The cause is on the site: a plugin or theme is printing warnings or stray output into REST responses. Ask the site administrator to check the site's logs for PHP notices at the failure time.
  3. The browser's developer tools (Network tab) — or Advanced → Toggle Developer Tools in the desktop app — show the raw response body; the stray output is visible immediately before or after the JSON.
  4. Repairs are best-effort: if these warnings become frequent, fix the offending plugin rather than relying on the repair.

Details

Code
SYNC151 (STORE_RESPONSE_MALFORMED)
Severity
warn
Introduced in
WCPOS 1.10.0