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

Unable to find the template “_layouts/sidebar” in "guide/index" at line 1. #6

Closed
codyjames opened this issue Jul 12, 2018 · 11 comments

Comments

@codyjames
Copy link

I updated to 1.3.0 and am getting this error. I have not edited anything.

@wbrowar
Copy link
Owner

wbrowar commented Jul 12, 2018

Hmm. It looks like this is getting confused with a template file in Craft: vendor/craftcms/cms/src/templates/guide/index.

Could you please tell me what your Template Path setting is set to in Guide plugin settings?

@codyjames
Copy link
Author

screen shot 2018-07-12 at 3 52 59 pm

@wbrowar
Copy link
Owner

wbrowar commented Jul 12, 2018

Hmm can you change it to _guide/index so it matches the first link in your nav? That might fix it for now, but I'll see if I can find a way to fix this, too.

@codyjames
Copy link
Author

Tried that already. Did not work.

@wbrowar
Copy link
Owner

wbrowar commented Jul 12, 2018

What's the URI of the page that you go to when clicking on the Guide CP link in the sidebar? it should be admin/guide/home? (unless you changed your cpTrigger to something other than admin)

@codyjames
Copy link
Author

Yup, it's /admin/guide/home

@wbrowar
Copy link
Owner

wbrowar commented Jul 12, 2018

Hmm I get that error by going to admin/guide/index, but admin/guide/home seems fine when i match your settings.

@wbrowar
Copy link
Owner

wbrowar commented Jul 12, 2018

I'll keep working on it and I'll see if i can recreate the problem. It might be something I can ask the P&T folks about since I don't know what vendor/craftcms/cms/src/templates/guide/index is all about.

@codyjames
Copy link
Author

Looked into it a bit. Basically getting three errors. Maybe this is the main one: An exception has been thrown during the rendering of a template ("Class wbrowar\guide\assetbundles\indexcpsection\IndexCPSectionAsset does not exist").

@codyjames
Copy link
Author

I'm going to try to reinstall

@codyjames
Copy link
Author

Wow, that was a pain in the butt. I think I just had some composer issues. Re-installing seemed to fix this.

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

2 participants