Plugin works, but I'm seeing a PHP Warning
-
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 errorI did some research and it’s related to an issue in core – https://core.trac.ww.wp.xz.cn/ticket/22952I experimented a bit, and if I change the
decompressargument 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!
The topic ‘Plugin works, but I'm seeing a PHP Warning’ is closed to new replies.