tiny_mce_gzip.php php error?

Can someone please help about this error I am seeing in web server error.log:

(mod_fastcgi.c.2701) FastCGI-stderr: PHP Warning:  in_array() expects parameter 2 to be array, null given in /var/www/plugins/tiny_mce/tiny_mce_gzip.php on line 146
PHP Warning:  in_array() expects parameter 2 to be array, null given in /var/www/plugins/tiny_mce/tiny_mce_gzip.php on line 146

 

- and here is line 146 of tiny_mce_gzip.php (starts at "if"):

// Check if the server and client supports gzip compression
                if ($this->settings['compress'] && (in_array('gzip', $encodings) || in_array('x-gzip', $encodings) || isset($_SERVER['---------------'])) && function_exists('gzencode') && !ini_get('zlib.output_compression')) {
                        header("Content-Encoding: " . (in_array('x-gzip', $encodings) ? "x-gzip" : "gzip"));
                        $cacheFile = $this->settings["cache_dir"] . "/" . $hash . ".gz";
                        $supportsGzip = true;
                } else
                        $cacheFile = $this->settings["cache_dir"] . "/" . $hash . ".js";

                header("Expires: " . gmdate("D, d M Y H:i:s", time() + $expiresOffset) . " GMT");
                header("Cache-Control: public, max-age=" . $expiresOffset);

Any suggestions?

Regards,

Mayki

"When things get tough the tough get going..."
Quote · 20 Dec 2012

There is no such problem in 7.1, but for 7.0 you can apply this fix:

http://www.boonex.com/trac/dolphin/ticket/2851

Rules → http://www.boonex.com/terms
Quote · 25 Dec 2012

Thanks,

implemented and waiting if error appears again....

 

Thanks.

Regards

Mayki

"When things get tough the tough get going..."
Quote · 9 Jan 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.