Title: Unexpected Token Error
Last modified: December 9, 2022

---

# Unexpected Token Error

 *  Resolved [kbowson](https://wordpress.org/support/users/kbowson/)
 * (@kbowson)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/unexpected-token-error-3/)
 * Hi John,
 * I am getting this error when trying to perform a search and replace:
    Unexpected
   token ‘<‘, “<!DOCTYPE “… is not valid JSON (SyntaxError)

Viewing 1 replies (of 1 total)

 *  [southklad](https://wordpress.org/support/users/southklad/)
 * (@southklad)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/unexpected-token-error-3/#post-16323039)
 * Greetings, I have exactly the same problem. WordPress version 6.1.1

Viewing 1 replies (of 1 total)

The topic ‘Unexpected Token Error’ is closed to new replies.

 * ![](https://ps.w.org/search-regex/assets/icon-256x256.jpg?rev=1030025)
 * [Search Regex](https://wordpress.org/plugins/search-regex/)
 * [Support Threads](https://wordpress.org/support/plugin/search-regex/)
 * [Active Topics](https://wordpress.org/support/plugin/search-regex/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/search-regex/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/search-regex/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [southklad](https://wordpress.org/support/users/southklad/)
 * Last activity: [3 years, 5 months ago](https://wordpress.org/support/topic/unexpected-token-error-3/#post-16323039)
 * Status: resolved