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

Tag Page don't work #69

Open
fistwho opened this issue Oct 28, 2021 · 2 comments
Open

Tag Page don't work #69

fistwho opened this issue Oct 28, 2021 · 2 comments

Comments

@fistwho
Copy link

fistwho commented Oct 28, 2021

Hey Simon thank you for your amazing theme. I hope you can help.

I try to setup the Tag Page i add a page named Topics and the url is /tags/ and use the template Tag-Archive. But no Topics will shown. I check the logs and found a SQLite Error.

[2021-10-28 09:02:41] ERROR Could not understand request.,
Could not understand request.,
Error ID:,
    ce567a40-37cd-11ec-8f45-8975602ff55e,
Error Code: ,
    SQLITE_ERROR,
BadRequestError: Could not understand request.,
    at /var/lib/ghost/versions/4.20.3/node_modules/@tryghost/bookshelf-pagination/lib/bookshelf-pagination.js:258:27,
----------------------------------------,
    at async Function.findPage (/var/lib/ghost/versions/4.20.3/core/server/models/base/plugins/crud.js:99:30),
Error: select `tags`.* from `tags` where `tags`.`tags` not in ('getting-started') and `tags`.`id` in (select distinct `posts_tags`.`tag_id` from `posts_tags` inner join `posts` on `posts`.`id` = `posts_tags`.`post_id` where posts_tags.tag_id = tags.id and `posts`.`status` = 'published') order by `tags`.`name` ASC - SQLITE_ERROR: no such column: tags.tags,
[2021-10-28 09:02:41] INFO "GET /tags/" 200 74ms

I use the latest Version of Ghost.

Greets ;)

@afeng616
Copy link

afeng616 commented Jan 1, 2022

So how can u handle the error in the tags page?

@HackTheBamboo
Copy link

Hello

To correct this problem, you must remove the filter.

filter="tags:-[getting-started]"

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

3 participants