Error: Class 'Drupal\slick\SlickManager' not found in slick()

Created on 3 April 2019, about 5 years ago
Updated 11 March 2023, over 1 year ago

Hi,

In a clean install (not old versions of slick installed previously) , following installation instructions I've got this error:

Error: Class 'Drupal\slick\SlickManager' not found in slick() (line 28 of /var/www/clients/client1/web1/web/sites/all/modules/slick/slick.module).

I have it if use rc1, beta 3...

Ps.: Finally I've installed 7-2.1 version without errors.

Regards

πŸ’¬ Support request
Status

Fixed

Component

Code

Created by

πŸ‡§πŸ‡ΆCaribbean Netherlands calbasi Catalonia

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡±πŸ‡ΉLithuania vibrasphere

    Ran into this problem because of PHP 8.1 issues with autoload β†’ , dblog spams some error on any page load, could not find any solution or patch so decided to try alternatives.

    Steps:

    1. Disable autoload. It causes to disable following modules blazy, blazy_ui, slick, slick_fields, slick_extras, slick_views, slick_example, slick_ui
    2. Enable xautoload β†’ , but you can only enable blazy, blazy_ui, you cannot enable slick β†’ , it throws errors:

      WD php: Error: Class 'Drupal\slick\SlickManager' not found in slick() (line 28 of /htdocs/sites/all/modules/slick/slick.module).               [error]
      Error: Class 'Drupal\slick\SlickManager' not found in slick() (line 28 of /htdocs/sites/all/modules/slick/slick.module).
    3. Completely disable and uninstall both autoload and xautoload, enable registry_autoload β†’ latest dev version, as of this post it is 7.x-1.x-dev 2023-Feb-28 version.
    4. Try to rebuild registry, both with drush rr and using registry_rebuild. Don't forget to clear caches drush cc all.
    5. Attempt drush en blazy, blazy_ui, slick, slick_fields, slick_extras, slick_views, slick_example, slick_ui. All modules install no errors.

    There's also another autoloader module that is not documented, but is listed when trying to enable blazy with drush psr0 β†’ .

Production build 0.69.0 2024