Greetings,

Avid user of the 7.x version of this theme. I'm working on D8 site and was trying to generate a subtheme. I received the following error:

Fatal error: Class 'Drupal\at_core\Helpers\FileSavePrepare' not found in /var/www/2014/id/dist/www/themes/adaptivetheme/at_core/lib/Drupal/at_core/Theme/ThemeGeneratorSubmit.php on line 29

This is because the autoloading is broken for FileSavePrepare as the file is named fileSavePrepare.php and not FileSavePrepare.php

Upon renaming the file to the correct case the subtheme generator form works correctly.

Thanks for this great theme!

Comments

Jeff Burnz’s picture

Priority: Normal » Critical

Cheers, I was not aware the case of the file name mattered very much, its been working for me locally (obviously), so I wonder if something changed in core with regards to autoloading, or I messed something up somewhere along the lines and committed it.

Thanks for the bug report, really happy to get bug reports like this for the D8 version (seriously, I really helps a lot).

This seems rather critical :)

mbrett5062’s picture

This should be closed as duplicate of issue #2354761.

Which has a fix and is RTBC.

Jeff Burnz’s picture

Status: Active » Closed (duplicate)

Hmmm, somehow I forgot about this issue and overlooked it. Closing since the other issue has a patch and I'll be committing that today.