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

Search ignores routing #11

Open
melcarthus opened this issue Oct 21, 2022 · 0 comments
Open

Search ignores routing #11

melcarthus opened this issue Oct 21, 2022 · 0 comments

Comments

@melcarthus
Copy link

melcarthus commented Oct 21, 2022

I'm on Bolt 5.4.14 and Bolt navigation v1.0.3

When I want to search for a content type let say company/company-name

It throws a 500 server error.
Uncaught PHP Exception Symfony\Component\String\Exception\InvalidArgumentException: "Invalid UTF-8 string." at /Users/timwolf/projects/wits5/wits/vendor/symfony/string/UnicodeString.php line 40

If I start typing with / and start typing again results will show up, also when I backspace suddenly normal search starts working.

When I finally find companies/thenameofthecompany it adds it wrong. It does the default contenttypeslug as set in the contenttypes.yml and then the ID of the content.

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

1 participant