ndeet / plg_system_less

A Joomla! system plugin to compile .less files on the fly.
GNU Lesser General Public License v3.0
17 stars 13 forks source link

Joomla 3.5 and PHP7 #34

Open jjnxpct opened 8 years ago

jjnxpct commented 8 years ago

Hi! I am having a small problem with the less compiler plugin on a website using Joomla 3.5 and after switching to PHP7. When the plugin encounters an error, now instead of showing the error on the page I get a ERR_CONTENT_DECODING_FAILED page and the site is not loaded. When the error is fixed in the less file it works fine again.

This only happens when Gzip compression is enable din the Joomla settings. When this compression is off the error is shown on the frontend page, instead of the mentioned error.

So I guess the outputting of the error on the screen somehow conflicts with the Gzip compression? And only on PHP7 and not earlier version?

Any thoughts on this?