Sage 10, fresh installation July/August 2023.
This is my first time working with Sage 10, I did few sites with Sage 9 a while back.
My local dev environment is working okay. I need to show something to my client and copied my WP install with the Sage theme to my shared Siteground server. Sage 9 has been working fine with Siteground without any deployment issues.
I did the Deployment steps:
composer install --no-dev
Copied over all files & folders, except node_modules.
When I try to view my site all pages are blank.
In the debug.log it says:
PHP Fatal error: Uncaught ReflectionException: Class “sage.view” does not exist in /home/…/public_html/proto/wp-content/themes/mytheme/vendor/illuminate/container/Container.php:889
I checked older posts about this issue but it does not look like my issue has the same cause.
The ThemeServiceProvider.php looks like the earlier ‘fixes’ and I do not know where else to look.
Also, the ‘Target class [sage.view] does not exist’ post from February 2023 does not seem to have been resolved.
I’m still in development but finally this site will need to be deployed through plain FTP so I do need to find a fix.