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
- Create an entry type and add a link field to it
- 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