Roots Discourse

Class sage.assets does not exist

Using sage 9.0.7, and getting a white screen of death. This is the error:

[10-Jul-2021 20:42:21 UTC] PHP Fatal error Uncaught ReflectionException: Class sage.assets does not exist in /home/customer/www/mydomain.com/public_html/wp-content/themes/mytheme/vendor/illuminate/container/Container.php:767

Stack trace:

#0 /home/customer/www/mydomain.com/public_html/wp-content/themes/mytheme/vendor/illuminate/container/Container.php(767): ReflectionClass->__construct('sage.assets')
#1 /home/customer/www/mydomain.com/public_html/wp-content/themes/mytheme/vendor/illuminate/container/Container.php(646): Illuminate\Container\Container->build('sage.assets')
#2 /home/customer/www/mydomain.com/public_html/wp-content/themes/mytheme/vendor/illuminate/container/Container.php(601): Illuminate\Container\Container->resolve('sage.assets', Array)
#3 /home/customer/www/mydomain.com/public_html/wp-content/themes/mytheme/vendor/illuminate/container/Container.php(589): Illuminate\Container\Container->make('sage.assets', Array)
#4 /home/customer/www/mydomain in /home/customer/www/mydomain.com/public_html/wp-content/themes/mytheme/vendor/illuminate/container/Container.php on line 767

Deleting the wp-content/uploads/cache folder fixed this issue.

1 Like