Every time I add schema URL to import from, it shows error

#630589
  • Resolved Anonymous
    Rank Math free

    Every time I add schema URL to import from and I choose “use” it shows :
    The editor has encountered an unexpected error.

    I’ve tried it on up to 3 different websites and all have updated themes and plugins, still same error

    Please help

Viewing 4 replies - 1 through 4 (of 4 total)
  • Anonymous
    Rank Math free

    This happens mainly when I choose the-
    PersonOrganization schema from the options as you can see from the Loom video

    Hello,

    Thank you for contacting us and sorry for any inconvenience that might have been caused due to this issue.

    It seems that you’re currently using the Rank Math PRO plugin, but the account you have used to open this ticket is the Rank Math free version.

    Can you please search and forward a receipt from FastSpring.com so we can locate your account and verify it?

    Back to the issue, we were able to replicate the problem while trying to import the Schema using the same URL you used in the video. However, we figured the issue was from this array "@type": ["Person", "Organization"] of 2 objects. Correcting it to suit the use case resolved the issue "@type": "Person", You can use the following in its place using the Import Schema Code from JSON-LD/Custom Code option.

    {
      "@context": "https://schema.org/",
      "@graph": [
        {
          "@type": 
            "Person",
          "@id": "https://dennisyu.com/#person",
          "name": "dennis.yu",
          "logo": {
            "@type": "ImageObject",
            "@id": "https://dennisyu.com/#logo",
            "url": "https://dennisyu.com/wp-content/uploads/2020/12/dennis-2.jpg",
            "contentUrl": "https://dennisyu.com/wp-content/uploads/2020/12/dennis-2.jpg",
            "caption": "Dennis Yu",
            "inLanguage": "en-US",
            "width": "1000",
            "height": "924"
          },
          "image": {
            "@type": "ImageObject",
            "@id": "https://dennisyu.com/#logo",
            "url": "https://dennisyu.com/wp-content/uploads/2020/12/dennis-2.jpg",
            "contentUrl": "https://dennisyu.com/wp-content/uploads/2020/12/dennis-2.jpg",
            "caption": "Dennis Yu",
            "inLanguage": "en-US",
            "width": "1000",
            "height": "924"
          }
        }
      ]
    }

    Let us know how it goes.

    Thanks.

    Anonymous
    Rank Math free

    worked fine

    Hello again,

    We are glad to know that this issue has been resolved. Thank you for letting us know.

    This ticket will be closed now, but you can always open a new one if you have any other questions or concerns. We are here to help you with anything related to Rank Math.

    We appreciate your patience and cooperation throughout this process.

    Thank you for choosing Rank Math.

Viewing 4 replies - 1 through 4 (of 4 total)

The ticket ‘Every time I add schema URL to import from, it shows error’ is closed to new replies.