• Resolved David Green

    (@davidrgreen)


    Hello. The Pardot plugin is working well, but I’m seeing a PHP Warning reported in Debug Bar. It seems to appear sporadically, but you can trigger it by using the Clear Cache button in the Pardot plugin settings.

    The error is gzinflate(): data error I did some research and it’s related to an issue in core – https://core.trac.ww.wp.xz.cn/ticket/22952

    I experimented a bit, and if I change the decompress argument on line 439 of pardot-api-class.php to false then the error goes away and the plugin continues to work properly. Was the request from Pardot perhaps previously compressed with gzip but not any more? I’m just wondering if there’s any harm in changing that decompress argument to false to avoid seeing the PHP warning.

    Thanks!

    https://ww.wp.xz.cn/plugins/pardot/

Viewing 1 replies (of 1 total)
  • Plugin Author Cliff Seal

    (@cliffseal)

    The Trac ticket claims it was fixed in 4.6, and I’m not seeing this error locally. Let me know if you continue to experience it.

    Thanks!

Viewing 1 replies (of 1 total)

The topic ‘Plugin works, but I'm seeing a PHP Warning’ is closed to new replies.