Title: Incompatibility with Docket Cache plugin
Last modified: April 29, 2024

---

# Incompatibility with Docket Cache plugin

 *  [Pablo Pacheco](https://wordpress.org/support/users/karzin/)
 * (@karzin)
 * [2 years ago](https://wordpress.org/support/topic/incompatibility-with-docket-cache-plugin/)
 * After I activate the [Docket Cache](https://wordpress.org/plugins/docket-cache/)
   plugin, my site goes down if the plugin [Zoho Campaigns](https://wordpress.org/plugins/zoho-campaigns/)
   is active. Can you please take a look?
 * This is the error I get:
 * **Critical** Uncaught TypeError: unserialize(): Argument #1 ($data) must be of
   type string, array given in /var/www/vhosts/wpfactory.com/httpdocs/wp-content/
   plugins/zoho-campaigns/includes/class.zcwc.php:181
 * More details:
 * { “error”: { “type”: 1, “file”: “\/var\/www\/vhosts\/wpfactory.com\/httpdocs\/
   wp-content\/plugins\/zoho-campaigns\/includes\/class.zcwc.php”, “line”: 181 },“
   backtrace”: [ “”, “#0 \/var\/www\/vhosts\/wpfactory.com\/httpdocs\/wp-content\/
   plugins\/zoho-campaigns\/includes\/class.zcwc.php(181): unserialize()”, “#1 \/
   var\/www\/vhosts\/wpfactory.com\/httpdocs\/wp-content\/plugins\/zoho-campaigns\/
   includes\/class.zcwc.php(36): ZohoCampaign::zcwc_get_parsed_val()”, “#2 \/var\/
   www\/vhosts\/wpfactory.com\/httpdocs\/wp-content\/plugins\/zoho-campaigns\/includes\/
   class.zcwc.php(23): ZohoCampaign::zcwc_init_hooks()”, “#3 \/var\/www\/vhosts\/
   wpfactory.com\/httpdocs\/wp-includes\/class-wp-hook.php(324): ZohoCampaign::zcwc_init()”,“#
   4 \/var\/www\/vhosts\/wpfactory.com\/httpdocs\/wp-includes\/class-wp-hook.php(
   348): WP_Hook->apply_filters()”, “#5 \/var\/www\/vhosts\/wpfactory.com\/httpdocs\/
   wp-includes\/plugin.php(517): WP_Hook->do_action()”, “#6 \/var\/www\/vhosts\/
   wpfactory.com\/httpdocs\/wp-settings.php(695): do_action()”, “#7 \/var\/www\/
   vhosts\/wpfactory.com\/httpdocs\/wp-config.php(92): require_once(‘…’)”, “#8 \/
   var\/www\/vhosts\/wpfactory.com\/httpdocs\/wp-load.php(50): require_once(‘…’)”,“#
   9 \/var\/www\/vhosts\/wpfactory.com\/httpdocs\/wp-blog-header.php(13): require_once(‘…’)”,“#
   10 \/var\/www\/vhosts\/wpfactory.com\/httpdocs\/index.php(17): require(‘…’)”,“#
   11 {main}”, “thrown” ] }

Viewing 1 replies (of 1 total)

 *  Thread Starter [Pablo Pacheco](https://wordpress.org/support/users/karzin/)
 * (@karzin)
 * [2 years ago](https://wordpress.org/support/topic/incompatibility-with-docket-cache-plugin/#post-17726334)
 * Hi ,
 * The Docket Cache plugin team has posted a possible solution to be implemented
   on the Zoho plugin. Can you please guys change the code?
 * Replace “unserialize” with “[maybe_unserialize](https://developer.wordpress.org/reference/functions/maybe_unserialize/)”.
 * File: **includes/class.zcwc.php**
 * Line: 153
 * `$mh_Object = unserialize(get_option('zcwc_intergration_details'));`
 * Replace with:
 * `$mh_Object **=** maybe_unserialize(get_option('zcwc_intergration_details'));`
 * Line: 181
 * `$mh_Object **=** unserialize(get_option($key));`
 * Replace with:
 * `$mh_Object **=** maybe_unserialize(get_option($key));`

Viewing 1 replies (of 1 total)

The topic ‘Incompatibility with Docket Cache plugin’ is closed to new replies.

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

 * 1 reply
 * 1 participant
 * Last reply from: [Pablo Pacheco](https://wordpress.org/support/users/karzin/)
 * Last activity: [2 years ago](https://wordpress.org/support/topic/incompatibility-with-docket-cache-plugin/#post-17726334)
 * Status: not resolved