You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As you can see in the image; the siteId that's being used in the DB query is 9, the currentSite.id is 8.
I can manually work around this like this:
{# Get ID from the query #}
{% set id = one_cta.id[0] %}
{# Manually query craft with the id #}
{% set cta = craft.entries.section('cta').id(id).one() %}
{% if cta %}
<pre>
{{ dump(cta.title) }}
</pre>
{% endif %}
Steps to reproduce
Create a new vizy block with an entry field type
Link an entry
Output the templates with node.renderHtml()
Craft CMS version
4.12.8
Plugin version
2.1.23
Multi-site?
Yes
Additional context
The site that is used in the DB query is from another sitegroup
The text was updated successfully, but these errors were encountered:
Can you provide any further clarification on the entries picked? Were they from the same site, or cross-site?
We don't actually store the site for the picked entries (that's because the Craft Entries field doesn't do that). But wondering if you can post your Entries field (the one used in your Vizy block) settings so I can confirm?
Describe the bug
As you can see in the image; the siteId that's being used in the DB query is 9, the currentSite.id is 8.
I can manually work around this like this:
Steps to reproduce
Craft CMS version
4.12.8
Plugin version
2.1.23
Multi-site?
Yes
Additional context
The site that is used in the DB query is from another sitegroup
The text was updated successfully, but these errors were encountered: