johndwells / Minimee

Minimize & combine your CSS and JS files. Minify your HTML. Because size (still) DOES matter.
http://johndwells.github.com/Minimee
56 stars 16 forks source link

Error in PHP 5.6 #21

Closed johanneslamers closed 10 years ago

johanneslamers commented 10 years ago

A PHP Error was encountered

Severity: 8192

Message: Non-static method Minimee::usage() should not be called statically, assuming $this from incompatible context

Filename: minimee/pi.minimee.php

Line Number: 12

johndwells commented 10 years ago

Ha - thanks for that. I imagine quite a few plugins might throw this, it's boilerplate setup for EE plugins.

I assume this is thrown when you visit the Plugins page, or is it thrown any time the class is loaded?

johanneslamers commented 10 years ago

On any page. But only Minimee and Hacksaw are giving this error.

Op 5 sep. 2014, om 16:03 heeft John D Wells notifications@github.com het volgende geschreven:

Ha - thanks for that. I imagine quite a few plugins might throw this, it's boilerplate setup for EE plugins.

I assume this is thrown when you visit the Plugins page, or is it thrown any time the class is loaded?

— Reply to this email directly or view it on GitHub.

johanneslamers commented 10 years ago

Here is my Error:

http://dev.meneercasino.com

Op 5 sep. 2014, om 16:03 heeft John D Wells notifications@github.com het volgende geschreven:

Ha - thanks for that. I imagine quite a few plugins might throw this, it's boilerplate setup for EE plugins.

I assume this is thrown when you visit the Plugins page, or is it thrown any time the class is loaded?

— Reply to this email directly or view it on GitHub.

johndwells commented 10 years ago

Thanks - I've just pushed up a fix, would you mind confirming the fix for you?

Cheers, John