less icon indicating copy to clipboard operation
less copied to clipboard

Declaration of lessify::parse() should be compatible with lessc::parse (2.8.4)

Open VaelVictus opened this issue 9 years ago • 0 comments

CakePHP version 2.8.4

The following gave an error for "cannot find class Lessify", unsure why. Removing .Lessify from the import seemed to fix it, so I'm guessing it's something I did or didn't name properly? Who knows.

App::import('Vendor', 'Less.Lessify',
  array(
    'file' => 'lessphp/lessify.inc.php'
  )
);

So I did this:

require_once(APP . 'Vendor' . DS . 'lessphp/lessify.inc.php');

Both that and removing .Lessify gave me the same error, indicating I'm including this file properly. Now I get this:

"Declaration of lessify::parse() should be compatible with lessc::parse"

The library's three years old. Maybe something changed in the past three years?

VaelVictus avatar Aug 22 '16 17:08 VaelVictus