Title: TokenUtils.php error message
Last modified: November 14, 2016

---

# TokenUtils.php error message

 *  Resolved [hamellr](https://wordpress.org/support/users/hamellr/)
 * (@hamellr)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/tokenutils-php-error-message/)
 * I’m getting the following error message on two MU sites, and two non MU sites.
   It popped up after the last upgrade to Comet Cache Pro. No other changes have
   been made to these sites at all. I’ve already posted in the official support 
   forums about a week ago, but have yet to get an answer. This error message comes
   up when we make a new post or approve a comment. It is getting to the point where
   the powers that be are asking us to look into replacing the Cache plugins.
 * Warning: in_array() expects parameter 2 to be array, boolean given in /home/xxxxxxxx/
   public_html/wp-content/plugins/comet-cache-pro/src/includes/traits/Shared/TokenUtils.
   php on line 250

Viewing 1 replies (of 1 total)

 *  [Raam Dev](https://wordpress.org/support/users/raamdev/)
 * (@raamdev)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/tokenutils-php-error-message/#post-8436168)
 * [@hamellr](https://wordpress.org/support/users/hamellr/) I have not seen any 
   other reports of that error message since the latest release, but taking a look
   at the source code it looks like that line is reading the `cc-blog-paths` file.
   If I could take a look at your `wp-content/cache/comet-cache/cache/cc-blog-paths`
   file the next time this happens, that might be helpful.
 * I noticed that you’re a Comet Cache Pro user too — if you could [open a support ticket](https://www.websharks-inc.com/support/?product=comet-cache&request_type=trouble_ticket)
   and include the the `cc-blog-paths` file the next time this happens, that would
   be the best way to proceed.

Viewing 1 replies (of 1 total)

The topic ‘TokenUtils.php error message’ is closed to new replies.

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

## Tags

 * [array](https://wordpress.org/support/topic-tag/array/)
 * [boolean](https://wordpress.org/support/topic-tag/boolean/)

 * 1 reply
 * 2 participants
 * Last reply from: [Raam Dev](https://wordpress.org/support/users/raamdev/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/tokenutils-php-error-message/#post-8436168)
 * Status: resolved