Skip to content

[5.x]: Call to a member function getLink() on string from Link Field Preview #17505

@kylecotter

Description

@kylecotter

What happened?

Description

This commit seems to have introduced an error on Entry Type edit pages when a Link Field is checked off in the Card Attributes section and it attempts to render a card preview on the screen.

Steps to reproduce

  1. Create an entry type and add a link field to it
  2. Check off the link field under Card Attributes

Expected behavior

Actual behavior

Craft CMS version

5.8

PHP version

No response

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions