Title: Syntax Error
Last modified: May 13, 2022

---

# Syntax Error

 *  Resolved [simonhawketts](https://wordpress.org/support/users/simonhawketts/)
 * (@simonhawketts)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/syntax-error-222/)
 * I thought I’d just let you know that the latest update to docket cache, which
   was applied automatically on one of my sites, caused a syntax error. The error
   was ‘Unexpected ) in plugins/docket-cache/includes/src/Tweaks.php on line 633’.
 * I’ve moved the plugin out of the plugins dir to fix this at the moment, but possibly
   you could have a look?

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

 *  Plugin Author [Nawawi Jamili](https://wordpress.org/support/users/nawawijamili/)
 * (@nawawijamili)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/syntax-error-222/#post-15643426)
 * Hi [@simonhawketts](https://wordpress.org/support/users/simonhawketts/),
 * Thank you for reporting this issue.
 * That error came from the “Deactivate WP Embed” options when enabled. Some code
   to filter causes unpredictable results on some themes.
 * Please try the latest version 21.08.07, and see if it fixes this issue.
 * Thanks.
 *  Thread Starter [simonhawketts](https://wordpress.org/support/users/simonhawketts/)
 * (@simonhawketts)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/syntax-error-222/#post-15646475)
 * Hi – as I said I removed the plugin from the dir so I can’t for sure say which
   version it was, but since it auto updated and version 21.08.07 has only just 
   been released I would guess that was the version that caused the issue.
 *  Plugin Author [Nawawi Jamili](https://wordpress.org/support/users/nawawijamili/)
 * (@nawawijamili)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/syntax-error-222/#post-15646746)
 * Hi,
 * Thank you for your response.
 * The 21.08.07 version was released after your report, and maybe fix the issue 
   on line 633 plugins/docket-cache/includes/src/Tweaks.php.
 * If possible, you may try to install and activate it again and see if the issue
   still exists. Your confirmation is most welcome and helps to improve this plugin.
 * Thanks.
    -  This reply was modified 3 years, 11 months ago by [Nawawi Jamili](https://wordpress.org/support/users/nawawijamili/).
 *  Thread Starter [simonhawketts](https://wordpress.org/support/users/simonhawketts/)
 * (@simonhawketts)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/syntax-error-222/#post-15646967)
 * Hi
 * Ah – ok. I’ve re-installed from the add plugins page, confirmed that it is now
   version 21.08.07 which is running, and I can confirm that the issue is now resolved.
 * Thanks
 *  Plugin Author [Nawawi Jamili](https://wordpress.org/support/users/nawawijamili/)
 * (@nawawijamili)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/syntax-error-222/#post-15647148)
 * Thank you for your feedback, really appreciate it.

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

The topic ‘Syntax Error’ is closed to new replies.

 * ![](https://ps.w.org/docket-cache/assets/icon-256x256.png?rev=2425893)
 * [Docket Cache - Object Cache Accelerator](https://wordpress.org/plugins/docket-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/docket-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/docket-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/docket-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/docket-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/docket-cache/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Nawawi Jamili](https://wordpress.org/support/users/nawawijamili/)
 * Last activity: [3 years, 11 months ago](https://wordpress.org/support/topic/syntax-error-222/#post-15647148)
 * Status: resolved