Roots Discourse

Fatal error: Uncaught Error: Class 'Roots\Acorn\Bootloader' not found

Hi there,

I have followed the steps to install a new sage theme on my new local install.

I have this message when accessing the site -

Please advise. The acorn file is referenced in the functions.php file of sage directory.

thanks so much,

Jim C.

Which steps?

The error says that it can’t find the Acorn Bootloader. Have you run composer install? Is Acorn in your vendors folder?

Hi there - thanks for the reply - i have the following file structure after creating a sage theme -

please advise what i need to do? thanks!

composer install

Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.

Nothing to install, update or remove

Generating autoload files

Carbon 1 is deprecated, see how to migrate to Carbon 2.

You can run ‘./vendor/bin/upgrade-carbon’ to get help in updating carbon and other frameworks and libraries that depend on it.