You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 10, 2023. It is now read-only.
First: Thanks for a wonderful tool. I appreciate all the work you people are doing 🙇
Upgrading my Sage theme to 9.0.5 has lead to no controllers being found - breaking my site - because I have changed the Sage namespace from the default App. I am greeted with the error:
Fatal error: Uncaught Symfony\Component\Debug\Exception\FatalThrowableError: Class 'App' not found in ...
Along with the path for the compiled page-header.blade.php with its reference to the App controller.
I have traced this to the assumptions in controller.php that the sage() function is to be fully namespaced as App\sage(). These are, as far as I can see:
I have verified that I can fix my site by changing these lines to use my theme's non-default namespace. I also need to make use of the sober/controller/namespace filter to ensure the controllers are found.
Having opened a discussion on the roots forum it was suggested I open an issue here.
The text was updated successfully, but these errors were encountered:
First: Thanks for a wonderful tool. I appreciate all the work you people are doing 🙇
Upgrading my Sage theme to 9.0.5 has lead to no controllers being found - breaking my site - because I have changed the Sage namespace from the default
App
. I am greeted with the error:Along with the path for the compiled
page-header.blade.php
with its reference to theApp
controller.I have traced this to the assumptions in controller.php that the
sage()
function is to be fully namespaced asApp\sage()
. These are, as far as I can see:controller/controller.php
Line 7 in ca52617
loader()
controller/controller.php
Line 14 in ca52617
blade()
controller/controller.php
Line 66 in ca52617
I have verified that I can fix my site by changing these lines to use my theme's non-default namespace. I also need to make use of the
sober/controller/namespace
filter to ensure the controllers are found.Having opened a discussion on the roots forum it was suggested I open an issue here.
The text was updated successfully, but these errors were encountered: