diesdasdigital / kirby-meta-knight

🔍 Meta Knight – SEO & Social Media Sharing Plugin for Kirby.
MIT License
108 stars 18 forks source link

Previews not valid #51

Open piotrfonte opened 2 years ago

piotrfonte commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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

chris-corby commented 2 years ago

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 commented 1 year ago

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