Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
VaelVictus opened this issue Aug 22, 2016 · 0 comments

Comments

@VaelVictus
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant