Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with directory views/blocks in v0.6 #50

Open
aidanweltner opened this issue Sep 30, 2020 · 5 comments
Open

Issue with directory views/blocks in v0.6 #50

aidanweltner opened this issue Sep 30, 2020 · 5 comments

Comments

@aidanweltner
Copy link

aidanweltner commented Sep 30, 2020

I know that you just pushed the update for version 0.6 but I found a bug with PR #46. The default folder for blocks is now views/block instead of views/blocks as it is in all the documentation. I just got an error after updating to version 0.6,

Fatal error: Uncaught Exception: View [views.blocks.block] not found.

The error states that it is looking in the correct folder but only goes away when I change that folder name to views/block. I don't see exactly where that would be happening in that code but I figure it's worth bringing up since the docs reflect views/blocks.

@robmeijerink
Copy link
Contributor

This shouldn't happen since the paths that are checked are still correct. Are you sure that you have a block.blade.php file in your views/blocks folder?

@speakerbug
Copy link

Just commenting to say that I received the same error as @aidanweltner after updating.

@aidanweltner
Copy link
Author

@robmeijerink yes, I didn't change any files or any names and all my blocks were working with v0.5. The error only showed after I updated the package with Composer.

I should also clarify that this project was with Sage 9.

@robmeijerink
Copy link
Contributor

Thanks, I have found the issue.

@joshuafredrickson
Copy link

This is fixed in 0.7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants