hyper icon indicating copy to clipboard operation
hyper copied to clipboard

Trying to select an entry the dialog shows empty and throws error in console

Open sa-mussen opened this issue 10 months ago • 2 comments

Describe the bug

When trying to select an entry in hyper, the dialog opens up, but no entries are shown. An 'cannot read properties of undefined' error occurs in the browser console.

We expect to see the entries here that we have created.

Image Image

Steps to reproduce

  1. Create an section with entries
  2. Add an entries selector to the 'advanced tab' of hyper
  3. Try to select the created entries in hyper

Craft CMS version

5.6.11

Plugin version

2.2.4

Multi-site?

yes

Additional context

No response

sa-mussen avatar Mar 14 '25 13:03 sa-mussen

Just to confirm, this isn't just a Entry link type where you're trying to pick an entry for the link? This is an Entries element field (custom field) attached to the link type of your Hyper field?

Do you have any custom sources setup for entries? Maybe you can isolate the issue by selecting different, or all sections that the Entries field has availability for.

engram-design avatar Mar 14 '25 23:03 engram-design

@engram-design we've added a tab with two entry fields in that tab. They don't have a custom source setup. We do have a multi site setup with different URLs, I think it might have to do something with that. I think it's looking at the primary site, but the query should be handled on the current site

cookie10codes avatar Mar 18 '25 09:03 cookie10codes