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

Target class [navi] does not exist. #51

Closed
akasharkbow opened this issue Jan 18, 2022 · 3 comments
Closed

Target class [navi] does not exist. #51

akasharkbow opened this issue Jan 18, 2022 · 3 comments

Comments

@akasharkbow
Copy link

Hello there. I followed along with your sample code for sage10 and I'm getting this error:

Target class [navi] does not exist.

I cut and pasted in the sample code exactly and it's being called with the following code in the header.blade.php file:

@include('partials.navigation')

Any idea what could be causing it? I'm suing the dev-main version of Sage 10 just downloaded today.

Thanks so much for your help.

@Log1x
Copy link
Owner

Log1x commented Jan 18, 2022

run wp acorn optimize:clear – the latest Acorn should fix this once it's released.

@akasharkbow
Copy link
Author

When I run that in the terminal, I get a "Error: Error establishing a database connection."

I can run other commands like "wp cli cache clear" and it seems to work fine, well it doesn't kick back an error.

@akasharkbow
Copy link
Author

I got it all figured out. The database connection issue ended up being WP-CLI couldn't access the DB so I had to adjust localhost in wp-config.php.

Thanks for helping point me in the right direction.

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