Title: Solid security email: Invalid JSON
Last modified: May 21, 2025

---

# Solid security email: Invalid JSON

 *  Resolved [Charles](https://wordpress.org/support/users/charlesrodmell/)
 * (@charlesrodmell)
 * [10 months, 3 weeks ago](https://wordpress.org/support/topic/solid-security-email-invalid-json/)
 * I received emails from all my sites saying:
   An error occurred while running the
   scheduled site scanError Message: Invalid JSON.Error Code: Invalid JSON

Viewing 10 replies - 1 through 10 (of 10 total)

 *  Plugin Support [Brent Wilson](https://wordpress.org/support/users/bwbama/)
 * (@bwbama)
 * [10 months, 3 weeks ago](https://wordpress.org/support/topic/solid-security-email-invalid-json/#post-18477319)
 * Hello Charles,
 * Glad you reached out here! Can you please try the following steps and let me 
   know if the next scheduled scan fails:
 * **First: Clear all caches**
 * This step would help in clearing the caching layers that may interfere with the
   Site Scan data, as the logs seem to indicate that the result was from May 19th.
 * The first thing to clear is the server cache, which is usually available in your
   hosting panel. If you’re unsure where to find it, reaching out to your host is
   the fastest way to have it cleared.
 * Next, clear the site_ page cache_ from your caching plugin (if you have it installed
   in your site). And if you’re using CDN like Cloudflare, clear the cache there,
   too.
 * **Second: Clear all site transients**
 * This step would help remove all expired WordPress transients that may hold on
   to older data. You can use a plugin like the [Transients Manager](https://wordpress.org/plugins/transients-manager/)
   to clear transients.
 * **Third: Reset Solid Security’s Scheduler**
 * This step would help reset Solid Security’s scheduled tasks.
 * To proceed, enable the advanced Debug menu by following this guide: [https://solidwp.com/documentation/security/how-it-works/all-about-solid-securitys-debug-mode/](https://solidwp.com/documentation/security/how-it-works/all-about-solid-securitys-debug-mode/)
 * After enabling the Debug mode, go to your_ Security > Debug_ page and find the**
   Scheduler** table. Find the “**Reset**” button, click it, and wait for the next
   scheduled scan to run.
 * Please let me know how it goes after following these steps.
 *  [STP_MTL](https://wordpress.org/support/users/stp_mtl/)
 * (@stp_mtl)
 * [10 months, 3 weeks ago](https://wordpress.org/support/topic/solid-security-email-invalid-json/#post-18477587)
 * Hi,
 * I got the same error.
 * But if I manually start a scan, I don’t see this error. Am I supposed to get 
   this error from the manual site scan?
 * Also I got this error by email, but I don’t see it in the logs of solid security.
 * Thanks
 *  Thread Starter [Charles](https://wordpress.org/support/users/charlesrodmell/)
 * (@charlesrodmell)
 * [10 months, 3 weeks ago](https://wordpress.org/support/topic/solid-security-email-invalid-json/#post-18477866)
 * Thanks. I have done those steps on one of my sites. Let’s see.
 *  [Manuel](https://wordpress.org/support/users/marowi/)
 * (@marowi)
 * [10 months, 3 weeks ago](https://wordpress.org/support/topic/solid-security-email-invalid-json/#post-18478122)
 * I just want to let you know that I am getting the same error on several client
   sites.
 *  Thread Starter [Charles](https://wordpress.org/support/users/charlesrodmell/)
 * (@charlesrodmell)
 * [10 months, 3 weeks ago](https://wordpress.org/support/topic/solid-security-email-invalid-json/#post-18478263)
 * After doing those steps, I have since received another email, but the error is
   different today:
    - An error occurred while running the scheduled site scan
    - Error Message: Unable to determine if the scan target is allowed: Missing 
      scan URL.
    - Error Code: `site_verification_failed.missing_url`
 *  Thread Starter [Charles](https://wordpress.org/support/users/charlesrodmell/)
 * (@charlesrodmell)
 * [10 months, 3 weeks ago](https://wordpress.org/support/topic/solid-security-email-invalid-json/#post-18478269)
 * And if I try to run a scan, it goes through the motions (wp core, google safe
   browsing etc), and show me the visual ticks, but there’s nothing in Site Scan
   results (0).
 *  Thread Starter [Charles](https://wordpress.org/support/users/charlesrodmell/)
 * (@charlesrodmell)
 * [10 months, 3 weeks ago](https://wordpress.org/support/topic/solid-security-email-invalid-json/#post-18478301)
 * I checked to see if this was a version issue, but it’s happening on older versions
   9.3.6 as well as sites with 9.3.8. Some sites made by me, and others with completely
   different stacks made by others.
 *  Plugin Support [Brent Wilson](https://wordpress.org/support/users/bwbama/)
 * (@bwbama)
 * [10 months, 3 weeks ago](https://wordpress.org/support/topic/solid-security-email-invalid-json/#post-18479331)
 * Hello Charles,
 * All issues related to the Site Scan should be resolved now.
 * For context, we hit different errors related to the Site Scanner this week:
   1)`
   invalid_json` error last Monday (May 19th) due to a network issue, but it is 
   now resolved according to our logs.
 * 2) `site_verification_failed.missing_url` error today, which is due to a configuration
   update that caused the Authorization header (which the Site Scanner needs) to
   not make it to the application. This is resolved now, too. To confirm, please**
   run a manual scan** on your site and confirm that it’s successful via Security
   > Logs page.
 * 3) Ongoing `invalid_json` error emails, which contain outdated results showing
   the May 19th scan result. We believe this is a case of stuck/cached data and 
   you taking the steps mentioned previously should resolve this now.
 * Please let me know how it goes with the scans and whether you’re still getting
   the errors.
 *  [Kim Hornung](https://wordpress.org/support/users/keepmovingdk/)
 * (@keepmovingdk)
 * [10 months, 3 weeks ago](https://wordpress.org/support/topic/solid-security-email-invalid-json/#post-18480128)
 * We’re still getting the “Invalid JSON” error emails, despite having cleared our
   caches and resetting the Scheduler on the debug page.
 * Our manual scans work.
 *  Thread Starter [Charles](https://wordpress.org/support/users/charlesrodmell/)
 * (@charlesrodmell)
 * [10 months, 2 weeks ago](https://wordpress.org/support/topic/solid-security-email-invalid-json/#post-18488964)
 * Updating to the new version of the plugin on all my sites appears to have fixed
   this.

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Solid security email: Invalid JSON’ is closed to new replies.

 * ![](https://ps.w.org/better-wp-security/assets/icon.svg?rev=2980272)
 * [Solid Security – Password, Two Factor Authentication, and Brute Force Protection](https://wordpress.org/plugins/better-wp-security/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/better-wp-security/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/better-wp-security/)
 * [Active Topics](https://wordpress.org/support/plugin/better-wp-security/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/better-wp-security/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/better-wp-security/reviews/)

 * 10 replies
 * 5 participants
 * Last reply from: [Charles](https://wordpress.org/support/users/charlesrodmell/)
 * Last activity: [10 months, 2 weeks ago](https://wordpress.org/support/topic/solid-security-email-invalid-json/#post-18488964)
 * Status: resolved