Coder Social home page Coder Social logo

Minify css error about munee HOT 9 CLOSED

meenie avatar meenie commented on August 24, 2024
Minify css error

from munee.

Comments (9)

meenie avatar meenie commented on August 24, 2024

Hmmm.... This is quite weird. I'm not able to replicate it myself. Could you please make sure you have the latest version of Munee (1.5.11) and try it again?

from munee.

meenie avatar meenie commented on August 24, 2024

It's now 1.5.12 due to your pull request.

from munee.

e10k avatar e10k commented on August 24, 2024

Oops, I forgot to mention something important, the PHP version.

Upon further testing, it only happens on PHP 5.3.1.

Works fine with 5.3.20 and 5.4.3. Maybe the description should be updated to say "PHP > 5.3.1 Asset Optimisation" :)

I think this is a non-issue - I'll close it. Thank you!

from munee.

meenie avatar meenie commented on August 24, 2024

Oh? Seems like it would have been a bug in PHP 5.3.1 because it's definitely not trying to run the protected Minify method in the context of the AssetType. It's running in the context of the actual Minify Filter. But I will update the description anyway 👍.

from munee.

zeleznypa avatar zeleznypa commented on August 24, 2024

I currently use this in Modx revolution on Ubuntu server with php 5.3.2 and have this error ;(

from munee.

meenie avatar meenie commented on August 24, 2024

I currently use this in Modx revolution on Ubuntu server with php 5.3.2 and have this error ;(

Is there any way you can update your PHP version? PHP 5.3.2 was released back in March of 2010, so it's quite old.
This is not something I'm able to fix as it's an error in PHP itself. There's no reason why a parent class can't access a childs Protected method. If it was a Private method, then yes, This is an issue.

from munee.

zeleznypa avatar zeleznypa commented on August 24, 2024

No I can't because PHP 5.3.2 is the latest stable version available in Ubuntu server LTS ;(

from munee.

bezumkin avatar bezumkin commented on August 24, 2024

You can easily upgrade it from ppa https://launchpad.net/~ondrej/+archive/php5-oldstable

sudo add-apt-repository ppa:ondrej/php5-oldstable
sudo apt-get update && sudo apt-get upgrade

from munee.

zeleznypa avatar zeleznypa commented on August 24, 2024

Thanks

from munee.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.