Log1x / navi

A developer-friendly alternative to the WordPress NavWalker.

Home Page:https://github.com/Log1x/navi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Target class [navi] does not exist.

akasharkbow opened this issue · comments

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.

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

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.

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.