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

Previews not valid #51

Open
piotrfonte opened this issue Nov 12, 2021 · 4 comments
Open

Previews not valid #51

piotrfonte opened this issue Nov 12, 2021 · 4 comments

Comments

@piotrfonte
Copy link

Hello, I’m using version 1.2.1 installed via composer. I can’t seem to get previews showing up in the panel. I get individual errors for each of the previews:

The section type "google_search_preview" is not valid.
The section type "facebook_sharing_preview" is not valid
The section type "twitter_card_preview" is not valid

Screenshot 2021-11-12 at 23 39 47

Anyone else experiencing this?

@jonathanmuth
Copy link
Contributor

I haven't run into this issue myself. Were you able to find a solution?

If not a little more context would be helpful. How did you install the plugin?

@piotrfonte
Copy link
Author

I think I installed with composer. Now I just did that manually from the downloaded zip and it works just fine.

@chris-corby
Copy link

Hey 👋 — I also sort of ran into this issue so thought I’d provide some more context.

At first I installed using composer require diesdasdigital/kirby-meta-knight as per the guide. The previews were not working on default.yml for pages, but did work on site.yml. I downloaded the zip and tried again and it worked as expected. I added some test content for both blueprints.

Before posting this comment I thought I’d try composer again to double check and now composer is working as expected. I’m not sure why it didn’t work that first time, but hopefully this could help in debugging this.

@doup
Copy link

doup commented Oct 13, 2022

Weirdly enough, this worked for me, which is similar to the comment above (instead of using a zip I just pointed to master):

composer require diesdasdigital/kirby-meta-knight
composer require diesdasdigital/kirby-meta-knight:dev-master
composer require diesdasdigital/kirby-meta-knight

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants