Repository navigation
upgrading to 2.1.0 gotcha with path / custom view #1783
Unanswered
adaptiveoptics
asked this question in
Q&A
Replies: 1 comment
|
Do you have a minimal test case you can copy/paste here? Please and thank you! |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I ran into a pretty fatal error after the upgrade to 2.1.0 where path() wasn't liking full paths starting with '/' and was discarding them when building the path, which broke custom views directory setting, and I switched to using Path::Tiny directly, but then set views => $path died with invalid type because of strict checking for strings instead of stringifying $path, and in the end fixed it with $views = path($site_root, 'views')->stringify -- then I could set views => $views
Just putting this here in case someone else experiences the fun. ;)
All reactions