• After I activate the plugin my site goes down if the plugin 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 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Nawawi Jamili

    (@nawawijamili)

    Hi there,

    Replace “unserialize” with “maybe_unserialize” since Docket Cache already unserialized it.

    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));

    Thanks.

    • This reply was modified 6 months, 3 weeks ago by Nawawi Jamili.
    Plugin Author Nawawi Jamili

    (@nawawijamili)

    Hi,

    I’m marking this thread as resolved. Feel free to open a new topic if you have further questions.

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Incompatibility with Zoho Campaigns plugin’ is closed to new replies.